Thanks for explaining in detail, Eric!

It didn't do exactly what I wanted: have appropriately tagged tiddlers
to be (uniquely) included in the custom timeline rather than excluded
from it; and using multiple tags rather than one.

Some Javascript-guessing and -browsing later I got it to work:

replace

var myTag=params.shift();

by

var nr_params = params.length;
var myTag = [];
for(var i=0; i<nr_params; i++) {
        myTag[i] = params.shift();
}

and replace

if (tiddler.isTagged(myTag)) continue;

by

var belongs = false;
for (var i=0; i<nr_params; i++) {
        if (tiddler.isTagged(myTag[i])) belongs = true;
        }
if (belongs == false) continue;

And now <<myTimeline contenttype1 contenttype2 contenttype3>> looks
pretty as pie. :)

-- 
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.

Reply via email to