On Jun 25, 9:32 am, Alex Hough <[email protected]> wrote:
> The external resources on tw.org [1] are not clear to me. However, I
> am thinking that using this built in function would be better than
> some plugin solutions. This would reduce 'plugin dependency' which i
> am now convinced is not a good thing.
>
> ALex
>
> http://tiddlywiki.org/wiki/Filtering
at the bottom of that wiki page is a section called "External
links"... included there is a link to this thread from way back in
December, 2007:
http://groups.google.com/group/TiddlyWiki/browse_thread/thread/db7259852b1e706d/b8b83a918a770cdb?#b8b83a918a770cdb
in which I explained the filtering syntax that had just been added to
TW2.3.0.
Here's a repost:
--------------
This new syntax extends the familiar "space-separated list of
tiddlers" (as used in DefaultTiddlers and many other places).
"[tag[value]]" is automatically 'expanded' to a list of all tiddlers
that match the given tag value, while "[sort[+/-fieldname]]" sorts the
list of tiddlers by the specified field name, with a prefix of "+" or
"-" to indicate an ascending or descending sort order.
For example:
SomeTiddler [tag[sometag]] SomeOtherTiddler [sort[+title]]
is a list that includes SomeTiddler and SomeOtherTiddler, PLUS all
tiddlers tagged with "sometag"... all sorted alphabetically.
Another example... if you enter
ThisTiddler ThatTiddler MyTiddler YourTiddler [sort[-modified]]
as the content for [[DefaultTiddlers]], then your document will always
start with the same four specified tiddlers showing, but will display
the more recently changed tiddlers first.
--------------
Note: if you want to apply more complex tag matching criteria using
Boolean logic (and, or, not, and nested parentheses), e.g.:
[tag[foo OR (bar AND baz) AND NOT (mumble AND (frotz OR gronk))]]
then you still want to use this plugin:
http://www.TiddlyTools.com/#MatchTagsPlugin
http://www.TiddlyTools.com/#MatchTagsPluginInfo
enjoy,
-e
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"TiddlyWiki" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/TiddlyWiki?hl=en
-~----------~----~----~----~------~----~------~--~---