View Single Post
Old 05-17-2012, 02:02 PM   #1
johnstephens
Junior Member
johnstephens began at the beginning.
 
johnstephens's Avatar
 
Posts: 8
Karma: 10
Join Date: May 2012
Location: Harrisonburg, VA - USA
Device: Kindle, Nook, iPad
XHTML to EPUB and MOBI: How to mark up metadata in source document

Hi!

I'm a web developer, and I want to mark up XHTML documents for quick conversion to EPUB and MOBI formats. Calibre handles my source documents very well, but I'd like to automate the process as much as possible— Is there any way to incorporate metadata in the XHTML source code in a way that Calibre can recognize? In particular, I'd like to specify an image URL to be used as the cover, author(s), a publisher, and keywords.

I note that Readability uses something similar to the hAtom microformat to extract article metadata, and I haven't incorporated that into my template yet. Can Calibre parse mircoformats or other data structures?

Thanks for your guidance!
johnstephens is offline   Reply With Quote