Quote:
Originally Posted by Rellwood
I want to send some anthologies to my Kindle, but the way Amazon separates multiple authors is by a semicolon.
I have the plugboard to send author sort in the author field so it at least is sorted correctly, but how can I get the ampersands to change to semicolons?
|
Change the plugboard template to
Code:
program: re($author_sort, ' & ', '; ')
EDIT: FWIW: a Kobo requires something similar, changing the separator to a comma and passing the authors FN LN. My authors are LN, FN. I use this plugboard to make the changes:
Code:
program:
comma = '';
res = '';
for author in $authors separator '&':
res = strcat(res, comma, swap_around_comma(author));
comma = ', '
rof;
res