I’m at the very beginning of considering ways to add some sort of “What’s nearby?” feature for my content Tiddlers, and I have several questions.
-
I’m wondering if there is useful prior art to look at. Are there ready-made tools for this?
-
I haven’t figured out the presentation, but to do anything worthwhile, I need to be able to collect the data first. These are the factors I’m thinking about, from strongest connection to weakest, for non-system, non-shadow Tiddlers,
AandB:-
AtranscludesB/BtranscludesA -
Ais taggedB/Bis taggedA -
AandBboth transcludeC, for someC/ bothAandBare transcluded by someC -
Alinks toB/Blinks toA -
AandBare both taggedC, for someC/ someCis tagged bothAandB -
Ahas a field with the valueB/Bhas a field with the valueA -
Ahas a list field which includes the valueB/Bhas a list field that includes the valueA.
Am I missing important other connections? Would you argue for a different ordering of them?
-
-
I’m sure I can create a reasonable model from these, then run something like Dijkstra’s algorithm to find the closest tiddlers to my current one. I imagine this would have to be a JavaScript macro, since I can’t imagine coding the closest neighbor algorithm in native wiki tools. I don’t know how to do that yet, but think I can figure that out, and I imagine the APIs available will trivially give me access to all but #1 and #3. Are those also easily available?
Are there other suggestions for how I might go about any of this?

