08-31-2018, 01:31 PM | #46 |
Grand Sorcerer
Posts: 6,758
Karma: 86500093
Join Date: Nov 2011
Location: Charlottesville, VA
Device: Kindles
|
|
08-31-2018, 02:00 PM | #47 | |||
Grand Sorcerer
Posts: 28,044
Karma: 199464182
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
It does not HAVE to be, no. The cover IMAGE for a KDP-bound epub will most times not be referenced by ANY (x)html page in the epub.
Quote:
Quote:
Quote:
Exactly. The cover IMAGE is denoted in the opf file by a meta entry, as Doitsu and others have tried to clarify already. Last edited by DiapDealer; 08-31-2018 at 04:22 PM. |
|||
Advert | |
|
08-31-2018, 02:17 PM | #48 |
Grand Sorcerer
Posts: 28,044
Karma: 199464182
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
That very-well could be the case in non-KDP situations. But to my knowledge, there is no separately uploaded marketing material with the KDP process.
|
08-31-2018, 02:26 PM | #49 | |
Witchman
Posts: 628
Karma: 788808
Join Date: May 2013
Location: Philippines
Device: Android S5
|
@jhowell...I've just looked at the Amazon Kindle Publishing Guidelines(section 4.2) and here's what it says about the cover image:
Quote:
Last edited by slowsmile; 08-31-2018 at 02:30 PM. |
|
08-31-2018, 02:40 PM | #50 | |
Grand Sorcerer
Posts: 28,044
Karma: 199464182
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Quote:
An image FILE (PNG, JPG, GIF, etc) for use as a book cover should be included (manifested) in the epub. A cover PAGE (xhtml) should not. The conversion process knows which image to use for the cover by checking the META 'name="cover" ' entry for the manifest id of the image in the 'content="<insert manifest id here>" ' attribute/value pair. Code:
<meta content="cover.jpg" name="cover" /> Code:
<meta content="cover_img" name="cover" /> Code:
<item id="cover_img" href="Images/img0001.png" media-type="image/png"/> Code:
<item id="cover_img" href="Images/img0001.png" media-type="image/png" properties="cover-image" /> Last edited by DiapDealer; 08-31-2018 at 03:33 PM. |
|
Advert | |
|
08-31-2018, 04:00 PM | #51 | |
Bookmaker & Cat Slave
Posts: 11,495
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
|
Quote:
Some years back, at least 3-4, Amazon changed things so that any cover uploaded that is baked into the MOBI/ePUB/Whatever will *not* display as the marketing image on the Zon website. Instead, the image that is uploaded separately, in the "Content" section of the Bookshelf, is used for the website marketing image. More importantly, vis-a-vis this discussion, it is placed into the uploaded book, replacing any cover that is already in the MOBI/EPUB/whatever, or creating the cover placement, if one is not there. Amazon said that they had such issues with DIY authors and Word files that they changed the entire process so that the uploaded Marketing image would be inserted into the uploaded ebook, overriding or supplanting any cover already there. This brilliant decision, on their parts, resulted in the dreaded "double cover" issue, that affected Word files uploaded with cover images embedded therein, and MOBI and ePUB files that were uploaded with a cover.xhtml page therein. The newer method of mobi-building, using the cover IMAGE, not the cover FILE, so marked in the metadata and the Guide, works to create a MOBI that only has a single cover, despite Amazon's best efforts to "help." HTH, Hitch |
|
08-31-2018, 04:25 PM | #52 |
Grand Sorcerer
Posts: 28,044
Karma: 199464182
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Thanks for clarifying, Hitch.
Suffice to say that any add-on KDP validation process should probably be checking for meta entries (epub2), or manifest properties (epub3) to see if the mandatory cover image is indeed present. And it should be checking the guide section for a cover semantic to see if an xhtml cover page is present that Amazon advises against. That's how I'd handle the cover page/image section of any KDP validation plugin I was creating for Sigil, anyway. I'd probably create an output plugin that did the checking and removed the xhtml cover page if present. That way content creators could maintain one main source epub, and could generate a KDP-compliant version on demand, so-to-speak. Last edited by DiapDealer; 08-31-2018 at 04:37 PM. |
08-31-2018, 06:34 PM | #53 | |
Bookmaker & Cat Slave
Posts: 11,495
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
|
Quote:
Which is, almost to the letter, how we work at my shop. :-) Hitch |
|
08-31-2018, 09:16 PM | #54 | |
Well trained by Cats
Posts: 30,452
Karma: 58055868
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
EPUB2 requires BOTH the page and the Image have the 'cover' flag |
|
09-01-2018, 12:30 AM | #55 |
Witchman
Posts: 628
Karma: 788808
Join Date: May 2013
Location: Philippines
Device: Android S5
|
Thanks to everyone -- particularly Diap and Hitch -- for clarifying what "cover image" refers to. I understand it now -- the term "cover image" also includes all cover refs in the opf directory. My mistake was to assume that the term "cover image" only referred to either the cover image file ref in the cover page or the cover image file itself in the Images directory.
DiapDealer said: "Suffice to say that any add-on KDP validation process should probably be checking for meta entries (epub2), or manifest properties (epub3) to see if the mandatory cover image is indeed present. And it should be checking the guide section for a cover semantic to see if an xhtml cover page is present that Amazon advises against." This plugin only checks epub2 files. If an epub3 file is checked with this plugin you will get an error. I also use the "name=cover" metadata ref(like Doitsu's Epubcheck) to check for the presence of a cover. Currently the plugin only checks for the toc and start read point in the epub. If there are less than 2 refs in the guide, a warning will be shown. And if there are more than 2 refs in the guide(not including the cover ref) another warning is shown. DiapDealer said: "That's how I'd handle the cover page/image section of any KDP validation plugin I was creating for Sigil, anyway. I'd probably create an output plugin that did the checking and removed the xhtml cover page if present. That way content creators could maintain one main source epub, and could generate a KDP-compliant version on demand, so-to-speak." I originally wanted the plugin to be a validation plugin and would prefer to keep it that way. This plugin just reports problems in much the same way as Epubcheck. I also think that the warnings and errors generated by the plugin should be enough for the plugin user to be able to fix all reported problems in much the same way as Epubcheck. One last question. When the user removes the cover page from the epub, should he/she also remove the cover image file from the Images directory in Sigil as well?? If the answer is that it should also be removed then perhaps I should also add another plugin check to ensure that the original cover image file is also removed from the Images directory. My understanding is that the amazon product image will automatically be added to the epub Images directory on upload to KDP. Please let me know if I've got this wrong... Last edited by slowsmile; 09-01-2018 at 12:32 AM. |
09-01-2018, 02:43 AM | #56 | |
Bookmaker & Cat Slave
Posts: 11,495
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
|
Quote:
Right? Hitch |
|
09-01-2018, 03:48 AM | #57 |
Witchman
Posts: 628
Karma: 788808
Join Date: May 2013
Location: Philippines
Device: Android S5
|
@Hitch...Yup, got it. Much thanks for clarifying.
The plugin currently gives a warning if the cover page(cover.xhtml file) is present in the epub. There is also no need for a guide cover ref check because when you remove or delete the cover page in Sigil, the guide cover ref will also automatically be removed in the content.opf. Last edited by slowsmile; 09-01-2018 at 03:51 AM. |
09-01-2018, 08:00 AM | #58 | |
Grand Sorcerer
Posts: 28,044
Karma: 199464182
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Quote:
The mere existence of a file named "cover.xhtml" itself is not the relevant factor in whether or not a warning/error should be generated. It's the existence of a file that is marked as a cover page (with a reference entry in the guide section) that determines if Amazon's "No xhtml cover page" rule is being violated or not. |
|
09-01-2018, 10:14 AM | #59 |
Witchman
Posts: 628
Karma: 788808
Join Date: May 2013
Location: Philippines
Device: Android S5
|
@DiapDealer...To check the presence of the cover page, the plugin currently uses the opf metadata cover id to confirm whether the epub has a cover page or not but I've already realized that there is a problem using that method. So I will certainly do as you suggest and change it to search for the guide cover reference in the next plugin update. Thanks for that suggestion.
Last edited by slowsmile; 09-01-2018 at 10:17 AM. |
09-01-2018, 10:40 AM | #60 |
Grand Sorcerer
Posts: 28,044
Karma: 199464182
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Yes. The meta cover entry can help verify that the cover image that is supposed to be there, is. But it's the reference entry in the guide section that can help determine if a cover page that isn't supposed to be there, is (by providing the file name to look for).
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Trying to Upload my Ebook to KDP | kgjones | Calibre | 5 | 09-16-2015 09:07 AM |
Upload to KDP | Peter21 | Kindle Formats | 4 | 03-06-2014 04:01 PM |
KDP Adds $1.5 Million Holiday Bonus for KDP Select Authors | DreamWriter | Writers' Corner | 3 | 11-29-2012 11:51 PM |
KDP Upload and Writer2ePub | teh603 | Writer2ePub | 1 | 09-22-2012 03:19 AM |