I was looking at array.length = 7; // last 7 modified. .

Could this be added as an optional parameter to specify the number of
items to return?

Mike (using $2 instead of 7?)

On Apr 15, 12:04 pm, Tobias Beer <[email protected]> wrote:
> Make sure you have Eric's InlineJavascriptPlugin 
> installed:http://tiddlytools.com/#InlineJavascriptPlugin
>
> Then create a tiddler called 'taggedRecent'
> containing the following:
>
> <script>
> if('$1'!='$'+'1'){
>         var tids=
>         store.getTiddlers('modified','excludeLists').reverse();
>         for (var i=0; i<tids.length; i++){
>                 if(tids[i].tags.contains('$1')){
>                         wikify('![['+tids[i].title+']]\n'+
>                         store.getTiddlerText(tids[i].title),place);
>                         return;
>                 }
>         }
>         wikify('@@color:red;'+
>                 'No tiddler found tagging to \'$1\'!@@',place);}
>
> </script>
>
> In a tiddler of your choice, invoke the tiddler macro via transclusion
> like this:
> <<tiddler taggedRecent with: [[some Tag]]>>
>
> Related question For Eric:
> How would that be turned into a standalone transclusion without it
> wikifying the output twice?
>
> Tobias.

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