Quote:
Originally Posted by chaley
I don't understand what your sequence of OR's is supposed to do. Series is either set or not set, but it appears in several of the OR'ed expressions. Title is always set but the OR's seem to account for it being empty. What selects which expression?
Going from your examples, this template produces the given answer
Code:
program:
if $series then
template('{series[0]}/{series}/{series_index:0>3s|| - } {title}/{pubdate:|| - }{title}')
else
template('{title[0]}/{title}/{pubdate:|| - }{title}')
fi
|
I was using just to explain what I need.
Thank you for the help, it's working.
Have a nice day!