> I know there are probably excellent TiddlyTools which would meet my need
> (and I use a number of them now) but I am expanding my appreciation for
> tagging and slicing and would like to get my hands in the guts, so to speak.

If you use
   http://www.TiddlyTools.com/#InlineJavascriptPlugin
you can embed the following script into your tiddler content:

<script>
   var out='';
   var fmt='* %0 (%1)\n';
   var tag='project';
   var slice='summary';
   var
tids=store.sortTiddlers(store.getTaggedTiddlers(tag),'modified').reverse();
   for (var i=0; i<tids.length; i++) {
      var t=tids[i].title;
      var s=store.getTiddlerSlice(t,slice);
      out += fmt.format([t,s]);
   }
   return out;
</script>

Note: 'fmt' is the output format for each matched tiddler, and uses %0
and %1 as *substitution markers* for the title and summary text,
respectively.  To produce the 2-line alternative format you described,
you could change 'fmt' to:
   var fmt='* %0\n**%1\n';
Similarly, to use a table format (for nicer column alignments):
   var fmt='|%0|%1|\n';

enjoy,
-e
Eric Shulman
TiddlyTools / ELS Design Studios
----------
Was this answer useful? If so, please help support TiddlyTools:

   TiddlyTools direct contributions: (paypal)
      http://www.TiddlyTools.com/#Donate
   UnaMesa tax-deductible contributions:
      http://about.unamesa.org/Participate (paypal)
   TiddlyWiki consulting:
      http://www.TiddlyTools.com/#ELSDesignStudios
      http://www.TiddlyTools.com/#Contact

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