View Single Post
Old 02-09-2012, 07:22 PM   #22
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,544
Karma: 5703586
Join Date: Nov 2009
Device: many
Beta version of mergeKF8Only.py

Hi,

Here is a Beta version of mergeKF8Only.zip that actually deletes what it needs to and hopefully properly does everything it needs. It will need a lot of testing to detect any omissions, bugs, and issues.

To use it:

grab mergeKF8Only.zip and unzip it

python ./mergeKF8Only.py Jerome.mobi test.rawml testoutput.mobi

If you load testoutput.mobi in KindlePreviewer with Device set to Kindle you should see your message that this is a KF8 Only ebook and that they should download the original mobi formatted ebook from your link.

If you load testoutput.mobi in KindlePreviewer with Device set to Fire you should see the full mobi8 version of the ebook.

Please test it and let me know what bugs you run into. Once I fix the bugs, I will rewrite the code to form proper classes and clean it up.

Hope this does the trick.

Edit: remove Beta version since release version is posted below

KevinH

Last edited by KevinH; 02-11-2012 at 02:34 PM. Reason: fix typos
KevinH is offline   Reply With Quote