Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Library Management

Notices

Reply
 
Thread Tools Search this Thread
Old 03-20-2013, 08:54 PM   #1
eosrose
Enthusiast
eosrose began at the beginning.
 
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...?
eosrose is offline   Reply With Quote
Old 03-21-2013, 04:33 AM   #2
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
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.
chaley is offline   Reply With Quote
Advert
Reply


Forum Jump

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


All times are GMT -4. The time now is 08:30 PM.


MobileRead.com is a privately owned, operated and funded community.