![]() |
#1 |
Zealot
![]() Posts: 116
Karma: 10
Join Date: Jun 2011
Location: Stockport, UK
Device: ipad, iphone, kindle
|
Easily swap LN,FN to FN LN for author?
Hi,
Just uploaded some new eBooks and some have LN,FN and others have FN LN I prefer FN LN, and having LN,FN has screwed up my Author Sort field :-( Try as I might I ca't find an easy way, once I've selected all the "incorrect" authors to swap LN & FN HELP!!! |
![]() |
![]() |
![]() |
#2 |
US Navy, Retired
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,896
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Kindle PaperWhite SE 11th Gen
|
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Zealot
![]() Posts: 116
Karma: 10
Join Date: Jun 2011
Location: Stockport, UK
Device: ipad, iphone, kindle
|
Hmmmmm by time sorted which to reimport will prob be easier to edit the authors individually :-(
Oh for the option to select a bundle and rejig the author names en masse :-( |
![]() |
![]() |
![]() |
#4 | |
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
|
Quote:
![]() Select Books to fix (suggest a particular pattern, grouping) Tap "E" Switch to the Search and Replace Tab. Build you pattern in the WYSIWYG (test) form ![]() ![]() |
|
![]() |
![]() |
![]() |
#5 |
Zealot
![]() Posts: 116
Karma: 10
Join Date: Jun 2011
Location: Stockport, UK
Device: ipad, iphone, kindle
|
OK, an old thread I know but don't get much time to play :-)
Try as I might I can't fathom a pattern to produce what I want As I see it I need to grab everything before a comma, =>LN, everything after (up to colon) => FN, output then becomes FN+space+LN+everything from colon onwards Then keep redoing until no more commas. So.... any coding wizzards wanna help?? |
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,408
Karma: 8012652
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Unless you really want to play with regular expressions, try the quality check plugin. It has the ability to change authors from FN LN to LN, FN and vice versa.
As for the regexp, I don't understand what you are trying to do. Why are there colons in author names? Are you trying to reimport the books and changing the import regular expression? Finally, and responding to your first post, if in the Author sort name algorithm tweak you set author_sort_copy_method = 'comma', then calibre will be able to cope with both FN LN and LN, FN names. Preferences -> Tweaks -> Author sort name algorithm. |
![]() |
![]() |
![]() |
#7 | |||
Zealot
![]() Posts: 116
Karma: 10
Join Date: Jun 2011
Location: Stockport, UK
Device: ipad, iphone, kindle
|
![]() Quote:
It doesn't handle badly formatted multiple authors for anyone else reading but it was a godsend!!! Quote:
Smith, Paul : Jones, Tom So I thought I would have to keep looping round until commas all gone using colons as delimiters for surnames..... however your answer meant I didn't :-) Quote:
But anyway, back to thread in question - all answered brilliantly ![]() ![]() |
|||
![]() |
![]() |
![]() |
#8 |
Old Dog
![]() Posts: 13
Karma: 10
Join Date: May 2011
Location: NC
Device: Kindle & iPad
|
When I save files to Single Directory it saves them with the title first - the author's first name, author's last name.
Before this upgrade it was: author's last name, first name - title How do I get that back? |
![]() |
![]() |
![]() |
#9 | |
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
|
Quote:
{author_sort} - {title} Note:this will not affect the INTERNAL structure of your Library (that is not what STD does) |
|
![]() |
![]() |
![]() |
#10 |
Old Dog
![]() Posts: 13
Karma: 10
Join Date: May 2011
Location: NC
Device: Kindle & iPad
|
Thanks...bless you!
|
![]() |
![]() |
![]() |
#11 |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 108
Karma: 810
Join Date: Jul 2012
Device: Kobo
|
On the issue of converting LN, FN to FN LN there was some additional helpful input last week from unboggling, chaley and kiwidude at the following link (although involving the use of regular expressions and/or templates):
https://www.mobileread.com/forums/sho...d.php?t=184507 |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Problem with Swap Author & Title. | scotmad | Calibre | 4 | 02-10-2011 02:24 PM |
Swap howdies? | durkinrobinson | Introduce Yourself | 12 | 09-06-2010 10:14 PM |
DR800 swap out 3G | nprnncbl | iRex | 3 | 06-07-2010 04:45 PM |
Swap Author With Tags | Kristo | Calibre | 0 | 03-08-2010 05:38 PM |
iLiad SWAP on iLiad | tirsales | iRex Developer's Corner | 16 | 09-01-2008 04:20 PM |