Skip to content

Commit 160a8ea

Browse files
author
Ethan Winn
committed
Added metadata.xml file for epub/mobi.
Kindlegen requires title and author metadata. To generate a mobi file from a pandoc ebook, the pandoc ebook has to have that metadata via either code like this at the top: ``` % Title % Author ``` or via an external metadata file. In order to keep the markdown clean, I added as a separate file. Ebooks w/ metadata can then be created via the command ``` pandoc -f markdown -t epub --epub-metadata=metadata.xml -o backbone-fundamnetals.epub README.md ```
1 parent df48ac1 commit 160a8ea

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

metadata.xml

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
<dc:title>Developing Backbone.js Applications</dc:title>
2+
<dc:creator>Addy Osmani</dc:creator>
3+
<dc:rights>Creative Commons Attribution Non-Commercial Share Alike 3.0</dc:rights>
4+
<dc:language>en-US</dc:language>

0 commit comments

Comments
 (0)