View Single Post
Old 11-04-2012, 12:56 PM   #7
GRiker
Comparer of the Ephemeris
GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.
 
Posts: 1,496
Karma: 424697
Join Date: Mar 2009
Device: iPad
Here's how I plan to implement the cross-referenced author feature.

When generating the By Authors section, scan for books with multiple authors. For each book with multiple authors, create clone entries per additional author. For each individual author, modify its clone so that the individual author is listed first among the multiple authors, with an author_sort value to match.

For example, if we have 'War of the Worlds' by H.G Wells & Josh Friedman & David Koepp, it will be listed three times in Authors.

Original Author/Author Sort:

Code:
H.G Wells & Josh Friedman & David Koepp / Wells, H.G & Friedman, Josh & Koepp, David
Cross-referenced Author/Author Sort:
Code:
H.G Wells & Josh Friedman & David Koepp / Wells, H.G & Friedman, Josh & Koepp, David
Josh Friedman & H.G. Wells & David Koepp / Friedman, Josh & Wells, H.G & Koepp, David
David Koepp & H.G Wells & Josh Friedman / Koepp, David & Wells, H.G & Friedman, Josh
The first entry would show up with the 'W' Authors, the second with the 'F' Authors, the third with the 'K' Authors. All entries would still list 3 authors with otherwise identical metadata.

Sound OK?

G
GRiker is offline   Reply With Quote