Quote:
Originally Posted by slowsmile
Update: Changes in v0.1.1:
* Changed from using standard cover file names to using the proper cover name derived from the guide cover href for searches in the cover file checks. With thanks to KevinH for the suggested change.
|
OK. Definitely on the right track... I no longer get the "Cover image file not found" error, but I now get
Code:
[ERROR]: Bad cover position. The cover image file should always be the first file in Sigil's Book Browser file list.
which is misleading, because according to the
KDP publishing guidelines, version 2018.2, section 4.2, pp 14-15, there should not be a cover.xhtml file at all:
Quote:
Do not add an HTML cover page to the content in addition to the cover image. This may result in the cover appearing twice in the book or cause the book to fail conversion.
|
(my emphasis)
I also mentioned this in a previous post (#7) in this thread.
Edited to add:
My apologies. It seems I may have mislead you when I said I was using
Code:
<guide>
<reference type="cover" title="Cover" href="Images/9781606192863.jpg"/>
...
</guide>
to specify the location of the cover file. That method used to work by itself, but It is not the preferred KDP method. Ever since Sigil started adding cover metadata to the opf, I have ALSO been using
Code:
<metadata xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:opf="http://www.idpf.org/2007/opf">
...
<meta name="cover" content="x9781606192863.jpg" />
</metadata>
<manifest>
...
<item id="x9781606192863.jpg" href="Images/9781606192863.jpg" media-type="image/jpeg"/>
</manifest>
as well.
Since the latter is what Amazon requires (cf. p. 15 of the Guidelines), I would recommend you check for it instead of the guide reference.
Sorry about that!
Albert