Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Recipes

Notices

Reply
 
Thread Tools Search this Thread
Old 12-21-2010, 12:42 PM   #1
miwie
Connoisseur
miwie began at the beginning.
 
Posts: 76
Karma: 12
Join Date: Nov 2010
Device: Android, PB Pro 602
Fetching single article

Which is the best approach to fetch a single (probably lenghty) article to create an EPUB file to be read in an Ereader?
miwie is offline   Reply With Quote
Old 12-21-2010, 12:46 PM   #2
Starson17
Wizard
Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.
 
Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
Quote:
Originally Posted by miwie View Post
Which is the best approach to fetch a single (probably lenghty) article to create an EPUB file to be read in an Ereader?
I'd use parse_index and manually create a feed with your single article in it. See: http://calibre-ebook.com/user_manual...ownloaded-html
Starson17 is offline   Reply With Quote
Advert
Old 12-21-2010, 01:07 PM   #3
janvanmaar
Addict
janvanmaar has a complete set of Star Wars action figures.janvanmaar has a complete set of Star Wars action figures.janvanmaar has a complete set of Star Wars action figures.janvanmaar has a complete set of Star Wars action figures.janvanmaar has a complete set of Star Wars action figures.
 
Posts: 219
Karma: 404
Join Date: Nov 2010
Device: Kindle 3G, Samsung SIII
Wouldn't a naive solution - downloading the file and feeding it to ebook-convert.py - not work?
janvanmaar is offline   Reply With Quote
Old 12-21-2010, 01:21 PM   #4
miwie
Connoisseur
miwie began at the beginning.
 
Posts: 76
Karma: 12
Join Date: Nov 2010
Device: Android, PB Pro 602
Quote:
Originally Posted by janvanmaar View Post
Wouldn't a naive solution - downloading the file and feeding it to ebook-convert.py - not work?
At first sight this works. Will investigate it further.
Thanks
miwie is offline   Reply With Quote
Old 12-21-2010, 02:58 PM   #5
Starson17
Wizard
Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.
 
Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
Quote:
Originally Posted by janvanmaar View Post
Wouldn't a naive solution - downloading the file and feeding it to ebook-convert.py - not work?
It didn't sound like a "file" to me. It sounded like he had an article with advertisements, links to other articles, links to related subject matter, Facebook SHARE icons and the like that he wants to strip. Recipes will do that easily. If it's just a really clean page, then saving the html page and converting will also work.
Starson17 is offline   Reply With Quote
Advert
Old 12-21-2010, 03:31 PM   #6
janvanmaar
Addict
janvanmaar has a complete set of Star Wars action figures.janvanmaar has a complete set of Star Wars action figures.janvanmaar has a complete set of Star Wars action figures.janvanmaar has a complete set of Star Wars action figures.janvanmaar has a complete set of Star Wars action figures.
 
Posts: 219
Karma: 404
Join Date: Nov 2010
Device: Kindle 3G, Samsung SIII
yeah, by 'file' I meant mainly html but possibly other format that can be inputted to Calibre.
I guess in many cases just saving the printer-friendly page and converting could provide reasonable results.
If one wants to play with it and remove elements then of course recipes are a great way to do it but the OP question sounded to me more like he wanted a quick way to convert an article when he finds an interesting (lengthy enough) one. I did not mention more complex solutions since you have before already (and since I do not know anything else than that)
janvanmaar is offline   Reply With Quote
Old 12-21-2010, 04:06 PM   #7
Starson17
Wizard
Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.
 
Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
Quote:
Originally Posted by janvanmaar View Post
I guess in many cases just saving the printer-friendly page and converting could provide reasonable results.
Yes. I tend to see questions here as recipe related, but you are right that for a quick download of a printer friendly single article, it's best to just save the page and drag the html into Calibre. No recipe is needed in that situation.
Starson17 is offline   Reply With Quote
Old 12-21-2010, 04:45 PM   #8
miwie
Connoisseur
miwie began at the beginning.
 
Posts: 76
Karma: 12
Join Date: Nov 2010
Device: Android, PB Pro 602
Thanks for your suggestions!
My original intention was to find a quick (and possibly dirty) solution and I will go for the Save HTML page one.
miwie is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Decorate article headings as hyperlinks to full article? tomsem Recipes 5 10-15-2010 08:30 PM
Fetching News has gone bad... rogue_ronin Calibre 6 09-03-2010 08:41 AM
No Fetching Lector77 Calibre 13 06-21-2010 07:19 PM
Fetching The Australian Javed Calibre 7 11-30-2009 04:15 AM
Question about fetching the news spoudaios Sony Reader Dev Corner 4 01-27-2008 05:01 PM


All times are GMT -4. The time now is 09:32 PM.


MobileRead.com is a privately owned, operated and funded community.