03-29-2010, 05:47 AM | #1 |
Junior Member
Posts: 6
Karma: 10
Join Date: Mar 2010
Device: PRS-505
|
Multiple html to epub conversion.
Hi!
I have a collection of books consisted of html files (one file for every page), the structure is like: -book_name[folder]: -start_here.html -files[folder]: -img1.jpg -cover.html.html -page_i -... -page_xix -page_1 -etc. When you open start_here.html it opens cover.html and you can navigate to next pages through 'next page' and 'previous page' buttons. I was trying to convert start_here.html to epub in calibre, but for some reasons it combines only cover.html and page files wirh roman numeration. I have Adobe InDesign, but it requires xml file, so I would have to convert multiple-html files to xml file first... I have read that I need opf file which lists every htmls in folder, but I don't know how to create it. I am very newbie in these things, so If You could provide some assistance I would be very greatful. Update 1: I have just put conents of files folder to zip archive and converted zip file to epub (default options) in calibre, resulting epub consisted of files: page_367, page_366, page_365, page_364, page_363, page_362, page_368, page_369, page_371, page_372 (in that order). These are last pages of the html book, I don't get the order of files too. Last edited by Barthelemy; 03-29-2010 at 06:19 AM. |
03-30-2010, 01:51 AM | #2 |
Zealot
Posts: 147
Karma: 56
Join Date: Dec 2009
Location: Antwerpen
Device: iPhone, Sony PRS-505, EPUBreader
|
Changing the order of chapters is very easy with Sigil. Just drag and drop the titles in the Book Browser. You can also add chapters if necessary (right click in the Text section).
|
Advert | |
|
03-30-2010, 05:32 AM | #3 |
Junior Member
Posts: 6
Karma: 10
Join Date: Mar 2010
Device: PRS-505
|
Thank you for answer paulpeer
I have donloaded Sigil and combined html files by adding existing files in tetx section. I guess creating chapter breaks is not necessary (every page is a chapter in itself). The epub file is about 2 MB and it takes some time to load it in firefox (EPUBReader), but when I access the file through bookmarks -> epub catalog, it loads instantly. I also converted 14 MB file and it takes even longer to load it when accessing through windows explorer, but It loads instantly through epub catalog. Is there a way to speed up loading process, can the file be somehow optimized? |
03-30-2010, 06:03 AM | #4 | |
Zealot
Posts: 147
Karma: 56
Join Date: Dec 2009
Location: Antwerpen
Device: iPhone, Sony PRS-505, EPUBreader
|
Quote:
Difficult to say without seeing the book. I once had a similar problem, and the reason was a very huge CSS file full of unnecessary information. Often books made out of DOC files have lots of rubbish. You can check the CSS in the right pane of Sigil. Has it 10 or 20 entries? Quite normal. Has it a few hundred? Then the problem might be there. But as I said, I can only guess here. |
|
03-30-2010, 06:18 AM | #5 | |
ePub Maker
Posts: 120
Karma: 16
Join Date: Dec 2009
Location: Mordor
Device: iPad,Kindle 3, Nook 2
|
maybe the cache
Quote:
ePubReader will unzip the ePub file and load it in Firefox. So the first time is slow. Then with the unzipped files and browser's cache it can be shown much faster. |
|
Advert | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Conversion memory error (HTML->EPUB) | doremifaso | Calibre | 4 | 06-25-2010 10:56 PM |
Quick and dirty conversion of html to epub WITH intra-file links | Birdonawire | ePub | 2 | 06-18-2010 02:18 AM |
Help with HTML to ePub conversion...? | Nethfel | Calibre | 4 | 05-10-2010 02:26 PM |
'utf8' codec can't decode bytes error (HTML to EPUB conversion) | gsz | Calibre | 10 | 10-26-2009 06:29 PM |
Multiple html (zip) conversion no longer works | Katelyn | Calibre | 4 | 08-07-2009 11:52 AM |