View Single Post
Old 07-26-2013, 04:40 PM   #458
Rev. Bob
Wizard
Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.
 
Rev. Bob's Avatar
 
Posts: 1,760
Karma: 9918418
Join Date: Feb 2013
Location: Here on the perimeter, there are no stars
Device: Kobo H2O, iPad mini 3, Kindle Touch
Old feature, new user...

Quote:
Originally Posted by kiwidude View Post
  • Remove Adobe resource DRM meta tags - to strip some Adobe cruft of a <meta> tag from the html files.
Any chance you could tweak this feature a little to remove the linefeeds that these (and other deleted meta elements) leave behind?

Also, bug report: the "convert HTML to UTF-8" option produces HTML files without byte order marks. (EDIT: This seems to be an artifact of going through Calibre 0.9.40's repacking routine.)

Another useful feature would be a more general TOC fixer, which could:
  • Remove empty class attributes from navPoint elements.
  • Correct the playOrder values, if wrong.
  • Calculate and fix the dtb:depth value (or set to 1 if the Flatten option is active, of course).
  • Ensure that the dtb:uid value matches the OPF file's unique-identifier element's value.
  • Specify dtb:totalPageCount and dtb:maxPageNumber as 0, if missing.
  • Fill in the docTitle and docAuthor blocks, if missing, with the values from the OPF file.
(Or, if there's another plugin that already handles that...?)

Last edited by Rev. Bob; 07-26-2013 at 07:20 PM.
Rev. Bob is offline   Reply With Quote