View Single Post
Old 01-11-2012, 10:05 PM   #4
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,414
Karma: 27757236
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
You can decompile KF8 with

calibre-debug --inspect-mobi file.mobi

KF8 files contain both the mobi markup and the HTML5/CSS3 in separate sets of records, separated by a BOUN record.

Go ahead and work on a writer, it's on my TODO list, but I wont be able to get to it for a while. Though if I was you, I'd first work on properly decompiling KF8 files (add the code to mobi/debug.py with is what --inspect-mobi does).
kovidgoyal is offline   Reply With Quote