|03-20-2013, 09:54 PM||#1|
Join Date: May 2010
Device: Sony PRS-T1
Custom columns to call up metadata from epub's opf?
I have a collection of epubs that include both author (<dc:creator opf:role="aut">) and artist (<dc:creator opf:role="art">) information in the opf. The author information displays just fine, but I think I need to create a column to display the artists. I'd rather not have to add this information from scratch. Is there any way to create a column that will read this information if it exists in the epub...?
|03-21-2013, 05:33 AM||#2|
"chaley", not "charley"
Join Date: Jan 2010
Device: PRS-300, Galaxy Nexus, Nexus 7, HTC Sensation, Galaxy Tab 10.1
No. Custom columns can read only the info in calibre's database for the book.
One way to get started would be to use the command line. Write a script/program that scans your library for epubs, extracts the OPF from the epub, extracts the artist information from that opf, then writes that information to a custom column using calibredb set_custom. The library scan could use a search to look for books that have not been processed, perhaps a tag or perhaps a boolean custom column.
|Thread Tools||Search this Thread|
|Thread||Thread Starter||Forum||Replies||Last Post|
|Order of Custom Columns in Metadata Editor||BetterRed||Calibre||2||08-29-2012 01:47 AM|
|Custom columns and metadata sources||kiwidude||Development||27||06-03-2012 07:56 PM|
|Metadata and custom columns||dbolack||Development||9||03-05-2012 10:07 AM|
|Custom columns and epub metadata||xmodder||Library Management||7||11-22-2011 10:31 PM|
|importing metadata into custom columns||taleia||Library Management||3||07-07-2011 09:31 AM|