Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cover image has an id != "cover". #47

Closed
dteviot opened this issue Jul 12, 2016 · 1 comment
Closed

cover image has an id != "cover". #47

dteviot opened this issue Jul 12, 2016 · 1 comment

Comments

@dteviot
Copy link
Owner

dteviot commented Jul 12, 2016

Warning message from Calibre

The cover image has an id != "cover". Renaming to work around bug in Nook Color.
Refer #46

@dteviot
Copy link
Owner Author

dteviot commented Jul 13, 2016

Sigh. Still not right. Now I have two elements with id="cover".
I think I might try making the cover as indicated here:
https://www.safaribooksonline.com/blog/2009/11/20/best-practices-in-epub-cover-images/

Different instructions
http://wiki.mobileread.com/wiki/Ebook_Covers

May also be worth adding a cover-image property to the item, in anticipation of generating EPUB3.

<item properties="cover-image" id="ci" href="cover.svg" media-type="image/svg+xml" />

refer http://idpf.org/forum/topic-715

Based on above links.
href of the cover image file = {anything}.
ID of cover image = "cover_image"
href of XHTML wrapper for cover image = "cover.xhtml"
ID of XHTML wrapper = "cover"

metadata section gets content set to "id of image file"
guide gets href of xhtml.
spine gets id of xhtml.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants