Quote:
Originally Posted by AZed
If you mean that *with* --htmlconvert, unpacking a PDB is still leaving the manifest media-type as text/plain, even though what it points to has been wrapped in html, that's a bug I wasn't aware of.
|
I converted a free ereader ebook from Fictionwise using this command:
Code:
E:\ebooks\EBook-Tools-0.4.2>ebook unpack Verne-80-Days.prc -d My_Book2 --htmlconvert
and got this resulting .opf (see bold part):
Code:
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE package PUBLIC "+//ISBN 0-9673008-1-9//DTD OEB 1.2 Package//EN" "http://openebook.org/dtds/oeb-1.2/oebpkg12.dtd">
<package unique-identifier="UUID" xmlns="http://openebook.org/namespaces/oeb-package/1.0/">
<metadata>
<dc-metadata xmlns:dc="http://purl.org/dc/elements/1.1/">
<dc:Identifier scheme="UUID" id="UUID">80F10A5F-6CB4-1014-B40C-9E694293C8DF</dc:Identifier>
<dc:Title>Around the World in 80 Days</dc:Title>
<dc:Creator role="aut">Jules Verne</dc:Creator>
<dc:Subject BASICCode="FIC004000">Classic Literature</dc:Subject>
<dc:Description>Classic Literature. 62793 words long.</dc:Description>
<dc:Publisher>Fictionwise, Inc.</dc:Publisher>
<dc:Type>Novel</dc:Type>
<dc:Language>en-us</dc:Language>
<dc:Rights>Copyright &#169;</dc:Rights>
</dc-metadata>
<x-metadata>
<output encoding="utf-8" content-type="text/x-oeb1-document"/>
</x-metadata>
</metadata>
<guide>
<reference href="Verne-80-Days.html#fpXXXXXXXXXX" title="Table of Contents" type="toc">
</reference>
</guide>
<manifest>
<item media-type="text/plain" href="Verne-80-Days.html" id="text-main"/>
</manifest>
<spine>
<itemref idref="text-main"/>
</spine>
</package>
EDIT: I had previously uploaded the Mobipocket .prc version in error and now replace that with the correct ereader. pdb!