Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 57 lines (56 sloc) 2.001 kB
1434a9c @mizzy Initial commit
mizzy authored
1 <?xml version="1.0" encoding="utf-8"?>
2 <package unique-identifier="uid">
3 <metadata>
4 <dc-metadata xmlns:dc="http://purl.org/metadata/dublin_core"
5 xmlns:oebpackage="http://openebook.org/namespaces/oeb-package/1.0/">
6 <dc:Title>[% title %]</dc:Title>
7 <dc:Language>en-us</dc:Language>
8 [% FOREACH author IN authors -%]
9 <dc:Creator>[% author %]</dc:Creator>
10 [% END -%]
11 <dc:Description>[% description %]</dc:Description>
12 <dc:Date>[% date %]</dc:Date>
13 </dc-metadata>
14 <x-metadata>
15 <output encoding="utf-8" content-type="text/x-oeb1-document"></output>
16 <EmbeddedCover>[% cover_file %]</EmbeddedCover>
17 </x-metadata>
18 </metadata>
19 <manifest>
20 <item id="index" media-type="text/x-oeb1-document" href="index.html"></item>
21 <item id="toc" media-type="application/x-dtbncx+xml" href="toc.ncx"></item>
22 [% num = 1 -%]
b1dc812 @mizzy Support pats as higher level of chapters
mizzy authored
23 [% FOREACH part IN parts -%]
24 [% IF part.file -%]
25 <item id="item[% num %]" media-type="text/x-oeb1-document" href="[% part.file %]"></item>
1434a9c @mizzy Initial commit
mizzy authored
26 [% num = num + 1 -%]
27 [% END -%]
b1dc812 @mizzy Support pats as higher level of chapters
mizzy authored
28 [% FOREACH chapter IN part.chapters -%]
29 [% IF chapter.file -%]
30 <item id="item[% num %]" media-type="text/x-oeb1-document" href="[% chapter.file %]"></item>
31 [% num = num + 1 -%]
32 [% END -%]
33 [% FOREACH section IN chapter.sections -%]
34 <item id="item[% num %]" media-type="text/x-oeb1-document" href="[% section.file %]"></item>
35 [% num = num + 1 -%]
36 [% END -%]
1434a9c @mizzy Initial commit
mizzy authored
37 [% END -%]
38 [% END -%]
39 </manifest>
40 <spine toc="toc">
41 [% num = 1 -%]
b1dc812 @mizzy Support pats as higher level of chapters
mizzy authored
42 [% FOREACH part IN parts -%]
43 [% FOREACH chapter IN part.chapters -%]
44 [% FOREACH section IN chapter.sections -%]
45 <itemref idref="item[% num %]" />
46 [% num = num + 1 -%]
47 [% END -%]
1434a9c @mizzy Initial commit
mizzy authored
48 [% END -%]
49 [% END -%]
50 </spine>
51 <tours></tours>
52 <guide>
53 <reference type="toc" title="Table of Contents" href="index.html"></reference>
e6fde63 @mizzy some fixes
mizzy authored
54 <reference type="start" title="Startup Page" href="[% startup_page %]"></reference>
1434a9c @mizzy Initial commit
mizzy authored
55 </guide>
56 </package>
Something went wrong with that request. Please try again.