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

ePub 3 compatibility #2

Open
jaketmp opened this issue Jul 19, 2011 · 7 comments
Open

ePub 3 compatibility #2

jaketmp opened this issue Jul 19, 2011 · 7 comments
Assignees

Comments

@jaketmp
Copy link
Owner

jaketmp commented Jul 19, 2011

ePub 3 completely changes the manner in which covers and metadata may be declared.

@jaketmp
Copy link
Owner Author

jaketmp commented Jan 24, 2012

Need to check where .ibook fits between epub 2 and 3.

@chrisridd
Copy link
Contributor

I didn't think the metadata was so different between 2 and 3, though the covers might be (hopefully involving fewer heuristics to locate!)

Are there any sample books around?

@jaketmp
Copy link
Owner Author

jaketmp commented Jan 26, 2012

This is the best epub3 resource I know off hand:
http://code.google.com/p/epub-revision/downloads/detail?name=9780316000000_MobyDick_r2.epub

.ibooks seems to follow the epub2 way go doing things pretty closely.

@jaketmp
Copy link
Owner Author

jaketmp commented Feb 23, 2012

Relevant changes from epub 2 to 3 docs: http://idpf.org/epub/30/spec/epub30-changes.html

The main change will be finding the cover: http://blog.threepress.org/2011/05/26/covers-in-epub3/

@chrisridd
Copy link
Contributor

We seem to do OK getting most metadata from the "Moby Dick" sample already though I reckon some of that's by luck because that sample hasn't got much metadata.

Some understanding of the meta element's scheme attribute is going to be needed. That seems to define how to interpret some other elements e.g.:

<dc:identifier id="pub-id">urn:isbn:9780316000000</dc:identifier> <meta refines="#pub-id" property="identifier-type" scheme="onix:codelist5">15</meta> <dc:contributor id="contrib1">Dave Cramer</dc:contributor> <meta refines="#contrib1" property="role" scheme="marc:relators">mrk</meta>

So we'd need to interpret ONIX and MARC and ... some open-ended list? Or practically speaking is everyone going to use those two.

But this should mean extracting a real ISBN is more robust than now.

@jaketmp
Copy link
Owner Author

jaketmp commented Feb 26, 2012

Commit 757e409 brings iBooks compatibility.

@ghost ghost assigned jaketmp Mar 28, 2012
@alessandrodn
Copy link

ePub3 allows multiple title tag (see here).

It would be great if you can:

  1. display the book title as the dc:title attribute which has either the main-titleproperty set or the display-seq set to 1 (with the current 1.7 version, the latest dc:title attribute in the file is displayed);
  2. take advantage of the new possibility, displaying the main title and any subtitle accordingly (i.e. using a smaller font for subtitle, edition).

Thanks

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

No branches or pull requests

3 participants