03-20-2013, 08:54 PM | #1 |
Enthusiast
Posts: 45
Karma: 14
Join Date: May 2010
Location: WI
Device: Kobo Forma
|
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 |
Grand Sorcerer
Posts: 11,734
Karma: 6690881
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
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. |
Advert | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
importing metadata into custom columns | taleia | Library Management | 4 | 10-03-2023 05:56 AM |
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 |