View Single Post
Old 09-08-2015, 11:32 AM   #70
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 8,817
Karma: 6000000
Join Date: Nov 2009
Device: many
Hi Kovid,

Very true, but it could do that easily as it is based on the KindleUnpack mobi_split code that does add and remove entire sections and rework things - even in the header fields itself during the split.

I did not add that to this simple tool since luckily, kindegen seems to now create huge header sections (approx 8192 chars in length) which typically gives plenty of room for adding an asin and many other things before ever worrying about having to grow a header section length.

The issue is that calibre needs a much more robust solution to work with older mobis and mobis not generated by kindlegen (with its large header sections), and even mobis missing EXTH sub-sections completely.

That said, calibre already does handle all of that and does create the large header sections like kindlegen (isn't that right Kovid?), so something like dualmetafix could easily be added as a plugin for calibre.

Take care,

KevinH
KevinH is offline   Reply With Quote