View Single Post
Old 05-04-2014, 09:25 AM   #721
tkeo
Connoisseur
tkeo began at the beginning.
 
Posts: 94
Karma: 10
Join Date: Feb 2014
Location: Japan
Device: Kindle PaperWhite, Kobo Aura HD
KindleUnpack v0.65a (bug fixes of KindleUnpack v0.65)

Hi,

I have fixed bugs regarding RESC section processing. Three bugs are fixed as follows:
  1. In 'kindleunpack.py', RESC section extraction failure (reported before) is fixed.
  2. In 'mobi_opf.py', potential confliction of item ids between the id generated in and extracted one from RESC is fixed.
  3. In 'mobi_resc.py', modified to make possible to process multi-line comments in RESC.

Attached files are as follows,
  • kindleUnpack_diff_v65a.zip: updated files (kindleunpack.py, mobi_opf.py and mobi_resc.py)
  • kindleunpack_v65a.patch.txt: patch file version of the update (changes are identical to kindleUnpack_diff_v65a.zip)
  • Illformed_RESC_exmaple.mobi and example4_src.zip: the example to comfirm fixes 2 and 3. It is made to conflict id intentionally and including multi-line comments in an opf file.
Thanks,
tkeo
Attached Files
File Type: zip kindleUnpack_diff_v65a.zip (27.3 KB, 229 views)
File Type: txt kindleunpack_v65a.patch.txt (7.6 KB, 211 views)
File Type: mobi Illformed_RESC_example.mobi (1.91 MB, 188 views)
File Type: zip example4_src.zip (715.9 KB, 219 views)
tkeo is offline   Reply With Quote