Thanks Tobias, the script is great. Your suggestion makes sense too, I
suppose it was a bit dangerous to filter by name in the first place.

On Aug 28, 8:24 pm, Tobias Beer <[email protected]> wrote:
> HiZans,
>
> I think your solution would be much cleaner and unambiguous if instead
> of name-searching you would use tagging.
>
> Just tag your notes with Tag_Category_A, Tag_Category_B, etc... then
> use the tagging macro in your notes-overview to list notes in each
> category, like so:
>
> !Notes in Tag_Category_A
> <<tagging Tag_Category_A>>
>
> !Notes in Tag_Category_B
> <<tagging Tag_Category_B>>
>
> Having your notes-categories tag to some overview tiddler called
> "Notes" you could automate this even one step further With
> InlineJavascriptPlugin and the list-macro:
>
> <script>
> var c,cats=store.getTaggedTiddlers("Notes"),out='';
> for(c=0;c<cats.length;c++){
>   out+='!Notes in '+
>            cats[c].title+
>            '\n<<list filter "[tag['+
>            cats[c].title+
>            ']][sort[-created]]">>\n';}
>
> return out;
> </script>
>
> You could as well script a search for "Notes" in the title of all
> tiddlers, but again, I would avoid such ambiguous undertakings.
>
> Cheers, 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