View Single Post
Old 02-08-2018, 08:50 AM   #6
DeBig
Junior Member
DeBig began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Jan 2018
Device: Kobo Aura
Kovid, more thanks for your detailed answer, now I have a better understanding of Calibre design of "opf:file-as", an attribute of the book, that may contain references to all authors, and mainly used for directories organization.

I was confused because I based myself on the design of the epub standard, where "opf:file-as" is an attribute of a name, not of the book :

This specification recommends that the content of the creator elements hold the text for a single name as it would be presented to the Reader.
This specification adds to the creator element two optional attributes: role and file-as. The set of values for role are identical to those defined in Section 2.2.6 for the contributor element. The file-as attribute should be used to specify a normalized form of the contents, suitable for machine processing. For example, one might find

<dc:creator opf:file-as="King, Martin Luther Jr." opf:role="aut">Rev. Dr. Martin Luther King Jr.</dc:creator>


This standard is followed by quality epub publishers, such as the Gutenberg project - for instance :

<metadata>
<dc:identifier id="id" opf:scheme="URI">http://www.gutenberg.org/ebooks/52790</dc:identifier>
<dc:creator opf:file-as="Shelley, Mary Wollstonecraft">Mary Wollstonecraft Shelley</dc:creator>
<dc:creator opf:file-as="Shelley, Percy Bysshe">Percy Bysshe Shelley</dc:creator>
...

In substance, this design should be compatible with Calibre, using the opf:file-as of the first author as book_sort information, and the opf:file-as of each author as individual author_sort. I am very aware that a Calibre software update could be an heavy work, and I'm sorry I could not easily participate in this work (Calibre code, python). Hence my request for a bulk editing of the author table...

Bulk editing : I'm tired of doing "Manage Author" individually for each particular name, for each new dedicated Calibre Base !

Denis

Last edited by DeBig; 02-08-2018 at 09:06 AM.
DeBig is offline   Reply With Quote