10-31-2017, 02:05 AM | #1 |
Enthusiast
Posts: 38
Karma: 10
Join Date: Aug 2013
Device: PW1, KAO (current)
|
Is it possible to force "Ln, Fn" for Author and Author sort?
I'm starting to notice that the comma is treated as a separator for two different authors. I'm trying to figure out how to make it so Ln, Fn is always the format... If that's not possible, I would settle for "Fn Ln" so long as it still sorted by the last name...
If anyone uses calibre, I would like advice on how to setup a plugboard to do this. |
10-31-2017, 02:44 AM | #2 | |
Wizard
Posts: 3,821
Karma: 19162882
Join Date: Nov 2012
Location: Te Riu-a-Māui
Device: Kobo Glo
|
Quote:
The author sort in the main Books tab sorts by last name and works correctly if you use "Fn Ln" format. It takes account of special words in the name such as "Jr.", but for multi-word surnames that are not recognised as special forms you will need to use a hard space to join the words of the surname together. The Calibre plugboard I use is shown in this post. Some example screenshots from my Glo in this post. Last edited by GeoffR; 10-31-2017 at 02:49 AM. Reason: Some example screenshots ... |
|
Advert | |
|
10-31-2017, 02:57 AM | #3 |
Grand Sorcerer
Posts: 24,907
Karma: 47303748
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Firstly, Kobo do not use a separate "author" and "author_sort" like calibre. They only read what is in the "author" field and then try and parse it as a name.
Yes, Kobo uses the comma as a separator for multiple names. But, it should be sorting on the last name of the first author. Code:
Ln1, Fn1 Fn1 Ln1 Fn1 Ln1 and Fn2 Ln2 Fn1 Ln1, Fn2 Ln2 Fn2 Ln2 Fn2 Ln2, Fn3 Ln3 Fn2 Ln2 & Fn3 Ln3 Fn4 Ln4 In the Authors list, only the comma is used as a separator. From the above authors we would have: Code:
Fn1 Ln1 Fn1 Ln1 Fn1 Ln1 and Fn2 Ln2 Fn2 Ln2 Fn2 Ln2 & Fn3 Ln3 Fn3 Ln3 Fn4 Ln4 A problem names like "Fn von Ln". This will treated as lastname "Ln" with first names "Fn von". Because of this, the authors part of the metadata plugboard I have been using for a while is: Code:
program: raw_list('authors', ', ') |
10-31-2017, 03:09 AM | #4 |
Enthusiast
Posts: 38
Karma: 10
Join Date: Aug 2013
Device: PW1, KAO (current)
|
Hmm. I'm okay with loading Fn Ln to my device, but I really don't want to modify my entire library to conform to it. Is there some way to modify that plugboard so that the author/author_sort input of "Ln, Fn" is modified to "Fn Ln" when sideloaded? Can regex be used in plugboards to accomplish this?
|
10-31-2017, 03:14 AM | #5 | |
Grand Sorcerer
Posts: 24,907
Karma: 47303748
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Quote:
My examples in my post above are from memory. But, before adopting the plugboard I did have an ampersand as the separator and did test the sorting, and I'm pretty sure that is how it worked. |
|
Advert | |
|
10-31-2017, 03:42 AM | #6 | |
Wizard
Posts: 3,821
Karma: 19162882
Join Date: Nov 2012
Location: Te Riu-a-Māui
Device: Kobo Glo
|
Quote:
A real world example: "John le Carré" (with a hard space between "le" and "Carré") sorts correctly under L in the Books list, but sorts after Z in the Authors tab. Last edited by GeoffR; 10-31-2017 at 04:11 AM. Reason: attached screenshots |
|
10-31-2017, 05:39 AM | #7 | |
Grand Sorcerer
Posts: 24,907
Karma: 47303748
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Quote:
|
|
10-31-2017, 06:30 AM | #8 | |
Wizard
Posts: 3,821
Karma: 19162882
Join Date: Nov 2012
Location: Te Riu-a-Māui
Device: Kobo Glo
|
Quote:
(There is a feedback tab on the website, but the new form you have to fill in now makes it clear that it is only for feedback about the website.) Edit: Okay, I got around this by leaving feedback on the website about the website feedback function. My suggestion was that thay allow feedback about things other than the website, and used the problems with the author last-name sort in the current firmware as an example of the sort of feedback I'd like to be able to leave. (BTW Kobo customer service has been great at solving problems within their ambit, but I don't see anything good coming from asking them for help with problems I know they have no way of solving.) Last edited by GeoffR; 10-31-2017 at 07:24 AM. Reason: Feedback workaround .... |
|
10-31-2017, 07:38 AM | #9 |
Grand Sorcerer
Posts: 24,907
Karma: 47303748
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
To report a problem, go to the help from the site. Then "Contact Kobo Customer Care" and choose your country. That takes you to a form which includes options to report problems with the ereaders.
|
10-31-2017, 02:53 PM | #10 | |
Enthusiast
Posts: 38
Karma: 10
Join Date: Aug 2013
Device: PW1, KAO (current)
|
The background and nuances are interesting, but I am still wondering if this is possible:
Quote:
|
|
10-31-2017, 05:14 PM | #11 |
I need a chapter break
Posts: 4,042
Karma: 56058267
Join Date: Mar 2015
Location: Israel
Device: Kobo Glo
|
Use Quality Check plugin, and modified all the books authors with comma to "Fn Ln".
Check metadata > Check authors with commas Fix > SWAP authors FL LN <> LN, FN Last edited by oren64; 10-31-2017 at 05:27 PM. |
10-31-2017, 07:16 PM | #12 | |
Grand Sorcerer
Posts: 24,907
Karma: 47303748
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Quote:
Or, is the problem you decided to use "Ln, Fn" in calibre for the author? If so, that is almost always a bad idea. Calibre does handle the author and author sort very well. If you prefer to see the author sort displayed, then you can have calibre display the author sort instead of the author in the book list. But, if all you want is to send the author sort in the author field to the device, the plugboard is simply: Code:
{author_sort} |
|
10-31-2017, 07:45 PM | #13 | ||
Enthusiast
Posts: 38
Karma: 10
Join Date: Aug 2013
Device: PW1, KAO (current)
|
Quote:
Quote:
Unless there's a good reason to not have "Ln, Fn" in Calibre as you've stated, but I don't really know what reason that could be. |
||
10-31-2017, 08:21 PM | #14 | |
Grand Sorcerer
Posts: 24,907
Karma: 47303748
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Quote:
The recommendation in calibre is to keep the metadata as their "natural" values (can't think of a better word right now). You can then massage this to display it in other ways. Calibre has good handling for the author and author sort, so using them makes sense. But, you should be able to write a template to do what you want. You can split on the comma and put the two parts back together. If no-one chimes in with solution, I'll have a think at home tonight. But, oren64's suggestion will also solve it overall. |
|
11-02-2017, 12:23 AM | #15 | |
Wizard
Posts: 3,821
Karma: 19162882
Join Date: Nov 2012
Location: Te Riu-a-Māui
Device: Kobo Glo
|
Quote:
For example: "Walter M. Miller Jr." (or "Walter M. Miller, Jr."), when written with surname first is "Miller, Walter M. Jr." (or "Miller, Walter M., Jr."). A simple regex that assumed everything after the comma was first names would not work. correctly in this case. |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
"author" and "author sort" fields | Peter2 | Library Management | 0 | 03-09-2011 01:04 PM |
Kindle "Sort by Author" is Sorting by First Name | SHydroxide | Calibre | 2 | 01-13-2011 09:47 AM |
Author sort not working consistently for "ln, fn" | kiwidude | Calibre | 5 | 10-16-2010 05:37 PM |
How do I turn off the red highlight around "author sort" | lunixer | Calibre | 5 | 09-19-2010 11:25 AM |
"Sort By Author" not sorting correctly within author's collection | Sonist | Amazon Kindle | 1 | 08-05-2009 07:52 PM |