View Single Post
Old 02-26-2014, 02:52 PM   #12
Divingduck
Wizard
Divingduck ought to be getting tired of karma fortunes by now.Divingduck ought to be getting tired of karma fortunes by now.Divingduck ought to be getting tired of karma fortunes by now.Divingduck ought to be getting tired of karma fortunes by now.Divingduck ought to be getting tired of karma fortunes by now.Divingduck ought to be getting tired of karma fortunes by now.Divingduck ought to be getting tired of karma fortunes by now.Divingduck ought to be getting tired of karma fortunes by now.Divingduck ought to be getting tired of karma fortunes by now.Divingduck ought to be getting tired of karma fortunes by now.Divingduck ought to be getting tired of karma fortunes by now.
 
Posts: 1,166
Karma: 1410083
Join Date: Nov 2010
Location: Germany
Device: Sony PRS-650
@svda, this is possible, but only if you had no tags for your books. This is a situation I do not have for both tags and pubdate.

The example I gave use "(" by starting with a tag and ")" by ending with pubdate
You can modify it e.g. this way to have only the year in
Code:
{author_sort}/{author_sort}{series:| - |} {series_index:0>2s} - {title} {tags:| |, } {languages:||, } {:'format_date(raw_field('pubdate'),'yyyy')'|(|)}
But if you need condtional, then it is better to use the code from eschwartz.
Divingduck is offline   Reply With Quote