View Single Post
Old 04-12-2013, 01:22 PM   #12
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,465
Karma: 8025600
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by ParadiseLost View Post
Thank you chaley I do use a tag for each type of media. "Type.Magazine." Ill get to work on going that route.
This template should serve as a model.
Code:
program:
	in_list(field('tags'), ',', '^Type.Magazine$',
		template('{series:|[|}{series_index:0>2s| |]}'),
		template('{series:|[|}{series_index:0>2s| |] - }{title}'))
You put all of the above into the template box for save/send. Using the template editor will make that easier.

The ^ and $ around Type.Magazine are there to guarantee that the test matches exactly, not matching something like "A.Type.Magazine.Monthly".

Good luck.
chaley is offline   Reply With Quote