View Single Post
Old 01-03-2025, 03:42 AM   #3
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,453
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by Rellwood View Post
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

Last edited by chaley; 01-03-2025 at 05:22 AM.
chaley is offline   Reply With Quote