View Single Post
Old 07-26-2012, 01:12 PM   #5
olig
Enthusiast
olig began at the beginning.
 
Posts: 32
Karma: 12
Join Date: Jul 2012
Device: Kindle 4nt 4.1.3 jailbreak
Ok... I think the 'intentional approach' might be the better idea. So you have to know what you do and add the right properties to your ODT document so that calibre will use them.

For this I would first check for a bool property 'opf.metadata'. If this is true, the metadata module will parse properties named opf.XXX and add them to the metadata, possibly overwriting stuff set before (original metadata module sets authors = creator, which needs not to be true).

The fields I currently see are:
opf.authors
opf.author_sort
opf.publisher
opf.pubdate
opf.isbn
opf.language

I have not yet found the preferred way of patch submission for the calibre project, and the forum does not allow file attachments. How should I submit the patch? (I already checked out the repository and the patch will be made with bzr)
olig is offline   Reply With Quote