View Single Post
Old 12-24-2010, 02:55 PM   #3
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 7,603
Karma: 5433388
Join Date: Nov 2009
Device: many
Hi,

Okay I added the following metadata.opf and all of my metadata was properly parsed except for the cover.

Is there something I am doing wrong with my metadata.opf when it comes to setting a cover image upon import:

The contents of the zip archive are:

book.html
style.css
cover.jpg
metadata.opf
img/*.jpg

Here is my generated metadata.opf file:

Code:
<?xml version='1.0' encoding='utf-8'?>
<package xmlns="http://www.idpf.org/2007/opf" unique-identifier="guid_id">
   <metadata xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:opf="http://www.idpf.org/2007/opf">
      <dc:identifier opf:scheme="GUID" id="guid_id">4f3807e13649d56d9cfa5e91beca6765</dc:identifier>
      <dc:identifier opf:scheme="ASIN">B001U3YDJK</dc:identifier>
      <dc:identifier opf:scheme="oASIN">0253342112</dc:identifier>
      <dc:title>Tank Driver: With the 11th Armored from the Battle of the Bulge to VE Day</dc:title>
      <dc:creator opf:role="aut">J. Ted Hartman;Ted J. Hartman</dc:creator>
      <dc:language>en</dc:language>
      <dc:date>20090126T20:24</dc:date>
   </metadata>
   <guide>
      <reference href="cover.jpg" type="cover" title="Cover"/>
   </guide>
</package>
The book.html file does not directly reference cover.jpg (it references instead img/img0000.jpg) but I tried using href="img/img0000.jpg" in the guide element to no avail.

Sorry to be so thick here but I am stumped.

Thanks,

KevinH
KevinH is offline   Reply With Quote