![]() |
#1 |
Connoisseur
![]() Posts: 65
Karma: 10
Join Date: Jun 2020
Device: Kobo Aura HD
|
Change authors format during add if no comma
Hi,
When i add a book , often the format for authors is "<first_name> <name>" and the authors sort is good : "<name>, <first_name>" But i want my authors with the same format than authors_sort. Have you an idea to convert the field authors when i add a book if a comma doesn't exit and do nothing otherwise ?. Thanks for your help (sorry for my bad english) |
![]() |
![]() |
![]() |
#2 |
Connoisseur
![]() Posts: 65
Karma: 10
Join Date: Jun 2020
Device: Kobo Aura HD
|
Firstly i tried to add a rule (preference/add action) like
change authors when regex like ~(.*)\s{1,}(.*)" AND not authors:"," whit authors_sort But it's doesn't work :/ |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,003
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
The Quality Check plugin has:
1) test for commas (or none) 2) a FIX to flip the selected results I know, this is after the fact ![]() |
![]() |
![]() |
![]() |
#4 |
Connoisseur
![]() Posts: 65
Karma: 10
Join Date: Jun 2020
Device: Kobo Aura HD
|
Yes Quality Check Plugin is great but i would prefer an arrow to copy authors_sort to authors as we already have one for authors to authors_sort.
|
![]() |
![]() |
![]() |
#5 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,408
Karma: 8012652
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Quote:
Also, in the Manage Authors dialog (right-click on Authors in the tag browser, choose Manage Authors) there is a button to copy author_sort to author for all authors. Last edited by chaley; 07-08-2020 at 05:08 AM. Reason: Added Manage Authors |
|
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Connoisseur
![]() Posts: 65
Karma: 10
Join Date: Jun 2020
Device: Kobo Aura HD
|
yes , thanks . It's not automatique when i add a book but i didn't see that . Goof tip .
|
![]() |
![]() |
![]() |
#7 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,408
Karma: 8012652
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
You can automatically change authors on added books using the "Rules to manipulate author names" in Preferences / Adding books / Adding actions tab / Control how authors are processed. The rule shown in the screen capture will change any author of the form "letters-without-comma surname" to "surname, letters-without-comma".
This rule will produce the wrong answer for any name with a suffix such as Fred Flintstone PhD (result: PhD, Fred Flintstone). It will also get the wrong answer for names with two part surnames such as Charles De Gaulle (result: Gaulle, Charles De). You will certainly want to inspect the authors to see if the result is what you want. For that reason I probably wouldn't use the rule at all, manually correcting authors in Edit Metadata. |
![]() |
![]() |
![]() |
#8 | |
Connoisseur
![]() Posts: 65
Karma: 10
Join Date: Jun 2020
Device: Kobo Aura HD
|
Quote:
For rares case where this rule is false , i can manage manually . You'r the best |
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Help with custom column format string to force a comma | jecilop | Library Management | 6 | 01-11-2023 08:22 PM |
Authors shelves hates comma | catimini | Kobo Reader | 29 | 06-02-2021 06:52 PM |
Change comma delimiter to semicolon in tags? | woodr2011 | Library Management | 10 | 09-21-2015 10:36 PM |
Change Format Order? Default Format View? | tgwdnghn | Library Management | 9 | 09-05-2015 04:02 AM |
Add authors without replacing the old ones | Viritys | Library Management | 0 | 02-10-2014 11:11 AM |