fET grouped by tags set

57 views
Skip to first unread message

julien23

unread,
Sep 3, 2012, 4:31:44 PM9/3/12
to tiddl...@googlegroups.com
hi all

I am trying to modify Udo's fET example :
http://tiddlywiki.abego-software.de/#[[List%20all%20Tiddlers%2C%20grouped%20by%20Tags%20%28including%20tiddlers%20with%20no%20tags%29]]

I have a lot of "noise" tags I would like not considering. ex: startup, top2000 ...

How could I add a "noise tags list" not to considere in the code ?

Thanks

Julien

whatever

unread,
Sep 4, 2012, 6:36:01 AM9/4/12
to TiddlyWiki
Add the following:
where '!tiddler.tags.containsAny(["Tag1","Tag2","Tag N"])'
before the sortBy clause
If the tiddler tags contains any of those tags, it will not be shown.
I hope I understood correctly what you wanted. :)
w

julien23

unread,
Sep 5, 2012, 4:55:04 AM9/5/12
to tiddl...@googlegroups.com
Hi

Thanks Whatever

That is not exactly what I want to do.

Here is an example :
http://fet-grouped-by-tags-set.tiddlyspot.com/

password is : patuch

if you want to try some changes

Thanks

Julien

Eric Shulman

unread,
Sep 5, 2012, 7:19:48 AM9/5/12
to TiddlyWiki
> That is not exactly what I want to do.
> Here is an example :http://fet-grouped-by-tags-set.tiddlyspot.com/
> password is : patuch

whatever's solution skips over tiddlers that have any of the 'noisy'
tags. However, what you want to do is still output information about
the tiddlers that have those tags while simply omitting the noisy tags
from the display. To do this, you need to modify the
"getSortedTagsText(tiddler)" function, so that the noisy tags are not
included in the resulting 'tags text'.

Replace this:
for (var i = 0; i < tags.length;i++) {
result += tags[i]+ " ";
}
with this:
for (var i = 0; i < tags.length;i++) {
if (!["noise1","noise2"].contains(tags[i])) result += tags[i]+ " ";
}

enjoy,
-e
Eric Shulman
TiddlyTools / ELS Design Studios

HELP ME TO HELP YOU - MAKE A CONTRIBUTION TO MY "TIP JAR"...
http://www.TiddlyTools.com/#Donations

Professional TiddlyWiki Consulting Services...
Analysis, Design, and Custom Solutions:
http://www.TiddlyTools.com/#Contact

julien23

unread,
Sep 5, 2012, 8:12:35 AM9/5/12
to tiddl...@googlegroups.com
that's it

thanks
Reply all
Reply to author
Forward
0 new messages