I have spent the last few days pondering the implementation of the TAG facility.
As you may be aware, my TW displays documents from an archive, one document per tiddler. I then extract the names of people, places, organisations and exhibitions from each document and record each as a tag on the source tiddler(s). That way, if someone wants to know who else discusses, for example Paris, they click the Paris tag and TW then displays a list of tiddlers also having that tag. So far so good.
Now, I have been wondering if, in addition to the above, we should also create a tiddler for each tag and have a list function to produce a list of other tiddlers having the same tag. This would seem to me to just duplicate the above functionality, unless, like in my case for details of persons, you might want to have additional info, as in my case, links to external web sites with details about that person.
What are the group’s opinion of this, should we have such extra tiddlers and if so, what advantages does that offer to the user, the developer or whomever?
I suspect, runtime efficiency is little affected as the initial click on the tag requires TW to extract all tiddler details with the same tag whilst the extra tiddler requires the LIST operator to be actioned every time to tiddler is displayed. I assume, runtime cycles must be similar.
Is there an opportunity to implement a template for the popup window on the initial click, say something that would allow me to produce a different popup for my persons, places, organisations and exhibitions tags?
All input appreciated.
bobj