View Single Post
Old 07-20-2011, 05:30 AM   #79
pdurrant
The Grand Mouse 高貴的老鼠
pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.
 
pdurrant's Avatar
 
Posts: 71,506
Karma: 306214458
Join Date: Jul 2007
Location: Norfolk, England
Device: Kindle Voyage
Quote:
Originally Posted by siebert View Post
I'm not sure how multiple metadata entries are stored in the mobi file, but I would assume that it has just multiple entries with the same id?

Than it should be as easy as storing a list of strings instead of a single string in metadata[name] and for the output just iterate over the list.

Ciao,
Steffen
Oh, of course! Perhaps we could just store all metadata as a list, rather than a single object in the map.

Anyone better than me at Python like to give it a go?
pdurrant is offline   Reply With Quote