Hi Jeremy, Thank you for the explanation. My main worry is to give up idiomatic constructs like templates (including ViewTemplate) when I want to implement what seems to be a natural application of TW: displaying references to a definition tiddler as part of this definition tiddler.
Is the search mechanism also based on rendering or rather some kind of indexing on the fly? I've always been amazed by TW search efficiency, and it does finds both generated and direct links. Best regards, Xavier. -- Xavier Cazin On Sun, Jun 1, 2014 at 11:02 AM, Jeremy Ruston <[email protected]> wrote: > > 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. > -- 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.

