> I want to write a list of all the tiddlers
> tiddlerFive own a part of (ei tiddlers that link to tidderFive FROM
> either field owneralpha or ownerbeta (=tiddlerOne and tiddlerTwo)).

Without using any plugins at all, you can create a tiddler (e.g.,
[[ShowList]]), containing:

/%
!out
$1
!end
%/<<tiddler ShowList##out with: {{
var out=[];
var target="$1";
var tids=store.getTiddlers();
for (var i=0;i<tids.length;i++) {
   var alpha=tids[i].fields.owneralpha;
   var beta=tids[i].fields.ownerbeta;
   if (alpha && alpha.contains(target)
      || beta && beta.contains(target))
         out.push("*[["+tids[i].title+"]]");
}
out.join("\n");}}>>

Then, embed the following in some other tiddler:
   <<tiddler ShowList with: TiddlerName>>
e.g.
   <<tiddler ShowList with: tiddlerFive>>

Note: to get a list for the *current* tiddler, you can pass it's
title, like this:
   <<tiddler ShowList with: {{tiddler.title}}>>

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

Reply via email to