This begs for a solution similar to *x-plore* [1] for TW2, which...
- only indexes any tiddler once
- excludes tiddlers from being indexed
- truncates the output tree at specified tiddlers
Please excuse the non-commented spaghetti code from back then.
In short, I don't think the core provides an (output) interface to
meaningfully traverse tiddlers across levels.
So, this will likely require a js macro, plugin, widget of its own, e.g.
<$traverse root="Foo" exclude="[tag[bar]][prefix[$]]"
truncate="[tag[admin]]" output=flat mode=tagging/>
...whereas:
- *root*
- a filter expression specifying root nodes for the traversal
(tree[s])
- default: default tiddlers
- *exclude*
- a filter expression specifying tiddlers that are not to be indexed
or further traversed
- default: <none>
- *truncate*
- a filter expression specifying tiddlers that are indexed but not
further traversed
- default: <none>
- *output*
- an output mode, e.g. a tree or a flat list
- default: tree
- *mode*
- what relation to index, e.g. tagging, tags, referencing, referenced
by, listing, listed, any, etc...
- default: any
[1] click on x-plore toolbar button at http://tbgtd.tiddlyspot.com/#x-plore
— tb
--
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 [email protected].
To post to this group, send email to [email protected].
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/aa931397-f2eb-4b60-80ef-f2df2f4a6607%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.