View Single Post
Old 01-28-2011, 12:44 PM   #177
jackie_w
Grand Sorcerer
jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.
 
Posts: 6,251
Karma: 16539642
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
Quote:
Originally Posted by chyron8472 View Post
I would like to create a plugboard that:

- Uses only the author's surname.

- Abbreviates certain series titles (ie. Lord of the Rings = LOTR)

how do I do that (any of it)?
I'm by no means an expert in templates and I'm not a Kindle user, but putting the following in your Plugboard may get you part way there:

Code:
Source template: {author_sort:re(([^\,]+)(\,|$)(.*),\1)}
Destination field: authors

Source template: {series:re(([^\s])[^\s]*(\s|$),\1)}{series_index:>2s|| - }{title}
Destination field: title
But if you have several authors called Smith, their books may be jumbled.

Last edited by jackie_w; 01-28-2011 at 12:50 PM. Reason: Caveat
jackie_w is offline   Reply With Quote