Skip to content
This repository has been archived by the owner on Jun 27, 2023. It is now read-only.

[Publishing WG] CR Transition for pub manifest and audiobooks

Ivan Herman edited this page Nov 20, 2019 · 30 revisions

Document title, URLs, estimated publication date

Abstract

Status

Link to group's decision to request transition

Resolution at[1], based on a CfC by email, started at [2]

  1. https://www.w3.org/publishing/groups/publ-wg/Meetings/Minutes/2019/2019-11-18-pwg.html#resolution3
  2. https://lists.w3.org/Archives/Public/public-publ-wg/2019Nov/0009.html

Changes

Major changes to Publication Manifest since FPWD include:

  • removal of the "canonical manifest" as a json-ld representation, with focus now on the "internal representation" (emphasize that the internal representation can be in any language);
  • addition/use of language and direction keywords in the JSON-LD context for expressing the global language and direction of manifest text (also for local overrides) - inLanguage now only identifies the language(s) of the content;
  • clarifications to how the base URL for the manifest is obtained;
  • a significant rewrite of the manifest processing algorithm to use the Infra specification language and data types;
  • moved the WebIDL representation of the internal representation to an informative appendix, as it is a representation of the final data not a requirement to produce;
  • addition of the alternate property to provide alternative media representations of resources;
  • addition of the required conformsTo property to identify the profile a manifest conforms to;

A list of all changes to Publication Manifest since FPWD is available at: https://github.com/w3c/pub-manifest/commits/master

Requirements Satisfied

The Publication Manifest specification partially meets the original objective of defining Web Publications. Work on Web Publications was suspended due to a lack of interest at this time from publishers, plus significant differences of opinion in terms of how they are expected to function on the web and in browsers. The group generally agreed on the manifest format for expressing information about publications, however, so driving Publication Manifest forward puts a stake in the ground for returning to Web Publications while also enabling the creation of other formats for which there is more interest (audiobooks). Defining a common manifest format also aids in future interoperability, which was another goal of Web Publications. The Publication Manifest format is also largely translatable to and from the EPUB 3 Package Document, so this provides a potential future pathway for a next iteration of EPUB.

See also the use case review for how the Publication Manifest specification matches up to the original requirements for Web Publications.

Dependencies Met

JSON-LD 1.1 (on the @direction keyword usage). The latest JSON-LD 1.1 document (to be in CR soon) introduces this feature and the Publication Manifest depends on it.

Wide Review

Practically all the work happened on GitHub, see the separate section on issues below. This included comments from outside of the Working Group.

Horizontal Reviews

Issues Addressed

  • Publication Manifest:

    Note: the Publication Manifest document was originally developed within a larger framework called "Web Publications". That line of work has been paused, but the manifest part of the document was re-used as the starting basis for Publication Manifest. The issues for Web Publications listed below are only for completeness, because they (partially) contributed to the development of the Publication Manifest (the relevant open issues were transferred to the pub-manifest repository):

  • Audiobooks:

Formal Objections

None.

Implementation

Testing Strategy for Publication Manifest and Audiobooks

Interested implementers for Publication Manifest and Audiobooks will be provided with a test suite using the Web Platform tests model. These specifications will be testing all MUST and SHOULD statements, and for Audiobooks, there will be additional manual User Agent Behavior tests. The Working Group will provide details for implementers on how to run the tests and assistance with any issues encountered. Implementers should log issues against the Github projects for visibility.

As Publication Manifest is largely a vocabulary of terms, a comparison of the vocabulary to the structures and metadata of the EPUB 3 Package Document will also be carried out. This comparison is intended to show that there is already real-world precedent in publishing for the information included in the manifest, and a pathway for translating EPUB content (and vice versa).

Additionally, implementations will need to show that they are capable of ingesting and transforming a manifest into an internal representation using the algorithm defined in the Publication Manifest document. These transforms ensure that any authoring conveniences used in the authored manifest are normalized and sanitized, and result in a predictable data structure.

Exit Criteria

Publication Manifest and Audiobooks must have at least 2 passing tests for each feature in the specifications. For the Audiobooks User Agent Behaviors tests, all implementations should meet all of the behavior requirements that are applicable to them.

Potential Implementations

The following institutions have already expressed their interest in implementing an audiobook reader: Colibrio, EDRLab, Rakuten/Kobo, Google, Blackstone Publishing. Two out of those (Colibrio and EDRLab) already have a running prototype.

There are also two experimental implementations (one in javascript and the other in typescript) that have been used to "test" the specification. Some more rigorous testing is still to come.

Patent Disclosures

See https://www.w3.org/2004/01/pp-impl/100074/status