View Single Post
Old 09-30-2013, 06:24 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,463
Karma: 8025600
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by dKodiak View Post
Here is what you want... I was looking for the same thing and found it in a few different posts

{author_sort:'sublist(re($, '\.', ''),0,1,'&')'}/{series} {series_index:| [|] -} {title} ({pubdate}) /{title} - {authors:re($, '\.', '')}

Example of output

for An Oblique Approach, Belisarius series 1 by David L. Drake & Eric Flint

Drake, David L/Belisarius [1] - An Oblique Approach (pub date)/An Oblique Approach - David L Drake & Eric Flint.epub
Slight precision: the above template uses template program mode, not general program mode. In this case it is a good solution, but it wouldn't work properly if any of the function arguments were themselves template references.
chaley is offline   Reply With Quote