>  It seems only explicit links count as references.

That is correct: the links and backlinks filter operators work by parsing
the target tiddlers and then scanning the parse tree looking for explicit
links. So it doesn't catch generated links.

In order for it to see generated links we would have to go further and
render each tiddler (offscreen), and then scan the render tree for links:
we'd pick up all links, including generated ones.

The problem is that rendering is much, much slower than parsing. If we
cached the render tree we'd have to invalidate it on every tiddler
modification, because any modification might cause it to be rendered
differently. Meanwhile, caching the parse tree for a tiddler is pretty
straightforward; we only need to invalidate it when that particular tiddler
is modified.

This is definitely a problem. For example, in order to be able to offer a
decent word count feature we'll have to process the rendered form of a
tiddler. In that particular example we may be able to workaround by having
an explicit button that needs to be clicked to trigger the word count
process.

Best wishes

Jeremy.




On Sun, Jun 1, 2014 at 7:26 AM, Stephan Hradek <[email protected]>
wrote:

> Even with macros it does not work. It seems only explicit links count as
> references.
>
> --
> 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.
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Jeremy Ruston
mailto:[email protected]

-- 
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.
For more options, visit https://groups.google.com/d/optout.

Reply via email to