View Single Post
Old 05-22-2011, 11:44 AM   #4
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,870
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
On 3: I dont see why you would need to do that in the source plugins. Simply create an attribute named extra_metadata = {field1: val1, field2 : val2, ...}

Do some kind of merging on extra_metadata for results from all sources. Return a result that contains extra_metadata from the identify function. Leave it up to the consumer of the result to map the data from fields to custom cols.
kovidgoyal is online now   Reply With Quote