Evan and Tobias, after having done some thinking, I have finally decided
that I agree with you. Without js, we seem to have hit a brick wall. (I
could of course have just trusted you on this, but felt compelled to
discover it for myself.)

Tobias, your plugin seems to be a good start. If I am not mistaken, it
would need to be modified slightly to do what I want. Specifically, I would
need it to have another filter parameter that specifies tiddlers to be
traversed but not indexed.

Would it be possible to adapt x-plore to TW5?

Best regards,
Linus


2015-09-15 11:11 GMT+02:00 Tobias Beer <beertob...@gmail.com>:

> 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 a topic in the
> Google Groups "TiddlyWiki" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/tiddlywiki/XH4tgLlr7fY/unsubscribe.
> To unsubscribe from this group and all its topics, 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.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/tiddlywiki/aa931397-f2eb-4b60-80ef-f2df2f4a6607%40googlegroups.com
> <https://groups.google.com/d/msgid/tiddlywiki/aa931397-f2eb-4b60-80ef-f2df2f4a6607%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/CANHXGJTKw14bckkUjAcE_AQOa6e7nsHJeGffceAvTJSzug-V5g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to