Permalink
Browse files

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
```
  • Loading branch information...
1 parent df48ac1 commit 160a8ea620ea40906c3d0f03573e975fea1c3617 Ethan Winn committed Mar 4, 2012
Showing with 4 additions and 0 deletions.
  1. +4 −0 metadata.xml
View
@@ -0,0 +1,4 @@
+<dc:title>Developing Backbone.js Applications</dc:title>
+<dc:creator>Addy Osmani</dc:creator>
+<dc:rights>Creative Commons Attribution Non-Commercial Share Alike 3.0</dc:rights>
+<dc:language>en-US</dc:language>

0 comments on commit 160a8ea

Please sign in to comment.