View Single Post
Old 11-14-2008, 01:14 PM   #174
AZed
Connoisseur
AZed has a complete set of Star Wars action figures.AZed has a complete set of Star Wars action figures.AZed has a complete set of Star Wars action figures.AZed has a complete set of Star Wars action figures.
 
Posts: 57
Karma: 307
Join Date: Oct 2008
Device: PalmOS PDA
Quote:
Originally Posted by DaleDe View Post
Actually library management software should make this sort of fix unnecessary. The management display should automatically figure this out based on the presence of the comma although some complicated names may need some help.
It's actually slightly more complicated than that. This is on the ToDo list for either v0.3 or v0.4 of EBook::Tools (probably 0.4, since 0.3 has been delayed longer than I wanted already, and I really don't know how to solve this well yet), and you have to discriminate between:

John de Camp, Ph. D.
John de Camp, Ph.D.
de Camp, John, Ph.D.
cummings, e. e.
Doe, John

To make matters worse, fixing the actual text of the dc:creator element is technically the wrong solution -- the machine-sorted name is supposed to be in the opf:file-as attribute, and the text is supposed to contain the byline version of the name. Unfortunately, you pretty much have to abuse the text component this way because popular-but-broken library implementations like Mobipocket Reader ignore the file-as attribute completely.
AZed is offline   Reply With Quote