|
![]() |
|
Thread Tools | Search this Thread |
![]() |
#16 | |
Bookmaker & Cat Slave
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,503
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
|
Quote:
All you have to do is remove the cover.html. Leave the cover.jpg (or whatever) image in the Files folder. Point to it, and assign the COVER semantics. Build MOBI. Voila. Do that, and you will NEVER have a double-cover. We haven't had one in, geeze, I don't know, four years now? Which would be somewhere in the 2,000 book figure? I'm pretty sure, if it were going to happen, in that scenario, it already would have. @Doits: Yes. You are correct. Dead on. If you forget, and leave the cover.html or XHTML file in, it's a crapshoot. Sometimes, it suppresses the "extra" and sometimes, it doesn't. The safest method is, remove the cover.html file, and follow the rest of the destructions. :-) Hitch |
|
![]() |
![]() |
![]() |
#17 | |
mostly an observer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,519
Karma: 987654
Join Date: Dec 2012
Device: Kindle
|
Quote:
Let me see now: I point to the image with what? The TOC? And I can right click on an image and assign a "semantic" to it? Good grief. And this epub will be welcomed at Barnes & Noble, Apple, and Kobo? |
|
![]() |
![]() |
Advert | |
|
![]() |
#18 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,732
Karma: 24031401
Join Date: Dec 2010
Device: Kindle PW2
|
Quote:
KDP books must have an internal cover image that must be defined in epub2 books via a cover metadata entry and in epub3 books via a cover-image properties attribute. Since Sigil will automatically generate these entries all you have to do is remove the cover html file before you upload your book to KDP. (This step is necessary, because KindleGen might not automatically delete the cover.html file.) FYI, assuming that you added a cover image with the id cover.png, Sigil will add the following entries if you create a cover page via Tools > Add Cover...: a) EPUB2: content.opf Code:
<meta content="cover.png" name="cover" /> Code:
<guide>
<reference type="cover" title="Cover" href="Text/cover.xhtml"/>
</guide>
content.opf Code:
<meta content="cover.png" name="cover" /> Code:
<item id="cover.png" href="Images/cover.png" media-type="image/png" properties="cover-image"/> <guide> <reference type="cover" title="Cover" href="Text/cover.xhtml"/> </guide> Code:
<li>
<a epub:type="cover" href="../Text/cover.xhtml">Cover</a>
</li>
|
|
![]() |
![]() |
![]() |
#19 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,620
Karma: 204624552
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Didn't the Kindle Publishing Guidelines used to recommend (for the purposes of maintaining compatibility with epub publishing standards) marking the cover-page (html) as "linear=no" as well as including the cover image meta/property? That way, the html cover page needn't be deleted and there was no duplication. Is that not a recommendation of Amazon's any more?
I admit it's been a hell of a long time since I downloaded/read their publishing guidelines. Last edited by DiapDealer; 11-12-2016 at 09:48 AM. |
![]() |
![]() |
![]() |
#20 | ||
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,732
Karma: 24031401
Join Date: Dec 2010
Device: Kindle PW2
|
Quote:
Code:
Info(prcgen):I1052: Kindle support cover images but does not support cover HTML. Hence using the cover image specified and suppressing cover HTML in content. URL: \OEBPS\Text\cover.xhtml For the above reasons, I recommend deleting cover.xhtml before running KindleGen or uploading epub books to KDP, I attached a sample file that you can play with. It contains a cover.xhtml file (with additional text) and a linear="no" spine attribute. 1. If you compile it as is, cover.xhtml will be moved to the end of the book. 2. If you remove the text from cover.xhtml before running KindleGen, it'll be completely suppressed. 3. If you remove the text from cover.xhtml and the linear="no" attribute before running KindleGen, it'll be completely suppressed. BTW, the Kindle Publishing Guidelines only mention the cover metadata entry for epub2 books and the properties="cover-image" entry for epub3 books and warn against using any other method: Quote:
|
||
![]() |
![]() |
Advert | |
|
![]() |
#21 | ||||
Bookmaker & Cat Slave
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,503
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
|
Quote:
and NO, this has nothing to do with ePUBs for distro. For that matter, this has sweet you-know-what to do with Sigil, but... Quote:
Quote:
(Snippage) Quote:
OR, as Diap and Doits mentioned, use linear="no" if you want one ring to rule them all. As Doits clarified, the cover.html cannot have ANY text on it, for this to work. Personally, we make other tweaks, in our "ePUB4MOBI" files, because I am picky about how this or that displays, and what works perfectly in ePUB, for ePUB readers, may not work exactly as I wish in MOBI. But that's how we roll. No reason you can't make it as simple as we've just explained. And whatever you're drinking, stop drinking it. Hitch |
||||
![]() |
![]() |
![]() |
#22 |
Unicycle Daredevil
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,944
Karma: 185432100
Join Date: Jan 2011
Location: Planet of the Pudding Brains
Device: Aura HD (R.I.P. After six years the USB socket died.) tolino shine 3
|
|
![]() |
![]() |
![]() |
#23 |
Junior Member
![]() Posts: 5
Karma: 10
Join Date: Nov 2016
Device: Nexus 9 tablet
|
I have been reading this thread with interest because when I uploaded my little book as an ePub created in Sigil I deleted every reference to the cover, including the file itself. The interesting thing is my book opens correctly and has a cover image when viewed in an e-reader.
So I have just gone onto Amazon and downloaded my mobi file again and used Calibre to change it into an epub which I could open and view in Sigil. This is where it gets interesting, because the opf file I uploaded had no references to the cover but the opf I have extracted from the downloaded mobi file does! Clearly, in the conversion process Amazon has put in the opf the entries which were missing. They have also added the missing cover.jpg in the list of images. It all works but I think I should probably go back and upload the epub again with the correct entries and cover.jpg file. I can post the extra lines which have been added by Amazon if anyone wants me to - and I can work out how to post code here. ![]() Edit: (just worked out how to show code) This in the metadata section of the opf: Code:
<meta content="cover" name="cover" /> Code:
<item id="cover" href="Images/cover.jpeg" media-type="image/jpeg"/> Code:
<reference type="cover" title="Cover" href="Text/titlepage.xhtml"/> Last edited by John Laidler; 11-13-2016 at 06:47 AM. |
![]() |
![]() |
![]() |
#24 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,620
Karma: 204624552
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Quote:
![]() |
|
![]() |
![]() |
![]() |
#25 | |
Junior Member
![]() Posts: 5
Karma: 10
Join Date: Nov 2016
Device: Nexus 9 tablet
|
Quote:
I think I will still upload the book again with everything in place except with the cover.xhtml file removed. |
|
![]() |
![]() |
![]() |
#26 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,620
Karma: 204624552
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
|
![]() |
![]() |
![]() |
#27 | |
Bookmaker & Cat Slave
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,503
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
|
Quote:
Otherwise, kids and kiddles, the mobis created from Word files would never work. Right? Hitch |
|
![]() |
![]() |
![]() |
#28 |
mostly an observer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,519
Karma: 987654
Join Date: Dec 2012
Device: Kindle
|
What an amazing conversation. In the end, I am doing exactly what Doitsu and Hitch recommend, except that I leave the cover in place when I upload to the KDP. That works nearly every time, and when it fails, I fix it. I'd rather not maintain different epubs for the KDP and the others.
Though I am still puzzled at the notion that I apply a semantic to an image in the Images folder, as opposed to the xhtml file containing it. (And no, Hitch, you never, never told me any such thing.) But in fact I have never applied a "cover" semantic to the xhtml file, because it's already so labeled. Of course my technical skills pale beside yours. That's precisely why I'm qualified to write a guidebook. It's not engineers who write tech manuals, not in successful companies. |
![]() |
![]() |
![]() |
#29 | ||
Bookmaker & Cat Slave
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,503
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
|
Quote:
Quote:
Hitch |
||
![]() |
![]() |
![]() |
#30 |
mostly an observer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,519
Karma: 987654
Join Date: Dec 2012
Device: Kindle
|
When I was young, I supported my (novel-)writing habit by writing tech manuals for my classmates who had graduated as engineers. Even after I became self supporting, I used to pick up mad money as a consultant for the Justice Department, writing "executive summaries" for academic research papers on such arcania as Community Based Policing. You can't imagine how much money there is, or anyhow was, in "consulting" for the US government!
My point is that experts aren't very good at explaining themselves to the public. They need interpreters. (If you wrote a formatting manual, however, I would buy it and retire mine.) |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Sigil feature request more entries on recently opened. | blackest | Sigil | 0 | 10-09-2014 07:16 PM |
Other places to purchase/download ebooks! | readerlover | Sony Reader | 18 | 10-08-2014 12:48 PM |
some places with ebooks/comics whatever | irish66 | Deals and Resources (No Self-Promotion or Affiliate Links) | 3 | 12-22-2013 09:16 AM |
Change default page opening for books never opened? | pidgeon92 | Calibre | 6 | 04-12-2010 06:28 PM |
Places to buy Ebooks | Drezin | Sony Reader | 6 | 03-08-2009 09:04 AM |