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

iBook version tag #2693

Closed
jamtur01 opened this issue Feb 1, 2016 · 3 comments
Closed

iBook version tag #2693

jamtur01 opened this issue Feb 1, 2016 · 3 comments

Comments

@jamtur01
Copy link

jamtur01 commented Feb 1, 2016

If you version an iBook and submit updates Apple expects you to increment the version. In the current ePub metadata there's no way to specify a version. The suggested approach is:

Perhaps the thing to do is to allow YAML metadata to contain an ibooks
field, which is a map:

ibooks:
  version: 1.3.4

If this is included, meta tags are created in the ibooks namespace,
like

<meta property="ibooks:version">1.3.4</meta>

We might also restrict the fields that are included to the ones
that are explicitly allowed.

We'd also have to add the ibooks prefix to the containing package tag
if any ibooks fields are included.

(From this discussion).

@jgm
Copy link
Owner

jgm commented Oct 2, 2016

Can you link to some official documentation on the ibooks:version meta property for EPUBs?
What other properties live in the ibooks namespace?

@jamtur01
Copy link
Author

jamtur01 commented Oct 2, 2016

Apple's iBook docs are:

https://itunesconnect.apple.com/docs/iBooksAssetGuide5.1Revision2.pdf

There's a Book Versioning section.

@jgm
Copy link
Owner

jgm commented Oct 4, 2016

Looks like we have

ibooks:specified-fonts true|false (default false)
ibooks:ipad-orientation-lock portrait-only|landscape-only
ibooks:iphone-orientation-lock portrait-only|landscape-only
ibooks:binding true|false (default true)
ibooks:version (string)
ibooks:scroll-axis: vertical|horizontal|default

@jgm jgm added this to the pandoc 2.0 milestone Feb 26, 2017
@jgm jgm closed this as completed in 20103ac Jun 30, 2017
jgm added a commit that referenced this issue Nov 25, 2018
Nodes of the form

    <meta name="calibre:series" content="Classics on War and Politics"/>

are now included from an epub XML metadata file.  You can also
include this information in your YAML metadata, like so:

    calibre:
      series: Classics on War and Policitics

In addition, ibooks-specific metadata can now be included via
an XML file. (Previously, it could only be included via YAML
metadata, see #2693.)

Closes #5098.
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