> Is there a way to introduce $1 containing one or more tags to
> include/Exclude to such a script. Without knowing in advance how many
> additional tags need to be included/excluded ?
in [[SelectTiddlers]], write:
<script>
var tids=store.getTiddlers();
var match='$1'.split(',');
var exclude='$2'.split(',');
for (var i=0; i<tids.length; i++)
if (tids[i].tags.containsAll(match)
&& !tids[i].tags.containsAny(exclude)
store.setTiddlerTag(tids[i].title,true,'selected');
</script>
Then, in some other tiddler, you can invoke:
<<tiddler SelectTiddlers with: "list,of,tags,to,include"
"list,of,tags,to,exclude">>
enjoy,
-e
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"TiddlyWiki" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/TiddlyWiki?hl=en
-~----------~----~----~----~------~----~------~--~---