EPUB Manifest Role

Recommended Specification 26 August 2015

This version:
http://www.idpf.org/epub/vocab/package/roles/manifest/manifest-20150826.html
Latest version:
http://www.idpf.org/epub/vocab/package/roles/manifest/
Previous version:
http://www.idpf.org/epub/vocab/package/roles/manifest/manifest-20140423.html

Editors

Hadrien Gardeur (Feedbooks)

Markus Gylling (IDPF)

Matt Garrish, Invited Expert

Status of this Document

This section describes the status of this document at the time of its publication. Other documents may supersede this document.

This document has been reviewed by the IDPF membership and is endorsed by the IDPF Board as a Recommended Specification. This document is considered stable and may be referenced from other specifications and documents.

Feedback on this document can be provided to the EPUB Working Group's mailing list or issue tracker.

This document is governed by the IDPF Policies and Procedures.

1. Overview

1.1 Purpose and Scope

This section is informative

This specification, EPUB Manifest Role, defines the requirements for including a manifest of resources necessary for the processing and rendering of a collection [Publications301] in an EPUB® Publication .

1.2 Terminology

Refer to the EPUB Specifications for definitions of EPUB-specific terminology used in this document.

1.3 Conformance Statements

The keywords must, must not, required, shall, shall not, should , should not, recommended, may, and optional in this document are to be interpreted as described in [RFC2119] .

All sections of this specification are normative except where identified by the informative status label "This section is informative". The application of informative status to sections and appendices applies to all child content and subsections they may contain.

All examples in this specification are informative.

2. Manifest Collection

2.1 Introduction

A manifest collection is similar in nature to the Package Document manifest [Publications301], but typically identifies a subset of Publication Resources necessary for the rendering of a specific feature of the EPUB Publication.

For example, while the primary purpose of a preview collection [Previews] is to identify the EPUB Content Documents containing the sample content, a Reading System also needs to know the style sheets, images and other resources used in rendering in order to effectively extract the preview for viewing. The manifest collection allows these additional resources to be easily identified.

2.2 Format

A collection element's role attribute must be set to the value "manifest" to indicate that it contains a manifest.

Each manifest collection must contain only one or more link elements, where the IRI contained in each link element's href attribute must reference the location of a required resource. Specific implementations of the manifest collection may set restrictions on the types of resources that can be referenced.

The following example shows a possible manifest collection for one chapter of an EPUB Publication.

<collection role="manifest">
	<link href="chap01.html" type="application/xhtml+xml"/>
	<link href="main.css" type="text/css"/>
	<link href="interface.css" type="text/css"/>
	<link href="c01img01.jpg" type="image/jpeg"/>
	<link href="c01img02.jpg" type="image/jpeg"/>
	<link href="c01vid01.mp4" type="video/mp4"/>
</collection>

The link element children represent the set of Publication Resources necessary for processing the parent collection. The manifest collection should include a complete set of resources, including all Content Documents listed in the parent, but specific implementations of the collection may specify otherwise.

A manifest collection must be the child of another collection, and each collection should include only a maximum of one manifest collection.

References

Normative References

[Previews] EPUB Previews.

[Publications301] EPUB Publications 3.0.1.