Quote:
Originally Posted by chaley
Code:
program:
a = list_intersection($ao3tags, 'tram, train, bus, ferry', ',');
list_union($#genre, a, ',')
|
I'm assuming one could use something similar to replace 'tram, train, bus, ferry' by lets say 'public transport' using the template functions. Still trying to wrap my head around this. But it looks very useful for what I'm trying to do. Because when you have quite a few items you want to amend it gets rather frustrating to use the built in search and replace option.
Also I'm not sure I understand how to use the template scope properly to search and then get the "template output is calibre search' using listed items.
I sort of got it to work, but I'm not sure I use this correctly:
Code:
#tags_show:"=tram" or
#tags_show:"=bus"
I'm looking for something like:
Code:
search(#tags_show, ('tram, bus')
I used to regex shit like this while downloading, but my personal.ini in FFF got way to long and it slowed my download immensely. Doing this afterwards makes more sense. Using action chains give me more control.