View Single Post
Old 08-15-2014, 06:24 PM   #63
DaleDe
Grand Sorcerer
DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.
 
DaleDe's Avatar
 
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:
Originally Posted by DiapDealer View Post
Note that if you're talking about old-fashioned mobis, there are no classes to rename. Because neither CSS nor class names are used in their internal markup. KindleUnpack will take those files and produce a single html-ish file you can work with. No need to convert them to htmlz. If you're talking about the newer KF8 files, then calibre edit or KindleUnpack will produce editable markup with the "original" markup and class names. You can still have the issue of multiple HTML files in that case, but I'd like to point out that both calibre's editor and Sigil both have a "Merge" feature (at least I think calibre's editor has that feature ... I know it can Split files) that allows you to combine HTML files without converting.
True enough about the old mobi and even the newer KF8 file which is compiled with pointers to objects, no named classes or named anything else. Compiled means there is nothing to look up as everything is in memory and simply pointed to. There is only compiled binary. KindleUnpack has to make up names for practically everything including the file names themselves, image names and CSS entries since all of that was lost when the Mobi was compiled. By comparison Epub is easy, it is never compiled, only compressed.

Dale
DaleDe is offline   Reply With Quote