|03-20-2013, 08: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, 04:33 AM||#2|
"chaley", not "charley"
Join Date: Jan 2010
Device: Many android devices
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|
|Custom columns and metadata sources||kiwidude||Development||30||06-05-2014 01:36 AM|
|Order of Custom Columns in Metadata Editor||BetterRed||Calibre||2||08-29-2012 12:47 AM|
|Metadata and custom columns||dbolack||Development||9||03-05-2012 09:07 AM|
|Custom columns and epub metadata||xmodder||Library Management||7||11-22-2011 09:31 PM|
|importing metadata into custom columns||taleia||Library Management||3||07-07-2011 08:31 AM|