Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
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...
commit 160a8ea620ea40906c3d0f03573e975fea1c3617 1 parent df48ac1
eethann eethann authored
Showing with 4 additions and 0 deletions.
  1. +4 −0 metadata.xml
4 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>
Please sign in to comment.
Something went wrong with that request. Please try again.