Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > Apple Devices

Notices

Reply
 
Thread Tools Search this Thread
Old 07-30-2010, 11:47 AM   #16
eping
ePub Maker
eping began at the beginning.
 
eping's Avatar
 
Posts: 120
Karma: 16
Join Date: Dec 2009
Location: Mordor
Device: iPad,Kindle 3, Nook 2
Daddy Warpig has showed the way to define the cover for iPad.

I think we are suffering from disunity among companies just like different browsers do to the same HTML and CSS standard.
Adobe and Apple implement and render ePub in different ways, cover is one case.
Adobe(and all devices based on its SDK) will ignore those code about cover and get cover from the first page automatically,
and they recommend user using SVG as cover image.
While Apple and some other devices only recognize just a defined cover picture(not a page).

So if you define the cover in <meta> tag, iPad will show it, but ADE not,
if you define the cover in the first page, iPad will not show it.
So you have to define the cover in both <meta> and the first page, but some eReader then will show the cover twice. a very annoying problem.

And I think ePub standard doesn't state a clear, unique way of defining the cover, why just put cover so important a thing into a confusing <meta> tag, why not a tag like <cover src="cover.htm/cover.jpg" type="page/image"/>

Last edited by eping; 07-30-2010 at 11:53 AM.
eping is offline   Reply With Quote
Old 07-30-2010, 11:57 AM   #17
kjk
.
kjk ought to be getting tired of karma fortunes by now.kjk ought to be getting tired of karma fortunes by now.kjk ought to be getting tired of karma fortunes by now.kjk ought to be getting tired of karma fortunes by now.kjk ought to be getting tired of karma fortunes by now.kjk ought to be getting tired of karma fortunes by now.kjk ought to be getting tired of karma fortunes by now.kjk ought to be getting tired of karma fortunes by now.kjk ought to be getting tired of karma fortunes by now.kjk ought to be getting tired of karma fortunes by now.kjk ought to be getting tired of karma fortunes by now.
 
Posts: 3,408
Karma: 5647231
Join Date: Oct 2008
Device: never enough
Quote:
Originally Posted by eping View Post

And I think ePub standard doesn't state a clear, unique way of defining the cover, why just put cover so important a thing into a confusing <meta> tag, why not a tag like <cover src="cover.htm/cover.jpg" type="page/image"/>
You know, the IDPF is working on the next ePub revisions right now-anyone who is interested in giving feedback should definitely get involved! http://www.idpf.org/idpf_groups/epub...2010_v.11.html
kjk is offline   Reply With Quote
Advert
Old 07-30-2010, 12:04 PM   #18
HarryT
eBook Enthusiast
HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.
 
HarryT's Avatar
 
Posts: 85,544
Karma: 93383099
Join Date: Nov 2006
Location: UK
Device: Kindle Oasis 2, iPad Pro 10.5", iPhone 6
Quote:
Originally Posted by eping View Post
I think we are suffering from disunity among companies just like different browsers do to the same HTML and CSS standard.
Adobe and Apple implement and render ePub in different ways, cover is one case.
Adobe(and all devices based on its SDK) will ignore those code about cover and get cover from the first page automatically,
and they recommend user using SVG as cover image.
While Apple and some other devices only recognize just a defined cover picture(not a page).

So if you define the cover in <meta> tag, iPad will show it, but ADE not,
if you define the cover in the first page, iPad will not show it.
Could you take a look at one of my ePub books and see what it does? It works correctly in both ADE and iBooks.
HarryT is offline   Reply With Quote
Old 07-30-2010, 12:24 PM   #19
Daddy Warpig
Enthusiast
Daddy Warpig began at the beginning.
 
Posts: 49
Karma: 14
Join Date: Apr 2010
Device: iPad & iPhone
Quote:
Originally Posted by eping View Post
And I think ePub standard doesn't state a clear, unique way of defining the cover,
You're correct. The ePub standard, AFAIK, doesn't specify a way to define a cover.

More on this here: IDPF Screws Up ePub eBook Covers For Everyone!
Daddy Warpig is offline   Reply With Quote
Old 07-30-2010, 12:27 PM   #20
eping
ePub Maker
eping began at the beginning.
 
eping's Avatar
 
Posts: 120
Karma: 16
Join Date: Dec 2009
Location: Mordor
Device: iPad,Kindle 3, Nook 2
Quote:
Originally Posted by HarryT View Post
Could you take a look at one of my ePub books and see what it does? It works correctly in both ADE and iBooks.
Glad to, would you please give a link?
eping is offline   Reply With Quote
Advert
Old 07-30-2010, 12:31 PM   #21
HarryT
eBook Enthusiast
HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.
 
HarryT's Avatar
 
Posts: 85,544
Karma: 93383099
Join Date: Nov 2006
Location: UK
Device: Kindle Oasis 2, iPad Pro 10.5", iPhone 6
This one, for example:

https://www.mobileread.com/forums/showthread.php?t=54886

All my ePub books are converted from Mobi, so perhaps it's something about the way that Mobi displays covers that makes a difference. All I can say is that the cover's only in the book once, and it definitely displays fine on both ADE and iBooks.
HarryT is offline   Reply With Quote
Old 07-30-2010, 01:10 PM   #22
eping
ePub Maker
eping began at the beginning.
 
eping's Avatar
 
Posts: 120
Karma: 16
Join Date: Dec 2009
Location: Mordor
Device: iPad,Kindle 3, Nook 2
Harry,Thank you very much.
I checked your ePub, it did define the cover twice both
in meta info and a titlepage.
This kind of cover must show twice on eReaders such as Mobilepocket,
but when I try to open it by Mobilepocket, it failed, please check.
I am afraid there's no other way to fulfill both eReader types.
If iBook show the cover once, means it's better than Mobilepocket.
eping is offline   Reply With Quote
Old 07-30-2010, 01:49 PM   #23
HarryT
eBook Enthusiast
HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.
 
HarryT's Avatar
 
Posts: 85,544
Karma: 93383099
Join Date: Nov 2006
Location: UK
Device: Kindle Oasis 2, iPad Pro 10.5", iPhone 6
That's an ePub book, so certainly it won't open in MobiPocket. I think you may have misunderstood me; I said that it had been converted from a MobiPocket book. The MobiPocket version is in the appropriate forum section for that format. Thank you for looking at it.
HarryT is offline   Reply With Quote
Old 07-30-2010, 02:03 PM   #24
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,359
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Just clarify the issue:

The EPUB standard has no support for image based covers. Instead EPUB software is supposed to render the first "screefull" of the epub and use that as a cover.

However, calibre for years and now itunes/ibooks use the following convention:

If in the <metadata> section of the OPF file there is a line that looks like

<meta name='cover" content="someid"/>

where someid is the id of an image file in the <manifest> of the OPF, it will be used as the cover.

When you use calibre to create an EPUB is adds this line automatically (assuming the EPUB has an image based cover).
kovidgoyal is offline   Reply With Quote
Old 08-20-2010, 03:00 AM   #25
reuben
Member
reuben began at the beginning.
 
reuben's Avatar
 
Posts: 21
Karma: 10
Join Date: Nov 2009
Location: Philippines
Device: Sony Reader, iPad
Hi,

How do I show EPUB books in their default cover on iPad? I just want them to be displayed in their default cover with their simple Book Title and Author. Is their any HTML code for it?Does creating a cover HTML with no cover images in it do the trick?I don't have an iPad so I can't test it. Can anyone help me?

Thanks in advance,
ben
reuben is offline   Reply With Quote
Old 08-20-2010, 04:51 AM   #26
georg3200
Connoisseur
georg3200 began at the beginning.
 
Posts: 59
Karma: 10
Join Date: Nov 2008
Device: none
If you do not have a cover image for your epub, the iPad should show the standard-view with author and title.

This was the problem that I had. I saw only the standard-book-cover though my epub contained a cover.jpg.
I had to do a workaround to make the iPad show the cover.
So I assume, if you do not have a cover, the iPad should automatically show the standard cover with author and title.

BTW: the workaround was the following line in the metadata section of the content.opf:

<meta name="cover" content="image_cover_jpg" />

where the value "image_cover_jpg" is the id of the cover-image in manifest-section.
georg3200 is offline   Reply With Quote
Old 08-20-2010, 05:29 AM   #27
reuben
Member
reuben began at the beginning.
 
reuben's Avatar
 
Posts: 21
Karma: 10
Join Date: Nov 2009
Location: Philippines
Device: Sony Reader, iPad
Hi georg3200,

Thank you for pointing that out..so I guess I'll just make an EPUB without the cover..maybe iPad just reads the metadata info from the OPF file to retrieve the Title and Author Info and then displays it as the default cover (I think?)..

Anyway, thanks a lot..
reuben is offline   Reply With Quote
Old 09-14-2010, 12:25 AM   #28
ksng
Member
ksng began at the beginning.
 
Posts: 18
Karma: 10
Join Date: Sep 2010
Device: stanza
Hi,
I used Calibre to add my book cover (600x800px 72dpi as advised by Adobe), it shows perfectly on iBook ereader but when i load it in Stanza, the first cover page is blank. Any idea what's wrong?
ksng is offline   Reply With Quote
Old 09-14-2010, 09:29 AM   #29
tyche
Addict
tyche plays well with otherstyche plays well with otherstyche plays well with otherstyche plays well with otherstyche plays well with otherstyche plays well with otherstyche plays well with otherstyche plays well with otherstyche plays well with otherstyche plays well with otherstyche plays well with others
 
Posts: 227
Karma: 2530
Join Date: Dec 2009
Device: PRS-505, iPad
Quote:
Originally Posted by ksng View Post
Hi,
I used Calibre to add my book cover (600x800px 72dpi as advised by Adobe), it shows perfectly on iBook ereader but when i load it in Stanza, the first cover page is blank. Any idea what's wrong?
Are you using svg for the image type? I don't think Stanza supports that format for a cover.
tyche is offline   Reply With Quote
Old 09-15-2010, 03:23 AM   #30
reuben
Member
reuben began at the beginning.
 
reuben's Avatar
 
Posts: 21
Karma: 10
Join Date: Nov 2009
Location: Philippines
Device: Sony Reader, iPad
Quote:
Originally Posted by georg3200 View Post
if you do not have a cover, the iPad should automatically show the standard cover with author and title.
I've tested it now with my new iPad and it worked! Thanks george!
reuben is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Bookshelf for Ipad adrian1944 Apple Devices 25 08-20-2010 03:02 AM


All times are GMT -4. The time now is 03:51 PM.


MobileRead.com is a privately owned, operated and funded community.