Unique listing of all values in a field

125 views
Skip to first unread message

c pa

unread,
Oct 7, 2015, 11:17:33 PM10/7/15
to TiddlyWiki
I needed this so I wrote a filter to do it. This filter will return a unique listing of all values in a field. So if you are populating a field with a list of field titles (with a different list in each tiddler) Then this will return the unique listing.

I have the demo here:

http://cpashow.tiddlyspot.com/#Unique%20listing%20of%20all%20values%20in%20a%20field

I'll add it to the List Management demo soon once I've prettied up the explanation of how its used

Tobias Beer

unread,
Oct 8, 2015, 7:20:45 AM10/8/15
to TiddlyWiki
Hi c pa,

Just for your information.

Once I manage to do less other stuff and add the docs,
it should be part of the core soonish via...

each:list[some-list]

#1422 added list suffix for each filter
https://github.com/Jermolene/TiddlyWiki5/pull/1422

Best wishes,

— tb 

c pa

unread,
Oct 8, 2015, 3:18:18 PM10/8/15
to TiddlyWiki
>> it should be part of the core soonish via...

each:list[some-list]

Yes. I see that in the documentation. http://tiddlywiki.com/#each%20Operator

>> each:list
>> The value is treated as a title list. Each title in the list considered in turn. If it has not been encountered before, it is appended to the output.

When I tested it, it didn't work so I wrote the filter so I could move on with my project. Which release should the new functionality be in so I can update my code when that shows up?

Here's the test: (It returns the titles of the tiddlers rather than the contents of the list field)

<<version>>
<$list filter="[each:list[list]]">

</$list>


Tobias Beer

unread,
Oct 8, 2015, 3:51:39 PM10/8/15
to TiddlyWiki
Hi c pa,
 
Yes. I see that in the documentation. http://tiddlywiki.com/#each%20Operator

I noticed that today too, that the documentation
somehow already went up there but not the code. ;-)

Best wishes,

— tb 

Erwan

unread,
Oct 11, 2015, 7:20:05 PM10/11/15
to tiddl...@googlegroups.com

Hi c pa,

Would you agree to have your great wiki indexed in the CommunitySearch wiki maybe?

Best,
Erwan
--
You received this message because you are subscribed to the Google Groups "TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+...@googlegroups.com.
To post to this group, send email to tiddl...@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/5380aa34-10b5-4158-aaa4-3ef722d42efa%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

c pa

unread,
Oct 12, 2015, 12:41:49 PM10/12/15
to TiddlyWiki
Erwan,

The wiki is currently a mess with little documentation of what I've done but sure. I'll be improving it over time.

Erwan

unread,
Oct 12, 2015, 6:44:48 PM10/12/15
to tiddl...@googlegroups.com

Don't worry, I don't think that users of the CommunitySearch expect a high standard in terms of organized and well-documented content. Normally they are aware that the point is precisely to make a large variety of content available, even if it's not as polished as the official documentation.

Thank you!
Erwan



On 12/10/15 17:41, 'c pa' via TiddlyWiki wrote:
Erwan,

The wiki is currently a mess with little documentation of what I've done but sure. I'll be improving it over time.
--
You received this message because you are subscribed to the Google Groups "TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+...@googlegroups.com.
To post to this group, send email to tiddl...@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
Reply all
Reply to author
Forward
0 new messages