View Single Post
Old 02-03-2016, 07:09 PM   #1
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 28,645
Karma: 204624552
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
[Plugin] FixOPFv1

A temporary input plugin to change the OPF package type from "1" to "2".
Will also workaround a Sigil bug that's triggered when an epub's opf file doesn't have an xml declaration.
(temporary because it will become unnecessary in the next version of Sigil)

It will change the package from "1.0" to "2.0" and will change any of the older "text/html" or "text/x-oeb1-document" media types on manifested items to "application/xhtml+xml".

It will add an xml declaration to opf files that don't have one.

Nothing else should be touched (including epub2s or epub3s).
Attached Files
File Type: zip FixOPFv1_v0.1.1.zip (4.6 KB, 575 views)

Last edited by DiapDealer; 02-21-2016 at 09:17 PM.
DiapDealer is offline   Reply With Quote