Great! that does work. So, TW does not have enough core features for this, right?
Ok, here's the context:
It concerns typed tags, tag categories, semantic tagging - pick your poison. We (I and you and surely many others) have long played around with the idea of taking advantage of fields "name:value" pair to replace tags and to instead use fiels as
tagtype:tagname.At least that is how I have envisioned it until an hour ago... when it struck me that maybe I have it backwards! It should be
tagname:tagtypePossibly obvious to others, I don't know. Anyway, it seems obvious now - one only uses a tag once in a tiddler, thus it must be the unique field name- but you should be able to use tags of the same type multiple times in a tiddler, thus the field value.
A drawback is that field names, i.e what woudl be displayed on the tagpill, ehm
fieldpill, is limited lowercase etc... j.k_rowling:Author (On the other hand, the tag types can be pretty).
A more serious drawback is what you and I touched on the other day; There is currently no way to substring search field names. Thus searching for "rowling" doesn't currently work, if I understood you right. (Searching for the full j.k_rowling or author should work though as you showed me, even "auth", right?)
A niciety, when I use your filter, is that it even works to set the field value to be the string "tag" ! So, I figure one could have an "add field" feature up where the tags field currently resides and with the default field value (i.e the "type" for the supposed tag) set to be the string "tag", but changeable into anything of course (like "author" or "pupil").
I'm sure there are problems with this whole approach, but on the other hand it doesn't change any existing infrastructure. The tags field can still be around, it just wouldnt' be used, or it could be used in parallel. Maybe even practicing a distinction between
tags vs categories, i.e dedicating the tags field to one thing and fieldtags to the other.
@Tobias - but also anyone
Please come with input on these thoughts.
<:-)