View Single Post
Old 02-10-2009, 08:53 AM   #55
nrapallo
GuteBook/Mobi2IMP Creator
nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.
 
nrapallo's Avatar
 
Posts: 2,958
Karma: 2530691
Join Date: Dec 2007
Location: Toronto, Canada
Device: REB1200 EBW1150 Device: T1 NSTG iLiad_v2 NC Device: Asus_TF Next1 WPDN
Quote:
Originally Posted by AZed View Post
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 &amp;#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!
Attached Files
File Type: pdb Verne-80-Days-er.pdb (208.0 KB, 188 views)

Last edited by nrapallo; 02-10-2009 at 10:05 PM. Reason: added correct ereader .pdb
nrapallo is offline   Reply With Quote