[tw] Re: [TW5] Tag filter

2014-06-28 Thread Jon
Thanks Stephan, that works but it means I have to specify the tags I don't want to include which isn't practical for my use case. In reality, there are more tags than this. A is the category and B,C ,D etc are subcategories. I want to filter out only the main category which has not been

[tw] Re: [TW5] Tag filter

2014-06-28 Thread Matabele
Hi I ran across a similar problem when developing my gTiD system: http://wills.tiddlyspot.com/ My solution was to use fields rather than tags, since tiddlers can be filtered according to a match with the value of a field. This technique doesn't quite answer your question, but provides a work

[tw] Re: [TW5] Tag filter

2014-06-28 Thread Jon
Thanks, Matabele. This will encourage me to investigate fields but filtering on tags would be the ideal, if possible. Jon. On Saturday, 28 June 2014 07:49:56 UTC+1, Matabele wrote: Hi I ran across a similar problem when developing my gTiD system: http://wills.tiddlyspot.com/ My solution

[tw] Re: [TW5] Tag filter

2014-06-28 Thread Stephan Hradek
Try [field:tags[A]] But this means that you will not be able to use any other tag at all for those tiddlers. -- 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

[tw] Re: [TW5] Tag filter

2014-06-28 Thread Stephan Hradek
Am Samstag, 28. Juni 2014 10:00:13 UTC+2 schrieb Stephan Hradek: Try [field:tags[A]] But this means that you will not be able to use any other tag at all for those tiddlers. After reading I thought, I should clarify: This means: For you main category tiddlers it is then not possible

[tw] Re: [TW5] Tag filter

2014-06-28 Thread Jon
OK. I'm really surprised that what appears to a novice as a simple thing, turns out to be a lot harder to achieve. Thanks,Jon On Saturday, 28 June 2014 09:03:08 UTC+1, Stephan Hradek wrote: Am Samstag, 28. Juni 2014 10:00:13 UTC+2 schrieb Stephan Hradek: Try [field:tags[A]] But this

[tw] Re: [TW5] Tag filter

2014-06-28 Thread Jon
Just in case this makes a difference, what I actually want to do is this: Gives the list of tiddlers tagged with A B {{{ [tag[A]tag[B]] }}} and then to show tiddlers *only* tagged with A Thanks, Jon On Saturday, 28 June 2014 11:14:16 UTC+1, Jon wrote: OK. I'm really surprised that what

[tw] Re: [TW5] Tag filter

2014-06-28 Thread Stephan Hradek
Am Samstag, 28. Juni 2014 12:26:20 UTC+2 schrieb Jon: Just in case this makes a difference, what I actually want to do is this: Gives the list of tiddlers tagged with A B {{{ [tag[A]tag[B]] }}} and then to show tiddlers *only* tagged with A I don't get it. Why filter for A B and then

[tw] Re: [TW5] Tag filter

2014-06-28 Thread Jon
Hi Stephan A is the overall category and B, C etc are the subcategories. I want to show tiddlers tagged with B which belong to the category A (category B may also be applied to another category Z) I also want to show tiddlers with the overall category A which have not yet received a

[tw] Re: [TW5] Tag filter

2014-06-28 Thread Matabele
Hi You could use nested list filters: $list filter=[tag[A]] ul$list filter=[tag[B]]li$link to={{!!title}}$view field=title//$link/li/$list/ul /$list and $list filter=[tag[A]] ul$list filter=[!tag[B]]li$link to={{!!title}}$view field=title//$link/li/$list/ul /$list regards On Saturday,

[tw] Re: [TW5] Tag filter

2014-06-28 Thread Jon
I feel like I'm asking for the moon now, but I don't want to have to specify the other tags I don't want - it just wouldn't be practical. I just want to be able to select those tiddlers tagged with only A without specifying the other tags. Thanks, Jon. On Saturday, 28 June 2014 12:15:25 UTC+1,

[tw] Re: [TW5] Tag filter

2014-06-28 Thread Stephan Hradek
Sorry Jon, but all of your requirements sound rather contradictory to me. Could you upload a working example somewhere (e.g. tiddlyspot.com) so that we see what you mean? I can't promise I can look at it this weekend, but I'll try to. -- You received this message because you are subscribed to

Re: [tw] Re: [TW5] Tag filter

2014-06-28 Thread Xavier Cazin
Interesting puzzle! What about [field:tags/^A$/] ? Regards, Xavier. -- Xavier Cazin On Sat, Jun 28, 2014 at 12:26 PM, Jon fiveri...@gmail.com wrote: Just in case this makes a difference, what I actually want to do is this: Gives the list of tiddlers tagged with A B {{{ [tag[A]tag[B]] }}}

Re: [tw] Re: [TW5] Tag filter

2014-06-28 Thread Stephan Hradek
Am Samstag, 28. Juni 2014 14:29:04 UTC+2 schrieb Xavier: Interesting puzzle! What about [field:tags/^A$/] ? Looks good. Even field:tags/\bA\b/ sounds feasible -- You received this message because you are subscribed to the Google Groups TiddlyWiki group. To unsubscribe from this group and

Re: [tw] Re: [TW5] Tag filter

2014-06-28 Thread Xavier Cazin
Am Samstag, 28. Juni 2014 14:29:04 UTC+2 schrieb Xavier: Interesting puzzle! What about [field:tags/^A$/] ? Looks good. Even field:tags/\bA\b/ sounds feasible Testing in http://tiddlywiki.com/#:%24%3A%2FAdvancedSearch, with the tag task, the \b doesn't prevent other tags to be present. The

[tw] Re: [TW5] Tag filter

2014-06-28 Thread Jon
Hi Stephan, I don't use tiddlyspot etc and haven't got time to get my head round it. What I'm asking is very straight forward and simple (although I understand that the solution may be much more difficult), so I don't think uploading anything will help further. It's simply this - to filter

[tw] Re: [TW5] Tag filter

2014-06-28 Thread Eric Shulman
On Saturday, June 28, 2014 7:49:40 AM UTC-7, Jon wrote: It's simply this - to filter tiddlers that only have a single tag eg. A and only using that tag in the filter (rather than not B, C, D etc.) I think Stephan already described the syntax for this [field:tags[A]] which selects all

[tw] Re: [TW5] Tag filter

2014-06-28 Thread Jon
Would this mean I would need to enter a field value of A into each tiddler I wanted to filter? If so, that wouldn't be practical either. I just want to filter on the actual tag. Thanks, Jon On Saturday, 28 June 2014 16:22:48 UTC+1, Eric Shulman wrote: On Saturday, June 28, 2014 7:49:40 AM

Re: [tw] Re: [TW5] Tag filter

2014-06-28 Thread Xavier Cazin
Would this mean I would need to enter a field value of A into each tiddler I wanted to filter? If so, that wouldn't be practical either. I just want to filter on the actual tag. No, Stephan's solution just works because the tags of a tiddler are actually contained in a field that is called

Re: [tw] Re: [TW5] Tag filter

2014-06-28 Thread Jon
Hi Xavier, Yes, I clicked on the i button and I see what you mean. I've played around with Stephan's suggestion, but I just don't know enough to make it work. This is what I have at the moment {{{ [tag[A]] }}} which is pasted into a tiddler. Could you please adapt this to include Stephan's

Re: [tw] Re: [TW5] Tag filter

2014-06-28 Thread Jon
So, {{{ [field:tags[A]] }}} doesn't work On Saturday, 28 June 2014 18:02:28 UTC+1, Jon wrote: Hi Xavier, Yes, I clicked on the i button and I see what you mean. I've played around with Stephan's suggestion, but I just don't know enough to make it work. This is what I have at the moment

Re: [tw] Re: [TW5] Tag filter

2014-06-28 Thread Xavier Cazin
In order to work on something real, let me replace your *A* tag by *task*: then {{{ [tag[task]] }}} in any tiddler of tiddlywiki.com produces the list: Compose ballad http://tiddlywiki.com/#Compose%20ballad Get the Ring http://tiddlywiki.com/#Get%20the%20Ring Go to Mordor

Re: [tw] Re: [TW5] Tag filter

2014-06-28 Thread Jon
Hi Xavier, I did exactly what you've demonstrated here and got the same results but I couldn't get it to work in my own wiki because when I used the {{{ [field:tags[A]] }}} example, there were no results - I just thought I hadn't included the syntax correctly. Then I realised that as another

[tw] Re: [TW5] Tag filter

2014-06-27 Thread Stephan Hradek
[tag[A]!tag[B]!tag[C]] -- 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+unsubscr...@googlegroups.com. To post to this group, send email to