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

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 10-22-2012, 04:45 AM   #1
diolu
Junior Member
diolu began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Oct 2012
Device: calibre
adding HTML files into Calibre

I am trying to add the python 2.7.3 documentation (HTML files). So I add the index.html file. But what Calibre add is mentioned as a ZIP and trying to convert it to Epub just fails (it gives a 10 pages Epub with HTML code in it). But when I go into the Calibre folder, I see that the zip file is in reality an Epub file. I copy this file outside of the Calibre folder and rename it to *.epub and then re-add it into Calibre. Now Calibre sees it correctly as an Epub file and display it correctly. Is this a known bug? I use Calibre 0.9.3-1 on Linux
diolu is offline   Reply With Quote
Old 10-22-2012, 09:02 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,552
Karma: 950151
Join Date: Nov 2008
Device: Sony PRS-950, iphone/ipad (Marvin/iBooks/QuickReader)
It is normal for Calibre to add an HTML file as a ZIP. It does this because most HTML based ebooks consist of multiple files and Calibre can only store one file for each format.

Epub fils are also ZIP files under the covers. However they normally contain additional files that are not in a standard HTML book. i think that the rename worked for you is just dumb luck - perhaps the HTML file you added was actually part of an unpacked EPUB book?

Quite why your original conversion failed is difficult to determine without looking at the actual files input to the conversion.
itimpi is offline   Reply With Quote
Advert
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Error Adding HTML files Shawnyve Library Management 3 07-29-2012 12:31 AM
Trouble adding html - not all files added. jazzbassNick Conversion 5 04-10-2012 08:45 PM
adding an html doc to calibre bwana Library Management 3 01-12-2012 08:23 PM
What am I doing wrong (adding html book to calibre) TuxGirl Calibre 6 10-14-2011 11:42 AM
adding table of contents to html files jfs999 Conversion 2 09-30-2011 02:25 PM


All times are GMT -4. The time now is 10:07 AM.


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