Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Formats > ePub

Notices

Reply
 
Thread Tools Search this Thread
Old 04-09-2017, 02:00 PM   #1
jazzbird
Junior Member
jazzbird began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Sep 2016
Device: Kindle
HTML files with split window

Hello,

I'm trying to import into Calibre an html book that has a split window (frames?) with an index on the left side, and the content on the right side - this: http://john114.org/Docs/SB_Brv_Page.htm

The whole book is contained in three html files, which I downloaded. Importing the main html file into Calibre creates a zip file with the three files (and a content.opf file and some other files). But if I try to open the book, Calibre just opens the folder with all the files. Trying to open the opf file then either opens a blank browser window, or produces a message "failed to read book."

I looked at several help pages about merging html files, but was not able to resolve the problem. Is Calibre able to handle such a file/book?

Thanks,

Last edited by jazzbird; 04-09-2017 at 04:54 PM.
jazzbird is offline   Reply With Quote
Old 04-09-2017, 06:00 PM   #2
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 20,672
Karma: 26966376
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Moved from calibre conversion forum at my suggestion with jazzbird's approval.

I thought there might be some non-calibre way of handling this situation, that the epub bookmaking fraternity would be more likely to know

BR

Last edited by BetterRed; 04-09-2017 at 06:20 PM.
BetterRed is offline   Reply With Quote
Advert
Old 04-10-2017, 04:11 AM   #3
patrik
Guru
patrik ought to be getting tired of karma fortunes by now.patrik ought to be getting tired of karma fortunes by now.patrik ought to be getting tired of karma fortunes by now.patrik ought to be getting tired of karma fortunes by now.patrik ought to be getting tired of karma fortunes by now.patrik ought to be getting tired of karma fortunes by now.patrik ought to be getting tired of karma fortunes by now.patrik ought to be getting tired of karma fortunes by now.patrik ought to be getting tired of karma fortunes by now.patrik ought to be getting tired of karma fortunes by now.patrik ought to be getting tired of karma fortunes by now.
 
Posts: 661
Karma: 4568205
Join Date: Jan 2010
Location: Sweden
Device: Kobo Forma
Wouldn't the obvious answer be to after having added the html-files do a conversion to azw3 (or epub) and then use the calibre editor if needed?
patrik is offline   Reply With Quote
Old 04-10-2017, 04:34 AM   #4
Phssthpok
Age improves with wine.
Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.
 
Posts: 559
Karma: 95229
Join Date: Nov 2014
Device: Kindle Oasis, Kobo Libra II
Quote:
Originally Posted by jazzbird View Post
I'm trying to import into Calibre an html book that has a split window (frames?) with an index on the left side, and the content on the right side - this: http://john114.org/Docs/SB_Brv_Page.htm
Frames and iframes aren't supported AFAIK by any epub readers; you could use a table, but then the index column would scroll with the rest.

Why not just turn the index into a TOC (toc.ncx, not part of the HTML) that you can pop up whenever you need it, and which doesn't take up valuable screen real estate when you don't need it? Looking at the HTML in the right frame, all the index entries are <h1> or <h3> tags, so just use Calibre's TOC creation tool and hit "Generate TOC from major headings". Then throw away the HTML for the frameset and the left frame, and keep the right frame only.

Last edited by Phssthpok; 04-10-2017 at 04:48 AM.
Phssthpok is offline   Reply With Quote
Old 04-10-2017, 10:22 AM   #5
jazzbird
Junior Member
jazzbird began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Sep 2016
Device: Kindle
Great solution, thanks Phssthpok!

jazzbird
jazzbird is offline   Reply With Quote
Advert
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
HTML files split on the basis of chapters Buhaj47 Editor 2 11-08-2016 06:22 PM
split html files not updating links ni_c Editor 4 11-24-2015 11:48 PM
Split an EPUB into more HTML files 1v4n0 Sigil 7 10-24-2015 12:57 PM
Is there a quick way to split large html files? cager Editor 4 04-08-2014 08:10 AM
[Old Thread] mergin split html files with Calibre? NASCARaddicted Conversion 13 12-03-2011 01:19 PM


All times are GMT -4. The time now is 09:00 PM.


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