aboutsummaryrefslogtreecommitdiff
path: root/epub/templates/content.opf
diff options
context:
space:
mode:
authorcedricbonhomme <devnull@localhost>2012-04-15 18:59:50 +0200
committercedricbonhomme <devnull@localhost>2012-04-15 18:59:50 +0200
commite6472738b5253aa328f8b2a4f4f2a23abc8582c2 (patch)
treec61704deed1d3cb37f5e3961794896c6dd115ba5 /epub/templates/content.opf
parentBetter use of datetime. (diff)
downloadnewspipe-e6472738b5253aa328f8b2a4f4f2a23abc8582c2.tar.gz
newspipe-e6472738b5253aa328f8b2a4f4f2a23abc8582c2.tar.bz2
newspipe-e6472738b5253aa328f8b2a4f4f2a23abc8582c2.zip
Reorganization of folders.
Diffstat (limited to 'epub/templates/content.opf')
-rw-r--r--epub/templates/content.opf34
1 files changed, 0 insertions, 34 deletions
diff --git a/epub/templates/content.opf b/epub/templates/content.opf
deleted file mode 100644
index 67f3f5c6..00000000
--- a/epub/templates/content.opf
+++ /dev/null
@@ -1,34 +0,0 @@
-<?xml version="1.0" encoding="utf-8" standalone="no"?>
-<opf:package xmlns:opf="http://www.idpf.org/2007/opf"
- xmlns:dc="http://purl.org/dc/elements/1.1/"
- xmlns:py="http://genshi.edgewall.org/"
- unique-identifier="bookid" version="2.0">
- <opf:metadata >
- <dc:identifier id="bookid">urn:uuid:${book.UUID}</dc:identifier>
- <dc:language>${book.lang}</dc:language>
- <dc:title>${book.title}</dc:title>
- <py:for each="name, role in book.creators">
- <dc:creator opf:role="$role">$name</dc:creator>
- </py:for>
- <py:for each="beginTag, content, endTag in book.getMetaTags()">
- ${Markup(beginTag)}$content${Markup(endTag)}
- </py:for>
- <opf:meta name="cover" content="${book.coverImage.id}" py:if="book.coverImage"/>
- </opf:metadata>
- <opf:manifest>
- <opf:item id="ncxtoc" media-type="application/x-dtbncx+xml" href="toc.ncx"/>
- <py:for each="item in book.getAllItems()">
- <opf:item id="${item.id}" media-type="${item.mimeType}" href="${item.destPath}"/>
- </py:for>
- </opf:manifest>
- <opf:spine toc="ncxtoc">
- <py:for each="_, item, linear in book.getSpine()">
- <opf:itemref idref="${item.id}" linear="${'yes' if linear else 'no'}"/>
- </py:for>
- </opf:spine>
- <opf:guide py:if="book.guide">
- <py:for each="href, title, type in book.getGuide()">
- <opf:reference href="$href" type="$type" title="$title"/>
- </py:for>
- </opf:guide>
-</opf:package>
bgstack15