Register Guidelines E-Books Search Today's Posts Mark Forums Read

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

Notices

Reply
 
Thread Tools Search this Thread
Old 08-11-2011, 11:48 AM   #1
bmwr1200c
Enthusiast
bmwr1200c began at the beginning.
 
Posts: 36
Karma: 10
Join Date: Jul 2011
Device: iPad
Command line conversion of a URL to ePub

hi,
Is it possible to convert an URL to ePub from command line.
For example I want to convert this link to ePub
http://www.gutenberg.org/files/76/76-h/76-h/76-h.htm

Thanks
Aku
bmwr1200c is offline   Reply With Quote
Old 08-11-2011, 01:37 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 bmwr1200c View Post
hi,
Is it possible to convert an URL to ePub from command line.
For example I want to convert this link to ePub
http://www.gutenberg.org/files/76/76-h/76-h/76-h.htm

Thanks
Aku
Save the page from your browser, then add the html will work for that one page. Using a scraper like wget, htttrack or the like will also work to get links on that page plus the page itself. A recipe will work. Or you could just grab that public domain ebook from one of the many online download sources, including the Gutenberg Project.
Starson17 is offline   Reply With Quote
 
Enthusiast
Old 08-11-2011, 01:54 PM   #3
bmwr1200c
Enthusiast
bmwr1200c began at the beginning.
 
Posts: 36
Karma: 10
Join Date: Jul 2011
Device: iPad
Starson17 - I wanted to write a recipe so that I can give few links and run through a loop to convert them to epubs. I wanted to know how to write and execute a recipe from commandline.
Thanks for ur help
bmwr1200c is offline   Reply With Quote
Old 08-11-2011, 02:42 PM   #4
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 bmwr1200c View Post
Starson17 - I wanted to write a recipe so that I can give few links and run through a loop to convert them to epubs. I wanted to know how to write and execute a recipe from commandline.
Thanks for ur help
In that case, I've moved you to the Recipe forum. Read the sticky on using recipes (the last two sections in particular) and the basic introduction to writing recipes (linked in the sticky). You will need to use ebook-convert and parse_index or set the recursion depth if that page goes to other pages via links you want to capture.
Starson17 is offline   Reply With Quote
Reply

Tags
command line, conversion, html

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Calibre Command Line Conversion bmwr1200c Calibre 1 08-10-2011 07:04 PM
Bulk Command Line Conversion? blobbo Conversion 1 05-24-2011 05:32 AM
command-line only e-book conversion running Conversion 1 01-30-2011 08:09 AM
Command line conversion not working rockeh Calibre 1 08-24-2010 06:23 PM
command-line conversion tools in 0.6.0? WayneD Calibre 3 06-03-2009 01:30 PM


All times are GMT -4. The time now is 01:32 AM.


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