As detailed in the message about migrating from Hugo to TW via TiddlyWikiPharo, I’m creating tiddlers programmatically with Pharo from the YAML data in a Hugo site and converting it to tiddlers. Currently, the information links quotes and actors, as can be seen in the Malleable Systems wiki.
In the YAML data contains short names that are used as keys for accessing actors (people) information. The short names have been converted into extra keys, in the tiddlers, as shown here and in the screenshot below:
So I can use
{{{ [tag[Actors]shortname{!!authors}] }}}
to get all the tiddlers tagged as “Actors” which have the same shortname that is shown in the authors custom field. So far, so good. But when the authors field contain several authors, the same strategy doesn’t work (as it doesn’t make sense on that case). So I use the suboptimal:
<$list filter="[list[!!authors]]">
as shown here:
What I would really like would be something that links each shortname to its long name (the Actors tagged tiddler tittle as before), if it is in the wiki, or leave it as a link to a not yet created tiddler, when is in the form of a long name.
As I’m writing the tiddlers from Pharo, my approach would be to use it, creating a short script that replaces any shortname in the authors field by its long form and leaves any non found author there as link to a pending tiddler, so I just need to use the second strategy everywhere. But I wonder how would be the TW way to get the same result with any of the two approaches:
- the tiddlers in the
authorscustom fields linked to the Actors tiddlers that have them asshortnamesor the link to a future Actor when is not in the wiki. - All the shortnames in the
authorsfield of the tiddlers tagged asWorksreplaced by their longer form, i.e: the title of the Actors tiddler that shares the same shortname.
Second strategy seems better for me, as shortnames are preserved for traceability with the YAML source, but I think that using tiddler titles to represent relations between tiddlers seems more natural in TW.
Any advice would be welcomed.


