03-10-2011, 09:39 AM | #1 |
Junior Member
Posts: 5
Karma: 10
Join Date: Mar 2011
Device: PocketBook Pro 902
|
RSS feed with PDFs
I have an RSS feed that is a list of 3 PDF magazines (the last three issues). It's my understanding that I cannot embed a PDF into a ePUB file, so I think somehow I'd have to download each link in the RSS feed separately and create 3 separate books from each RSS feed. Is this possible using a recipe?
Little bit about my background: - New to ebooks, just got my first reader a couple of days ago. Have been using Sigil to create a couple of my own ebooks just to see how the ePUB format works. - Never programmed in Python before, although I have used other non-compiled scripting languages like VBScript and PHP. If pointed in the right direction, I may be able to figure this out. Thanks in advance for any help that you guys can provide! |
03-10-2011, 10:10 AM | #2 | |
Wizard
Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
|
Quote:
More info: It's been done with links to EPUBs, but only because of how similar the EPUB structure is to an intermediate stage of recipe processing. Long answer: Yes, it's probably possible, but you'd either have to override almost everything in the recipe system or use some outside pdf to html conversion. I haven't seen it done. |
|
03-10-2011, 11:22 AM | #3 |
Junior Member
Posts: 5
Karma: 10
Join Date: Mar 2011
Device: PocketBook Pro 902
|
Well, thanks for the quick answer anyways, even if it's bad news!
I'll probably just use an external RSS reader, then feed them into Calibre from there. |
12-07-2011, 04:04 PM | #4 | |
Junior Member
Posts: 2
Karma: 10
Join Date: Dec 2011
Device: Kindle DX graphite
|
non-html news feeds?
Quote:
In my case, feeds have a link to html page with links to actual content in several formats. ODT and PDF are among them. So instead of fetching just a summary, i'd like to pull either ODT and process it to MOBI or fetch PDF as is. I thought I can just override print_version method, then I can get proper url using BeautifulSoup. However calibre tries to parse whatever it is fetching from proper url I return as if html |
|
12-08-2011, 01:50 AM | #5 |
Junior Member
Posts: 2
Karma: 10
Join Date: Dec 2011
Device: Kindle DX graphite
|
I was looking at a sample code. However I still don't get it how to fetch things if I don't have epub among other formats in the first place?
I ended up writing standalone python code that fetches all I want and calls `calibredb add`. I'd appreciate if someone can suggest as how to convert it into a recipe. Spoiler:
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Books through an RSS feed | Canadiancynic | Calibre | 1 | 02-06-2011 06:13 AM |
RSS Feed | timezone | Feedback | 8 | 01-02-2010 06:55 PM |
RSS Feed Question | PGP_Protector | Sony Reader | 1 | 01-26-2009 12:12 AM |
Newsimages.com RSS Feed | Alexander Turcic | Lounge | 0 | 08-27-2004 03:25 PM |