Programmatically handling collections
Hi all,
I'm writing some custom scripts for my ebook library, and I have a large number of PDF ebooks (~150) which I'd like to classify in collections.
Calibre can do this, but I was wondering if there was a way to set collection information directly in PDF properties. Storing the classification info in the PDFs would be nice, since it would be permanent, and wouldn't rely on calibre's database. Plus, it would be much easier to script.
I'm basically searching for a PDF field which the reader would read (just like it reads the title and author fields) and use as collection (possibly with support for multiple collections, separated in some way.
Is there such a PDF metadata field? Otherwise is there a simple way to tag pdf collection information programmatically (simple as in not having to do it manually through calibre).
Thanks for your help!
Wakata.
|