> What I need is a list of tiddlers (preferably in a sortable table),
> which this tiddler refers to via tags - Just a simple <<tags>> - but
> with the ability to exclude certain tags/tiddlers from the list...
Using InlineJavascriptPlugin (plus TableSortingPlugin), you can write:
<script>
var out=[];
var exclude=['tag1','tag2','tag3'];
var fmt='|%0|';
var here=story.findContainingTiddler(place); if (!here) return;
var tid=store.getTiddler(here.getAttribute('tiddler'));
if (tid.tags.length) out.push('|tags|h\n|sortable|k');
for (var t=0; t<tid.tags.length; t++)
if (!exclude.contains(tid.tags[t]))
out.push(fmt.format([tid.tags[t]]));
return out.join('\n');
</script>
enjoy,
-e
Eric Shulman
TiddlyTools / ELS Design Studios
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---