I have a view template that adds a list of backlinks to each tiddler like so:
<<list-links filter:"[all[current]backlinks[]]">>
I’m trying to extend this to what I’m calling “filter links”. Any tiddler can have a field named filter-links
containing a filter that should evaluate to a list of tiddlers that can be considered “linked to” from that tiddler.
For example if a tiddler foo
had the field filter-links: [tag[bar]]
, it can be considered implicitly linked to every tiddler with the tag bar
.
What I would like to do is integrate these pseudo-links with my list of backlinks.
With the above example that would mean that any tiddler with the tag bar
would list foo
as a backlink.
Now I can do this with nested list widgets, but I want to get all the backlinks and “filter backlinks” into a single list so that they can be sorted together. And this has stumped me.
Can anyone help?