Re: [tw] Re: Multiple tag filtering
Thank you Eric for clarifying that. I will give it a shot and compare it with the plugin I've started using. Alex. On Wednesday 27 March 2013, Eric Shulman wrote: http://www.tiddlytools.com/#MatchTagsPlugin Tiddlytools is an awesome site, but I've always felt it could use a bit more information. Just looking at what's on that page, it's hard to tell if that plugin can really do what I want. I guess I'll try it out, if I don't find another solution using core commands. In addition to adding a matchTags macro, MatchTagsPlugin automatically extends the TWCore tag filter handler so that the [tag[...] syntax allows you to use standard Boolean logic syntax (AND/OR/NOT) within the list macro, like this: list filter [tag[TagA AND TagB]] Use of nested parentheses in the Boolean syntax allows for complex combinations of tags to be specified in a familiar, easily-readable form: list filter [tag[(TagA AND TagB) OR (TagC AND NOT (TagD OR TagE))]] 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 -- - http://www.alexsgarcia.com/ http://www.myspace.com/asglyrics Music Videos : http://mvdbase.com [database] http://www.freelists.org/list/mv [mailing-list] - -- 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 tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
[tw] Re: Multiple tag filtering
Check out http://www.tiddlytools.com/#MatchTagsPlugin I think it is also possible to use core commands for complex filters but I'm uncertain of the syntax. Also, in case it's tiddlyspce you're using I think there are yet further filters available. In the growing tw.org http://tiddlywiki.org/#Filters (mainly thanks to Tobias Beer I think) there are some basic explanations on filters and related. It would be nice if more complex examples could be shown. :-) On Tuesday, March 26, 2013 3:44:41 PM UTC+1, Alex S. Garcia wrote: Hi all, I've been playing a lot with filters lately, but there are cases where I find it a bit tedious. And I suddenly wondered if there would be an easier way to handle this... Let's take an example. Say I have a music file listing artists from various countries. Now I can do this: list filter [tag[UK]] And that will list all of those from the UK. I also can do this : list filter [tag[band]] To list only bands (as opposed to solo artists). But... how would I pull up a list of tiddlers that have BOTH the UK *and* the band tag, thus not showing American solo artists, for instance. Is it possible? I've started going through my tags, changing them to solo_USA and band_USA to resolve the issue, but it's tedious and I'm wondering if there is an easier (and more flexible) way of doing this? Thanks. Alex. -- - http://www.alexsgarcia.com/ http://www.myspace.com/asglyrics Music Videos : http://mvdbase.com [database] http://www.freelists.org/list/mv [mailing-list] - -- 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 tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
[tw] Re: Multiple tag filtering
Hi Alex, If I'm not mistaken, using AND logic is possible with the list macro using... list filter [tag[TagA]][tag[TagB]] Cheers, Tobias. -- 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 tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Re: [tw] Re: Multiple tag filtering
Tobias: If I'm not mistaken, using AND logic is possible with the list macro using... list filter [tag[TagA]][tag[TagB]] I'd tried that (and a few other syntaxes) but what this one does is not quite what I was trying to achieve... it ends up listing tiddlers that have *either* one of these two tags, so that I end up with a list twice the expected size, ha! I'm sure there must be a way of doing this, though, hmm... Mat: Check out http://www.tiddlytools.com/#MatchTagsPlugin Tiddlytools is an awesome site, but I've always felt it could use a bit more information. Just looking at what's on that page, it's hard to tell if that plugin can really do what I want. I guess I'll try it out, if I don't find another solution using core commands. I think it is also possible to use core commands for complex filters but I'm uncertain of the syntax. Also, in case it's tiddlyspce you're using I think there are yet further filters available. Nah, the file is on my own server, so I don't have access to anything fancy. Alex. -- - http://www.alexsgarcia.com/ http://www.myspace.com/asglyrics Music Videos : http://mvdbase.com [database] http://www.freelists.org/list/mv [mailing-list] - -- 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 tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
[tw] Re: Multiple tag filtering
Hello Alex, A long time ago Jon Robson was working on a filter plugin to extend the existing syntax which was experimental. I don't know if he kept developing it further. However if does exactly what you want (I think). It's called AdvancedFilterTiddlersPlugin [1]. The syntax you may need with this plugin is thus: list filter [tag[TagA]tag[TagB]] Best regards, Julio [1] http://jonrobson.me.uk/development/AdvancedFilterTiddlersPlugin/ On Tuesday, March 26, 2013 10:44:41 AM UTC-4, Alex S. Garcia wrote: Hi all, I've been playing a lot with filters lately, but there are cases where I find it a bit tedious. And I suddenly wondered if there would be an easier way to handle this... Let's take an example. Say I have a music file listing artists from various countries. Now I can do this: list filter [tag[UK]] And that will list all of those from the UK. I also can do this : list filter [tag[band]] To list only bands (as opposed to solo artists). But... how would I pull up a list of tiddlers that have BOTH the UK *and* the band tag, thus not showing American solo artists, for instance. Is it possible? I've started going through my tags, changing them to solo_USA and band_USA to resolve the issue, but it's tedious and I'm wondering if there is an easier (and more flexible) way of doing this? Thanks. Alex. -- - http://www.alexsgarcia.com/ http://www.myspace.com/asglyrics Music Videos : http://mvdbase.com [database] http://www.freelists.org/list/mv [mailing-list] - -- 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 tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Re: [tw] Re: Multiple tag filtering
Hi Julio, A long time ago Jon Robson was working on a filter plugin to extend the existing syntax which was experimental. I don't know if he kept developing it further. However if does exactly what you want (I think). It's called AdvancedFilterTiddlersPlugin [1]. The syntax you may need with this plugin is thus: list filter [tag[TagA]tag[TagB]] Yes! That's exactly what I need. I installed it and... it works perfectly! Thank you so much for this. It's going to save me a lot of headaches ;-) Awesome. Alex. -- - http://www.alexsgarcia.com/ http://www.myspace.com/asglyrics Music Videos : http://mvdbase.com [database] http://www.freelists.org/list/mv [mailing-list] - -- 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 tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
[tw] Re: Multiple tag filtering
http://www.tiddlytools.com/#MatchTagsPlugin Tiddlytools is an awesome site, but I've always felt it could use a bit more information. Just looking at what's on that page, it's hard to tell if that plugin can really do what I want. I guess I'll try it out, if I don't find another solution using core commands. In addition to adding a matchTags macro, MatchTagsPlugin automatically extends the TWCore tag filter handler so that the [tag[...] syntax allows you to use standard Boolean logic syntax (AND/OR/NOT) within the list macro, like this: list filter [tag[TagA AND TagB]] Use of nested parentheses in the Boolean syntax allows for complex combinations of tags to be specified in a familiar, easily-readable form: list filter [tag[(TagA AND TagB) OR (TagC AND NOT (TagD OR TagE))]] 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 -- 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 tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
[tw] Re: Multiple tag filtering
On Mar 26, 10:25 pm, Eric Shulman elsdes...@gmail.com wrote: http://www.tiddlytools.com/#MatchTagsPlugin Errata: macro examples in my previous post need quotes around tag expressions because they contain spaces. Thus: list filter [tag[TagA AND TagB]] and list filter [tag[(TagA AND TagB) OR (TagC AND NOT (TagD OR TagE))]] -e -- 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 tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki?hl=en. For more options, visit https://groups.google.com/groups/opt_out.