I've been using a script to produce a sitemap that shows level1 and
level2 tiddlers. At level2 my goal was to exclude tiddlers tagged
with Done. I thought I could do this with MatchTagsPlugin. But I
just noticed that my script isn't catching level2 tiddlers if a level1
title contains a dollar sign. Is there something I'm missing or
should I just avoid using dollar signs? I put up examples at
http://cmaristandard.tiddlyspot.com/ in case that helps. Here's the
script:
<script>
var out=""; var level1=""; var indent=" ";
var level1=store.sortTiddlers(store.filterTiddlers("[tag
[(Project)]]"),"title");
for (var g=0; g<level1.length; g++) {
out+="\n[["+level1[g].title+"]]";
var level2=store.sortTiddlers(store.filterTiddlers("[tag[("+level1
[g].title+" AND NOT Done)]]"),"title");
if (level2.length>0) {
out+=" ("+level2.length+")";
for (var m=0; m<level2.length; m++) {
out+="\n"+indent+"•
[["+level2[m].title+"]] \n";}
}
out+="\n";
}
return out;
</script>
thanks for any help!
cmari
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---