View Single Post
Old 04-03-2010, 08:31 AM   #14
charleski
Wizard
charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.
 
Posts: 1,196
Karma: 1281258
Join Date: Sep 2009
Device: PRS-505
Quote:
Originally Posted by Valloric View Post
The "plist" used by the iPad/iTunes will not be added to epubs by default, but Sigil will add them if an option is selected, either on export or in an options screen.
It might be safer to let iTunes generate the plist. It contains a couple of hashes for the cover image and package as well as a unique ID that seems to be generated by iTunes. If you import an epub which already has a plist file in it then the ID and hashes are not regenerated, but iTunes will use the data from the plist rather than that from the opf.

I would presume that the hashes and Apple-assigned ID are important for books that are going to the iBookstore.

If Apple remains consistent with their past approach to iTunes data, then it's safe for 3rd-party apps to read iTunes-generated xml, but best not to try to write it.

BTW, iTunes will recognise the dc:creator opf:file-as attribute and use it to set the artist sort field. I tested a couple of the opf:role codes, but iTunes seems to ignore them. The first dc:creator entry is used as the artist name, no matter what the assigned role is.
charleski is offline   Reply With Quote