Show a list of all tags without "companion" tiddler

1,775 views
Skip to first unread message

NT

unread,
Aug 31, 2016, 7:04:38 AM8/31/16
to TiddlyWiki
As a prerequisite I want the notion to be clarified. Not every tag has a tiddler with the identical name, automatically - you have to create it. Since also not for every tiddler there is a tag with the same name, a tiddler with a name of a tag must be some kind of a special tiddler - is it? So what is the offical naming of these kind of tiddlers? Companion tiddler?

Let's come to the initial purpose of this post. In my wiki I try to make a companion tiddler for every "normal" tag - just to be able to structure / cluster / aggregate the tags by tagging them again with some "higher meta tags". And because you can't tag other tags directly, you have to create a companion tiddler first and then tag this one. This is the solution that came to my mind - if you have other / better suggestions to strructure your tags just tell me, please.

So from time to time I forget to create a companion tiddler for a tag. Then it is kind of hard work to find the tags without companion tiddler, manually.

So here I am asking for a suggestion / example for some code / a macro to get a list of those tags. Would be awesome if this would be a list of tag pills, then you could click on them to open / create the companion tiddler. But the essential part it the filtering.

Any hints? Thanks for reading.

PMario

unread,
Aug 31, 2016, 7:46:53 AM8/31/16
to tiddl...@googlegroups.com
On Wednesday, August 31, 2016 at 1:04:38 PM UTC+2, NT wrote:
As a prerequisite I want the notion to be clarified.
 
Not every tag has a tiddler with the identical name, automatically - you have to create it.

right
 
Since also not for every tiddler there is a tag with the same name, a tiddler with a name of a tag must be some kind of a special tiddler - is it?

Not really. Since every tiddler can be a tag for others. There's nothing special with tags. ... but ... there are some UI enhancements using the generic <$list> widget with "filter-operators" designed for tagging.
 
So what is the offical naming of these kind of tiddlers? Companion tiddler?

It's just a tiddler, that happens to be a tag for other tiddlers. you could name it a "tag-tiddler".
 
Let's come to the initial purpose of this post. In my wiki I try to make a companion tiddler for every "normal" tag - just to be able to structure / cluster / aggregate the tags by tagging them again with some "higher meta tags". And because you can't tag other tags directly, you have to create a companion tiddler first and then tag this one. This is the solution that came to my mind - if you have other / better suggestions to strructure your tags just tell me, please.

We use this structure for the table-of-content macros. That's how it is designed. You use it in the proper way.
 
So from time to time I forget to create a companion tiddler for a tag. Then it is kind of hard work to find the tags without companion tiddler, manually.

you can use:
<<list-links filter:"[tags[]]">> .. to show all used tags. Those, that are shown in italic don't have a corresponding tiddler.

<<list-links filter:"[untagged[]]">>  to list all tiddlers, that are untagged.

You may also have a look at the right sidebar: More: Tags tab. and the TagManager which links from there.

see: http://tiddlywiki.com/#untagged%20Operator:%5B%5Buntagged%20Operator%5D%5D%20%5B%5Buntagged%20Operator%20(Examples)%5D%5D%20%5B%5Btags%20Operator%20(Examples)%5D%5D%20%5B%5Btags%20Operator%5D%5D
 
hope that helps

have fun!
mario

Eucaly J

unread,
Aug 31, 2016, 7:54:21 AM8/31/16
to TiddlyWiki
maybe
[tags[]is[missing]]
or
[tags[]is[missing]!is[system]]

PMario ...:

NT

unread,
Aug 31, 2016, 2:38:01 PM8/31/16
to TiddlyWiki


Am Mittwoch, 31. August 2016 13:46:53 UTC+2 schrieb PMario:

you can use:
<<list-links filter:"[tags[]]">> .. to show all used tags. Those, that are shown in italic don't have a corresponding tiddler.

<<list-links filter:"[untagged[]]">>  to list all tiddlers, that are untagged.

You may also have a look at the right sidebar: More: Tags tab. and the TagManager which links from there.

see: http://tiddlywiki.com/#untagged%20Operator:%5B%5Buntagged%20Operator%5D%5D%20%5B%5Buntagged%20Operator%20(Examples)%5D%5D%20%5B%5Btags%20Operator%20(Examples)%5D%5D%20%5B%5Btags%20Operator%5D%5D

Mario, thanks for showing up possibilities. I know the right sidebar and the tag manager, but I find them not really helpful for my problem. The list of all tags is not really handy for me as well, since I have a lot of tags - around 500. Also the italic markup is a bit hard to recolgnize in between. I really would appreciate a list ONLY with the tags without tag-tiddler since I have to repeat this process of review from time to time and don't want to scroll through a growing number of tags again and again. Is it possible to put just another filter that shows just the italic tags or something similar? How would that look like? Thanks for help, everyone!


Danielo Rodríguez

unread,
Sep 1, 2016, 2:25:22 AM9/1/16
to TiddlyWiki
Hello NT,

Take a look at Eucaly's answer

NT

unread,
Sep 1, 2016, 5:42:20 AM9/1/16
to TiddlyWiki
Oh Danielo, you're right - have not seen this. Thanks a lot.

NT

unread,
Sep 1, 2016, 6:00:37 AM9/1/16
to TiddlyWiki
Eucaly, that's perfect so far. Thank you, man.

I know the "system" filter, but I didn't know the "missing" keyword. Are there others keywords as well? Is somewhere a list of keywords?

If the list would consist of tagpills instead of pure links then - with a click - you could see the tiddlers using each tag - and you would have more context about the meaning of the tag - what would it make easier to tag the tag itself into a certain category.
Another even better approach would be a nested list, where the tiddlers would be already listed under each tag - indented of course.
But that's another task. If you really like to, you guys can also give me advice about that and I would be very pleased. But I know there are resources out there to fiddle that out on my own if I find some time.
Thanks again!

NT

unread,
Sep 1, 2016, 6:18:48 AM9/1/16
to TiddlyWiki


Am Donnerstag, 1. September 2016 12:00:37 UTC+2 schrieb NT:
Eucaly, that's perfect so far. Thank you, man.

I know the "system" filter, but I didn't know the "missing" keyword. Are there others keywords as well? Is somewhere a list of keywords?

Ok, by trying to answer the question for a list of keywords on my own my best guess would be http://tiddlywiki.com/#is%20Operator

Danielo Rodríguez

unread,
Sep 1, 2016, 7:34:13 AM9/1/16
to tiddl...@googlegroups.com
Ok, by trying to answer the question for a list of keywords on my own my best guess would be http://tiddlywiki.com/#is%20Operator 

If you search the keyword Operator you will get a list of operators. No all of them are user friendly or evident, so feel free to ask.
 


If the list would consist of tagpills instead of pure links then - with a click - you could see the tiddlers using each tag - and you would have more context about the meaning of the tag - what would it make easier to tag the tag itself into a certain category.

Something like this?

<$list filter="[tags[]is[missing]!is[system]]">
{{!!title||$:/core/ui/TagTemplate}}
<ul>
<$list filter="[tag<currentTiddler>]">
<li>{{!!title}}</li>
</$list></ul></$list>

Maybe you don't need the second part because the list of tiddlers is already provided clicking on the tag, so it could be as simle as 


<$list filter="[tags[]is[missing]!is[system]]" template="$:/core/ui/TagTemplate"/>

Regards

Danielo Rodríguez

unread,
Sep 1, 2016, 7:44:52 AM9/1/16
to TiddlyWiki
I have edited my previous answer, but in case anyone is reading the emails, here is the correct filter:

NT

unread,
Sep 1, 2016, 8:35:27 AM9/1/16
to TiddlyWiki
Oh nice - great stuff, Danielo! Special Thx for this effort.
The code is always less than I expect it would be. I have to get back more into Wiki syntax again.
For now this topic is solved for me.
Thanks to everyone.

Mat

unread,
Sep 1, 2016, 8:56:45 AM9/1/16
to TiddlyWiki
NT, you might be interested in tiddlywizard @Jed / @inmysocks "Gen Tags". It aims to solve the recurring request for different types of tags ("typed tags", "sematic tagging", and more names).

<:-)

NT

unread,
Sep 1, 2016, 7:05:58 PM9/1/16
to TiddlyWiki
Hey Mat, you are a good observer. Indeed I am interested in using the wiki in a semantic way, in a RDF-like style. Would be awesome if you could do deductive reasoning over the connections of some more tiddlers. Semantic tagging could lift this a step further to realisation.
But I am still at the beginning, trying to figure out first whats possible and what structuring makes sense just with the normal tags or normal fields. But sure, typed fields would make this more straight-forward to realize, e.g. a "same as" field with other tiddler names inside. But cleary this is introducing more complexity into the whole wiki. And more complexity always lead to more problems. Thats why I am a friend of minimalism as far as possible. So I'll keep exploring what kind of information structuring is possible just with the normal wiki for the next days.
But as soon as the limits are clear to me, I'll be trying the GenTags Plugin. I am quite curious about it. I already found some bits, but if you - or somebody - have more information available about semantics / RDF connected to TiddlyWiki I would be very happy to hear about - even persons busy in this field would be of interest for me. A bigger talking about that we should shift to another place where it is not off-topic. Thanks for the hint, really :-)
Reply all
Reply to author
Forward
0 new messages