View Single Post
Old 09-12-2011, 09:05 AM   #153
fandrieu
Member
fandrieu began at the beginning.
 
Posts: 11
Karma: 10
Join Date: Sep 2011
Device: kindle 3
mobiunpack modifications

Hello everybody.

First I'd like to thank the community for all the good work, without the homebrew tools my experience with the mobi file format and the kindle as a whole would'nt have been nearly as nice !

Back on topic, I first came here to ask if somebody's maintaining mobiunpack.py / accepting patches, but reading the last few post it would seem that both pdurrant and siebert are working on a branch, am I right ?
If so could I contribute ?

...

Also in the last few posts there were talks about extracting the NCX from mobi files, it just so happens that's the very feature I've been toying with this weekend and made me come here today
At this time I got a (pretty awful) proof of concept code that can extract flat "chapter only" NCX, I got the necessay clues from the "writer" part of the calibre mobi module, I could elaborate on that if somebody's interested...

Apart from that I made some corrections (like the encoding header in the html, which appears to be in siebert's branch) and also have an alternate "Adding anchors..." code that reconstructs all anchors, even when they're not referenced, and should avoid adding anchors in the <head> (a bug i encountered with some files).

I was also interested in re-factoring the code to be more readable / workable (this also appears to be in siebert's plans ).

I started with the (pdurrant's ?) version @ http://code.google.com/, but wouldn't mind switching...
fandrieu is offline   Reply With Quote