forEachTiddler - list tiddlers that are not tags?

69 views
Skip to first unread message

Ronen Teva

unread,
Oct 19, 2012, 7:11:16 PM10/19/12
to tiddl...@googlegroups.com
Can I use forEachTiddler to list all tiddlers that are not tags?

Thanks.

Igor Perković

unread,
Oct 20, 2012, 3:53:55 AM10/20/12
to tiddl...@googlegroups.com
<<forEachTiddler
where
'tiddler.tags.length == 0'
>>

from web page...

Eric Shulman

unread,
Oct 20, 2012, 4:58:00 AM10/20/12
to TiddlyWiki
On Oct 20, 12:53 am, Igor Perković <igorp.mail...@gmail.com> wrote:
> <<forEachTiddler where 'tiddler.tags.length == 0'

The above snippet will list all tiddlers that are not *tagged*.

However, the OP's question was:
> > ... list all tiddlers that are not tags?

That is, a list of tiddlers whose titles have not been used as tags on
any other tiddlers. To do this, you need a slightly different
conditional:

<<forEachTiddler where 'store.getTaggedTiddlers(tiddler.title).length
== 0'

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

Ronen Teva

unread,
Oct 20, 2012, 5:45:47 AM10/20/12
to tiddl...@googlegroups.com
It worked perfect, thanks!
Reply all
Reply to author
Forward
0 new messages