Metadata
An EPUB can contain additional information about your book in the form of metadata. E-reader, websites and e-book management software can then use this information to for example improve your user experience. For example, Calibre can sort e-books based on author, publisher, title, etc.
Metadata Passage
If you create a special passage in Twine with the name metadata
that contains this metadata, Spiner will automatically put that information on the resulting EPUB output.
Meta | Number | Description |
---|---|---|
identifier | 1 or more | Unique identifier for your book such as UUID, DOI, ISBN or ISSN. |
title | 1 or more | Title of your book. |
language | 1 or more | Language of your book in the form specified by RFC5646 (e.g. en-US ). |
contributor | 0 or more | |
creator | 0 or more | |
date | 0 or more | |
description | 0 or more | |
format | 0 or more | |
publisher | 0 or more | |
rights | 0 or more | |
subject | 0 or more | |
type | 0 or more |
For example, your metadata
passage could contain the following content:
<xtw-metadata>
<title>My Title</title>
<language>en-US</language>
<identifier scheme="isbn">9780000000001</identifier>
<creator>The creator</creator>
<contributor>A contributor</contributor>
<publisher>The publisher</publisher>
<subject>Subject</subject>
<description>Lorum ipsum dolor sit amet.</description>
<date>2000-01-01T00:00:00Z</date>
<type>Type</type>
<format>Format</format>
<rights>Rights</rights>
</xtw-metadata>
Updated about 5 years ago