[tw] Re: backlinks

2018-03-02 Thread PMario


On Friday, March 2, 2018 at 5:06:53 PM UTC+1, Steven Schneider wrote:
>
> * To clarify, does "links" mean text in the text field that is either 
> CamelCase or [[bracketed]] that matches the title field of the current 
> tiddler?
>

It finds CamelCase and [[links like this]] as you found out.
 

> * Is there a way to instruct backlinks to search for links in field other 
> than the text field?
>
 
This would be a plugin. 

You may have a look at my: uni-links plugin 
, which also allows 
"aliases" ... But be aware it is beta atm. ... But feedback would be very 
welcome!

Also see the video:https://youtu.be/V9l-vipAoNw

have fun!
mario

-- 
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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/74a0721b-2c57-4e52-82e3-a34f543b4129%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: backlinks

2018-03-02 Thread 'Mark S.' via TiddlyWiki
A quick test shows that it does look for camel case links.

My guess is that it can't search anything other than the text field. What 
is the use case where you want to search some other field?

-- Mark

On Friday, March 2, 2018 at 8:06:53 AM UTC-8, Steven Schneider wrote:
>
> Hi folks,
>
> I'm using the backlinks operator, and find this in the documentation:
>
> "backlinks[] gives all tiddlers that have links to the input tiddler"
>
> * To clarify, does "links" mean text in the text field that is either 
> CamelCase or [[bracketed]] that matches the title field of the current 
> tiddler?
> * Is there a way to instruct backlinks to search for links in field other 
> than the text field?
>
> Thanks!
>
> //steve.
>
>
>

-- 
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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/6c2d2689-ae07-4e3b-b849-ed02690f1add%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Backlinks lost in transclusion?

2014-06-01 Thread Stephan Hradek
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 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.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: Backlinks lost in transclusion?

2014-06-01 Thread Jeremy Ruston
  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 stephan.hra...@gmail.com
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 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.
 For more options, visit https://groups.google.com/d/optout.




-- 
Jeremy Ruston
mailto:jeremy.rus...@gmail.com

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


Re: [tw] Re: Backlinks lost in transclusion?

2014-06-01 Thread Xavier Cazin
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 jeremy.rus...@gmail.com
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 stephan.hra...@gmail.com
 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 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.
 For more options, visit https://groups.google.com/d/optout.




 --
 Jeremy Ruston
 mailto:jeremy.rus...@gmail.com

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


Re: [tw] Re: Backlinks lost in transclusion?

2014-06-01 Thread Xavier Cazin
 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.


Sorry for the confusion, I just realised that this was wishful thinking :-)
Search mechanism doesn't find generated strings either.

Xavier.

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