Transforms an EPUB 3 publication into an EPUB 3 publication with audio and/or a braille rendition.
If specified, the document must be a single
metadata or
package element. A
prefix attribute is
allowed on the root element. The metadata will be injected in the EPUB’s package document, possibly
overwriting existing metadata. This works as follows:
meta elements with a refines attribute must refine
elements within the metadata document itself. Elements that refine elements in the EPUB’s package
document will be dropped.meta
fields, same element name in case of dc:* fields) in the provided metadata document are omitted,
together with any meta elements that refine them.There are a number of fields that result in addional changes in the EPUB (apart from an updated
metadata section in the package document):
dc:identifier
fields, the first one without a refines attribute will be used to update the
unique-identifier
attribute on the package document. The dc:identifier metadata in the content documents can also be
aligned with it. This behavior can be enabled or disabled with the “Update elements based on EPUB metadata” option.dc:title fields, the
first one can also be used as the title element in the content documents. This behavior can be
enabled or disabled with the “Update dc:language field,
it can be used to update the xml:lang and lang attributes of the content documents. This
behavior can be enabled or disabled with the “Update ‘lang’ attributes based on metadata” option.Some fields are ignored:
dcterms:modified
field gets updated whenever Pipeline produces an EPUB. As a consequence, any dcterms:modified
fields in the provided metadata document are ignored.You may alternatively use the “mimetype” document if your input is a unzipped/”exploded” version of an EPUB.