> The first question: the For Each Tiddler plugin from abego could do
> this, to code below gives the first 5 tiddlers with user *name*:
>
> <<forEachTiddler
> where 'tiddler.modifier.contains("name")' ...

Unfortunately, this particular fET macro usage requires you to know in
advance all the usernames that you want to view, and then invoke the
macro multiple times to output the list of tiddler for those specific
names.

In contrast, you can embed the following little inline script in a
tiddler to automatically generate a nicely formatted bullet-indented
listing of "who wrote what" for *all* tiddlers, sorted by 'modifier':
-------------------------
<script>
        var out=[]; var who='';
        var tids=store.getTiddlers('modifier');
        for (i=0; i<tids.length; i++) { var t=tids[i];
                if (who!=t.modifier) {
                        who=t.modifier;
                        out.push('by '+who+':');
                }
                out.push('*[['+t.title+']]');
        }
        return out.join('\n');
</script>
-------------------------
(note: requires http://www.TiddlyTools.com/#InlineJavascriptPlugin)

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