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

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

Notices

Reply
 
Thread Tools Search this Thread
Old 11-30-2011, 10:56 AM   #1
rubdottocom
Junior Member
rubdottocom began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Nov 2011
Device: Kindle4
Convert simple HTML files to Kindle format (.mobi?)

Hi everyone!

I'm trying to do a simple utility to send web articles to my Kindle.

I played with Readability and so, but my HTML files miss the images because are external links (obviously).

Then I realize that I need to embed images and html to another format and that send .html files isn't a good idea.

I'll try to understand some calibre code, but is a really big project and I'm very newbie with Python.

Could you give me some advice about how to convert .html files to another "more embedded" format to achieve to send full articles to my Kindle?

Thank you :-)
rubdottocom is offline   Reply With Quote
Old 11-30-2011, 11:04 AM   #2
itimpi
Wizard
itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.
 
Posts: 4,031
Karma: 777817
Join Date: Nov 2008
Device: Sony PRS-950, iphone/ipad (Marvin/iBooks/QuickReader)
As long as all the relevant files are local to your PC, you can simply add the master HTML file to Calibre. This will pull in any associated images and other linked files and store the results in Calibre as a ZIP file. Then use Calibre to convert this to the MOBI format which is a single file including all images, etc and can be used on the Kindle.
itimpi is offline   Reply With Quote
Old 11-30-2011, 11:08 AM   #3
rubdottocom
Junior Member
rubdottocom began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Nov 2011
Device: Kindle4
Thanks, but my question was about the programmatically way :-)

Do you know "where" Calibre do that?
rubdottocom is offline   Reply With Quote
Old 11-30-2011, 11:19 AM   #4
itimpi
Wizard
itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.
 
Posts: 4,031
Karma: 777817
Join Date: Nov 2008
Device: Sony PRS-950, iphone/ipad (Marvin/iBooks/QuickReader)
Not sure what you mean about the "programatic" way then? You did not make it clear what you are actually trying to do from a workflow point of view.

Depending on what you are trying to do it may be possible to achieve what you want by making use of the Calibre command line utilities. Alternatively you might be able to make use of the Recipe sub-system.
itimpi is offline   Reply With Quote
Reply

Tags
conversion, html, kindle, mobi

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Convert a folder with multiple HTML files to MOBI Anthony1 Conversion 6 08-27-2011 03:05 AM
Best format to convert to MOBI for kindle in Calibre MaxsMom Calibre 1 01-02-2011 12:07 PM
HTML to MOBI text format is off when I get it on Kindle cloudyvisions Calibre 5 07-14-2010 12:42 AM
Convert HTML file to MOBI for Kindle IMFletch Calibre 5 04-16-2010 01:06 PM
How To mass-convert ereader files into HTML and then into MOBI GatorDeb Kindle Formats 2 12-18-2009 03:51 PM


All times are GMT -4. The time now is 12:36 AM.


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