Re: [docbook-apps] "missing cover" in docbook epub converted to Amazon kindle .mobi file

From
Bob Stayton <>
Date
2012-11-26T20:23:07+00:00
ID
DC2D949B252B416B9DA2EC1980EDB861@totoro
Thread
Re: [docbook-apps] "missing cover" in docbook epub converted to Amazon kindle .mobi file
Hi,

There are stylesheet parameters for specifying the cover 
information.  

 

In the original epub stylesheet:

 

epub.cover.filename

epub.cover.id

epub.cover.html

epub.cover.image.id

epub.cover.linear

 

In the newer epub3 stylesheet:

 

epub.cover.filename

epub.cover.filename.id

epub.cover.image.id

epub.cover.linear

 

If those are set, you should get the correct cover elements in 
the manifest file.

 

Bob Stayton
Sagehill Enterprises


From: DC Denison 

Sent: Monday, November 26, 2012 10:39 AM

To:  

Subject: [docbook-apps] "missing cover" in docbook epub converted to 
Amazon kindle .mobi file

I'm 
using an epub generated from a Docbook transformed via ANT in Oxygen to create a 
.mobi file for the Amazon Kindle (using Kindle Previewer). It 
keeps giving me a "missing cover" warning, which is displayed over the cover 
image. The 
Kindle Previewer documentation says that the cover should be included this 
way: Define 
covers in the OPF file using the following tags:<metadata>...<meta 
name="cover" content="my-cover-image" >...</metadata> 
... <manifest>...<item 
href="" id="my-cover-image" media-type="image/jpeg" 
>...</manifest>But 
I'm having trouble figuring out how to insert that into the DocBook file, or 
into the ePub using Oxygen's Archive Browser. I think I would probably have to 
insert that file in more than just the manifest folder. Also would it conflict 
with the "cover.jpg" file that's already in the ePub?Any 
suggestions? thanks! DC 
Denison