12-24-2013, 06:12 PM | #1 |
Connoisseur
Posts: 66
Karma: 3056
Join Date: Dec 2010
Device: Kindle Paperwhite
|
Convert set of HTML pages to Mobi
So I have a set of HTML files that I've created that have a structure that looks like this:
Root Folder -index.html (with questions) -\Answers --1.html --2.html --3.html --etc. In the index.html file there are about 150 questions that all link to the respective html file in the Answers folder, and the html file there links back to a spot on the index.html page (ex. <a href="../index.html#1">). Is there a way to make that work in a .mobi file? I've tried zipping up the file and importing that into Calibre, but it would only show the original index.html file and won't link to the others. Any suggestions I can do to make this work? |
12-25-2013, 05:10 AM | #2 |
Addict
Posts: 206
Karma: 547516
Join Date: Mar 2008
Location: Berlin, Germany
Device: KObo Clara, Kobo Aura, PRS-T1, PB602, CyBook Gen3
|
You could try to add only the index file to Calibre.
As far as I know, Calibre should then import the index file and all files linked to it and put it in a zip automatically. Mobipocket creator could do the same, if all files were located in the same folder. So maybe KindleGen can do it too. Last edited by Sunlite; 12-25-2013 at 05:11 AM. Reason: spelling |
12-25-2013, 01:32 PM | #3 |
Grand Sorcerer
Posts: 27,549
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
For Kindlegen, you'd need to create an opf file that has all the necessary files properly manifested. You then feed that opf to kindlegen/previewer to build the kindlebook.
|
12-25-2013, 02:05 PM | #4 | |
Grand Sorcerer
Posts: 11,470
Karma: 13095790
Join Date: Aug 2007
Location: Grass Valley, CA
Device: EB 1150, EZ Reader, Literati, iPad 2 & Air 2, iPhone 7
|
Quote:
Dale Last edited by DaleDe; 12-25-2013 at 02:08 PM. |
|
12-26-2013, 12:31 AM | #5 | |
Bookmaker & Cat Slave
Posts: 11,462
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
|
Quote:
I think it would be faster/easier, depending on what s/he needs it for, to put the HTML into Sigil, then regex the links from the index into the correct paths. From there, it would be simplicity itself to finish an ePUB, and then drag it onto Kindlegen/KindlePreviewer to make a mobi, don't you think? Hitch |
|
12-26-2013, 06:52 AM | #6 | |
Grand Sorcerer
Posts: 27,549
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Quote:
Plus, I figure learning how to manually create an opf file is just good practice/fundamentals. |
|
12-27-2013, 03:03 AM | #7 | |
Bookmaker & Cat Slave
Posts: 11,462
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
|
Quote:
I think I misread the original intent, and thought that the ease of it was the goal, not the learning. I truly don't recall now...holiday brain melt. hitch |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Script to convert all system installed Man Pages to HTML | rogerx | Conversion | 1 | 08-26-2011 08:12 AM |
What to use to convert Epub or HTML to Mobi? | Artha | Kindle Formats | 2 | 08-24-2011 07:47 AM |
Convert HTML to MOBI (HTML recognized as ZIP file) | pdubois | Conversion | 1 | 01-25-2011 12:55 PM |
Best way to convert linked .html pages? | VulcanRidr | Calibre | 1 | 10-04-2009 11:37 AM |