hierarchical tag navigation

670 views
Skip to first unread message

FND

unread,
May 15, 2007, 5:20:01 AM5/15/07
to Tiddl...@googlegroups.com
Hello all,

While tags are quite useful, using more than one tag on a tiddler does
little in terms of structuring content.

So would it be possible to create a sort of hierarchy when navigating
through tags?
Here's a simple example:

Tiddler #1: ToDo Office
Tiddler #2: ToDo Personal
Tiddler #3: ToDo Programming
Tiddler #4: Entertainment

step 1: select tag "ToDo"
=> select all tiddlers tagged with "ToDo"
=> tiddlers #1, #2, #3
step 2: select tag "Personal"
=> select only tiddlers tagged with "ToDo" AND "Personal"
=> tiddler #2 only

Such an approach would combine the benefits of a hierarchical tree
structure (think folders on your HDD) with the flexibility of tags.

This might be a pretty complex thing to develop, but it might also be as
simple as using a boolean expression - so, any ideas?


-- F.

dawn ahukanna

unread,
May 15, 2007, 8:45:14 AM5/15/07
to Tiddl...@googlegroups.com
I've been thinking about this as well and I'd like to add having a tag delimiter or special tags for structuring content to imply a relationship e.g.
.todo
    .todo.now
    .todo.office
.actions
    .actions.next
 
etc.
 
Dawn
 
--
http://dahukanna.net

FND

unread,
May 15, 2007, 9:00:45 AM5/15/07
to Tiddl...@googlegroups.com
> I'd like to add having a tag delimiter or special tags for structuring content
> to imply a relationship

Actually, I'm using something like that in a little (Windows) app I
wrote. For example, I'd have ToDo:Personal and ToDo:Office (or, in this
case, vocab:phrase and vocab:military).

Nevertheless, this is a somewhat different approach - and it'd require
additional parsing of the tags. Also, this probably requires more
discipline in applying the tags (at least that's my experience), so for
now I'd settle with the Boolean combinations...


-- F.

Andrew Lister

unread,
May 15, 2007, 9:07:03 AM5/15/07
to TiddlyWiki
Since tags can be tiddlers, which can also be tagged, hierarchical
organization is possible now, isn't it? 'Tagglytagging':

http://mptw.tiddlyspot.com/

And Simon's old site has a useful plugin for display of the tree
structure of your tags:

http://mptw2.tiddlyspot.com/#SiteMapMacro

One problem is that as your structure gets complicated you may forget
what gets tagged with what - the "parent.child.grandchild" solves that
problem, I suppose, building the hierarchy into each tag.

Simon Baird

unread,
May 15, 2007, 9:15:32 AM5/15/07
to Tiddl...@googlegroups.com
On 5/15/07, Andrew Lister <lis...@post.queensu.ca> wrote:

And Simon's old site has a useful plugin for display of the tree
structure of your tags:

http://mptw2.tiddlyspot.com/#SiteMapMacro

Just fyi (most of) the "sitemap" functionality from this macro is available now as a TagglyTagging display mode now. You can see it in use here for example:
http://mptw.tiddlyspot.com/#TagglyTagging

(the tagging list display modes are:
normal, group, sitemap, commas
sitemap is the one to try)

kev

unread,
May 15, 2007, 10:04:21 AM5/15/07
to TiddlyWiki
I had the same problem when I first started a few weeks ago and useing
TagglyTagging does help a lot and produces some very nice
presentations of tag maps - www.keithrichardson.co.uk. The more I get
used to it, the more I see that the Tag Cloud will help me and site
visitors (and when will that happen Mr Google!).

I use Joomla for serious content structuring. Perhaps a similar "view"
could be used in TW for tagging content that you want in a Section
View or Category view or whatever. What I'm thinking of is a
spreadsheet type view of tiddlers (exactly like the Import Tiddlers
plugin. There would be a separate column where I would assign a
Tiddler to a menu. Since Import Tiddlers lists all content tiddlers
maybe that would be the starting point rather than rewriting something
from scratch?

Or maybe a special tag that would atomatically assign a tiddler to an
index. I already do that by assigining a tag "Index" to all the
Tiddlers I want to be published. At the moment a site visitor sees all
system tiddlers as well which is confusing, for them.

These "wishes" are coming up because more of use seem to be useing TW
as a blogging site rather than a private site. Useing a private TW
(its original purpose I think?) is no problem at all really but it is
a different experience for site visitors (for example hanging around
while it loads is not really acceptable. OK for me privately but nor
publically). Also I'm finding it so easy to add to my
http://www.the-bizness.co.uk/wikis/princewiki/1sitestuff.html site is
1.8 MB! Try finding your way around that!

FND

unread,
May 15, 2007, 10:29:34 AM5/15/07
to Tiddl...@googlegroups.com
> Tagglytagging

I was considering TagglyTagging before posting this, but then I don't
think it's quite the same.
I imagine something like dynamically-created dropdown menus:
_________________
| Tasks > |___________
| Computers > | Windows > |______________
| Personal > | Linux > | Setup |
| Entertainment > | WebOS > | Applications |
| ... > | ... > | ... |

In pseudo-SQL, the query for the left-side menu would be something like
SELECT * FROM tags
whereas for the first sub-menu, it would look like
SELECT * FROM tags WHERE tag CONTAINS "Computers"
and for a possible third submenu, we'd have
SELECT * FROM tags WHERE tag CONTAINS ("Computers" AND "Linux")
(I know these queries are pretty much nonsense from an SQL point of
view, but I hope it illustrates what I'm getting at.)

I've tried looking into this to find out how the Tagging macro works and
whether it could be modified, but as usual, the TW core code makes my
head spin...

Background info: This issue started as a kind of thought experiment. I
struggled with the decision on which folder to store a document in
("it's both Office and Uni, so ... ?!?"), and then remembered that WinFS
was supposed to revolutionize file handling by using tags instead of a
fixed tree structure. Then I thought of tags in TW - and, well, here we
are now...


-- F.

FND

unread,
May 15, 2007, 12:57:04 PM5/15/07
to Tiddl...@googlegroups.com
> I imagine something like dynamically-created dropdown menus

By the way: The beauty about this method is that if you have a tiddler
tagged with (using above's example) "Computers", "Applications", and
then both "Windows" and "Linux", this tiddler will show up in all of the
following selection trees:

Computers > Windows > Applications
Computers > Linux > Applications
Computers > Applications > Windows
Computers > Applications > Linux
...


-- F.

Simon Baird

unread,
May 15, 2007, 6:18:22 PM5/15/07
to Tiddl...@googlegroups.com
On 5/16/07, FND <Ace_...@gmx.net> wrote:

and for a possible third submenu, we'd have
     SELECT * FROM tags WHERE tag CONTAINS ("Computers" AND "Linux")

I have pondered how to incorporate tag "intersections" in TagglyTagging. But so far I can't think of a good way. Possible options:

Image a (possibly non-existing tiddler) called Computers+Linux. It could have a special tagging list which lists everything with both tags.

The current way using existing TagglyTagging is to open your Computers tag and use the "group" display option which will group together the Linux tagged items under a Linux heading. Of course you will see all the others as well.

But back to your specific idea for hierarchy, your suggestion can be summarised as all descendants should be tagged with every ancestor. Eg imagine this structure,

Animal
 Mammal
   Marsupial
     Kangaroo
       Skippy
  

Your proposed hierarchy system would require that Skippy should be tagged as "Animal", "Mammal", "Marsupial", "Kangaroo"
this does make sense but it neater to tag Skippy as a Kangaroo and infer that Skippy is a mammal and an animal by checking the ancestors of Kangaroo.

This doesn't help you at all but it's just a conclusion I have reached. I have to deal with similar issues with Subprojects in MonkeyGTD. I need to attach an action in a subproject not just to it's project but to parent projects (and grand-parent projects etc). I don't really have a solution for that yet but I'm thinking about it. :)


Simon.

Dave Gifford - TiddlyWiki in Action

unread,
May 15, 2007, 8:35:35 PM5/15/07
to TiddlyWiki
This topic really interests me. I am using form fields and
ForEachTiddler on my http://www.giffmex.org/dbn/davesnotesoneverything.html,
but what is there is not a true hierarchy but an approximation. And it
is a pain for others to think about doing because it involves pasting
and modifying ForEach code for every index. And the indexes only have
one level unless you are creative with the form field. So your
discussion got me thinking:

How about a "new indexed tiddler macro" and a "new tag index macro" as
a solution? Read the following and tell me if this is imaginative
scenario is doable:

First I hit a "new tag index" macro. This macro is to create a index
using the foreachtiddler plugin. A form window with a text field
appears, asking me,

Add tag: ___________

I add the tag and hit enter. A tiddler is created that includes a
foreachtiddler plugin, with two modifications:
1. The first line reads, "For each tiddler where tiddler.tags includes
X and tiddler.data ST1, and/or ST2, and/or ST3, and/or ST4 and/or ST5
is true" (see below what this means)
2. the tag I supplied (say "advertising") is automatically plugged
into it in place of the X.

And the title of the tiddler is [[Index for: advertising]].

The index shows me all tiddlers with the advertising tag, sorted by up
to 5 levels of subtopics.

Now I click on the "new indexed tiddler macro". A form with several
text fields appears, asking me:

"Enter your tag (the main topic) here: ___________
Enter as many of the following subtopic levels as you need:"
ST1: _________________
ST2: _________________
ST3: _________________
ST4: _________________
ST5: _________________

After I fill out the form and click enter, the tiddler is created with
the tag hierarchy entered: advertising is in the tag section, and form
fields show ST1 = mascots, ST2 = fluffybears. Then I title the tiddler
"Mr. Snuggles" and I add text. When I go to the index it is there,
indexed according to the hierarchy.

What I don't know is if macros can create tiddlers with a formfield
window that can plug tags into a certain spot of a ForEachTiddler
code. Nor do I know if the ForEachTiddler code can be written to
support an and/or type of setup, necessary in case you have less than
the full number of subtopics provided.

But if it could, it seems like an easy way to create a hierarchy.
Mainmenu
Tiddler of Tag indexes
Indexes have up to 5 levels and in the last level list
all tiddlers in that level.

Of course "5" is arbitrary. Maybe it's too much. Maybe 3 is enough.
Just had to pick a number. But you get the idea.

Anyway, I'm interested to know if this would work and who could team
up to create this thing. It seems like it would be hard to create the
macros but once created they would be easy to use. And flexible. If
you don't like the subtopics you created for a tiddler you just change
the fields to change the index automatically.

Dave Gifford

FND

unread,
May 16, 2007, 3:55:27 AM5/16/07
to Tiddl...@googlegroups.com
> your suggestion can be
> summarised as all descendants should be tagged with every ancestor

Actually, not really; I wasn't thinking of a hierarchy in the sense of a
thesaurus (parent > child > grandchild ...). That would indeed only
complicate things - and the previously-mentioned "parent:child" method
would probably be more suitable for that.

Instead, I just want to be able to combine two (or more) "random" tags
to narrow down the list of tiddlers I'm presented with - without having
to worry about any hierarchies at the time of tagging.

As we know, a list should contain no more than 5-9 items*.
However, I usually have more tiddlers than that tagged with the same
keyword, so I often get a long list of tiddlers when using the Tagging
macro (e.g. via the tag cloud).
By allowing to select a combination of tags, this list could be
significantly shortened.

For example, you might have a lot of tiddlers tagged with "Mammal", and
even more that are tagged with "Food". But only a few of those would be
tagged with both "Mammal" and "Food" (namely, "Horse" and "Dog").

As I've said, I would look into this issue if I knew where to begin -
could you point me in the right direction?


-- F.


* cf. http://en.wikipedia.org/w/index.php?title=7%C2%B12

Simon Baird

unread,
May 16, 2007, 4:05:03 AM5/16/07
to Tiddl...@googlegroups.com
On 5/16/07, FND <Ace_...@gmx.net> wrote:

Instead, I just want to be able to combine two (or more) "random" tags
to narrow down the list of tiddlers I'm presented with - without having
to worry about any hierarchies at the time of tagging.

It's easy enough to make lists like this. I think the hard part is the user interface. How about something like this:


Tagged as: [btn] [btn] [btn] combined with [ -other-tag- v ]
 * Item 1
 * Item 2
 * Item 3

Where -other-tag- is is a drop down selector of all other tags.

That might work.

Simon.

FND

unread,
May 16, 2007, 4:29:31 AM5/16/07
to Tiddl...@googlegroups.com
> It's easy enough to make lists like this.

It is? I thought it might be, but was skeptical/cautious...

> I think the hard part is the
> user interface.

Well, I'd obviously prefer sub-menus (as described in a previous
posting)*, but that might be a bit complex for starters.
So instead of having sub-menus, the current Tagging macro's dropdown
list would simply be replaced with the new set of items.

step 1: All Tags step 2: tags used in combination with "Food"
___________ _________
| Books | | Jokes |
| Computers | | Mammals |
| Food | ¯¯¯¯¯¯¯¯¯
| Jokes |
| Mammals |
| Sports |
¯¯¯¯¯¯¯¯¯¯¯
Instead of directly listing the all TIDDLERS for the selected tag, the
menu would list all TAGS used in combination with the selected one.

In fact, we'd need two links per list item: One for the next subset of
tags, and one for actually listing the tiddlers matching the currently
selected tags.


-- F.


* also see http://www.xs4all.nl/~peterned/examples/cssmenu.html

Dave Parker

unread,
May 16, 2007, 11:54:58 AM5/16/07
to TiddlyWiki
forgive me for intruding on the conversation, but this reminds me of
YourSearch plugin. Wouldn't the proper tiddlers come up if you typed
in "mammal food" in the search box?

Maybe someone could make a way to check from a list of tags and send
it to the search plugin.

Just an idea from a non-programmer

Andrew Lister

unread,
May 16, 2007, 12:11:10 PM5/16/07
to TiddlyWiki
Don't forget the Intellitagger, which does autocompletion based on...
well, I'm not sure what, but it seems to be pretty good at guessing
which tags I want, I guess using tiddler title, contents, plus other
tags already entered, of course.

http://tiddlywiki.abego-software.de/#IntelliTaggerPlugin

The documentation comes in a PDF.

IanO

unread,
May 16, 2007, 3:17:27 PM5/16/07
to TiddlyWiki
This is how I approached the issue.
<<tabs txtFavorite
Work "Priority 1" ToDo1
Home "Priority 2" ToDo2
Kids "Priority 3" ToDo3
>>

It seems to work for me.
IanO

Simon Baird

unread,
May 16, 2007, 8:58:23 PM5/16/07
to Tiddl...@googlegroups.com
On 5/16/07, FND <Ace_...@gmx.net> wrote:

> I think the hard part is the
> user interface.

Well, I'd obviously prefer sub-menus (as described in a previous
posting)*, but that might be a bit complex for starters.
So instead of having sub-menus, the current Tagging macro's dropdown
list would simply be replaced with the new set of items.

Instead of directly listing the all TIDDLERS for the selected tag, the
menu would list all TAGS used in combination with the selected one.

In fact, we'd need two links per list item: One for the next subset of
tags, and one for actually listing the tiddlers matching the currently
selected tags.

Okay I think I understand it now! Sorry I've been slow to get it. It sounds very interesting. I think this discussion applies to tagging in the broader sense, eg the likes of delicious, flickr etc could use something like this. If you were going to start coding it I suggest starting with Saq's tagging drop down plugins which would have much of the framework for doing this I think.


Simon.

Ken Girard

unread,
May 17, 2007, 2:01:34 AM5/17/07
to TiddlyWiki
I think you are correct about IntelliTagger as it uses things like the
tag 'funny' is often paired with 'joke'. Seems like a good beginning
place to look.

Ken Girard

FND

unread,
May 17, 2007, 3:30:08 AM5/17/07
to Tiddl...@googlegroups.com
> Okay I think I understand it now! Sorry I've been slow to get it.

To be fair, the full concept only really took shape over the course of
this discussion (I only had a rough idea myself at first)...

> It sounds very interesting. I think this discussion applies to tagging
> in the broader sense, eg the likes of delicious, flickr etc could use
> something like this.

That's what I thought - and in fact, I've been wondering why it's not
out there yet (after all, it's quite an obvious idea).
I'd REALLY love to see this applied to file systems (which is how I got
to this in the first place) - but that might take a while...

> If you were going to start coding it I suggest
> starting with Saq's tagging drop down plugins which would have much of
> the framework for doing this I think.

Thanks, I'll look into that (might take me a while to come up with
something though).

As suggested by Andrew and Ken, I'll also take a look at
IntelliTaggerPlugin and YourSearchPlugin for "inspiration"...


-- F.

olosvk

unread,
May 17, 2007, 1:21:59 PM5/17/07
to TiddlyWiki
Hi

I thought about this too, long time ago :) .

1. Intellitagger is not suitable for this. This request make sense if
you use many tags. I have one TW with, I don't know exactly, 100-200
tags, and they are not just one short word. If you type a word (tag)
the searching really slows it down and it is not easy to find the tag
with your eyes.

2. Tagglytagging isn't good either, imagine 20 tags in one tiddler.

3. I agree with FND (if I understand you ;) ). At first I'll write an
example :

3 sets A, B, C, their subsets are AA ( \in A ), AB, AC; BA ( \in B),
BB,...

I think that a change in Saq's TaggerPlugin would solve my problem
(maybe yours too). There are brackets to add or remove a tag in the
dropdown menu. I thought that if you add the tag A (which is the set
for AA, AB, AC), that it would add these tags ( all subsets - every
level) too. Now, the plugin works so, that if you click on the tag,
you can see a menu with few options. My idea was, that it could be
like a standard dropdown menu. On hovering A appears on the right side
a menu with AA, AB, AC and of course with brackets. On click - it
opens the tag (= tiddler).

There are problems of course :

1.You have to define at least the first level tags - how ?

2. The first pop-up is divided in two sections : current tiddler tags
and add tags. How to display added tags which are on lower levels, but
not all from the set or superset ? Like AA && AC , but not AB.

3.How to display the menu, if you have many levels ?

Udo Borkowski

unread,
May 18, 2007, 6:32:49 AM5/18/07
to Tiddl...@googlegroups.com
1. Intellitagger is not suitable for this. This request make sense if
you use many tags. I have one TW with, I don't know exactly, 100-200
tags, and they are not just one short word. If you type a word (tag)
the searching really slows it down and it is not easy to find the tag
with your eyes.

I just uploaded a new version of the IntelliTagger that also works nicely for TiddlyWikis with a large number of tags more nicely. E.g. I am running a TiddlyWiki containing more than (different) 1000 tags and IntelliTagger is still fast enough.

You find the newest version of the IntelliTaggerPlugin at    
    http://tiddlywiki.abego-software.de/#IntelliTaggerPlugin


Udo

----------
Udo Borkowski
http://www.abego-software.de

Simon Baird

unread,
May 24, 2007, 6:38:29 AM5/24/07
to Tiddl...@googlegroups.com
This thread is well splintered now, but this:
http://gtdwannabe.blogspot.com/2007/05/complicated-filtering-in-evernote-and.html
is relevant I think to tag intersections (it's a similar feature in EverNote, software that competes with TW in certain areas, ie notetaking, taskmgmt and GTD etc.

FND

unread,
May 24, 2007, 11:18:55 AM5/24/07
to Tiddl...@googlegroups.com
> This thread is well splintered now, but this:
> http://gtdwannabe.blogspot.com/2007/05/complicated-filtering-in-evernote-and.html
> is relevant I think to tag intersections

Agreed; as far as I can see (TLDR ;) ), that's pretty much exactly what
I meant by "Boolean combinations" in the first place.

Problem is, I'm still struggling with the implementation...


-- F.

Eric Shulman

unread,
May 24, 2007, 11:25:54 AM5/24/07
to TiddlyWiki
> > is relevant I think to tag intersections
> I meant by "Boolean combinations" in the first place.

Perhaps this will be of some use:
http://www.TiddlyTools.com/#TagGridPlugin

HTH,
-e

FND

unread,
May 24, 2007, 12:06:23 PM5/24/07
to Tiddl...@googlegroups.com
> Perhaps this will be of some use:
> http://www.TiddlyTools.com/#TagGridPlugin

Thanks Eric, that looks very interesting indeed!
Looks like I'll just have to modify that code to my needs and wrap the
results in nested lists (though I've learned that these things are
rarely as easy as they seem)...


-- F.

FND

unread,
May 24, 2007, 12:44:09 PM5/24/07
to Tiddl...@googlegroups.com
A quick note:
Looks like Firefox 3.0's Places *might* provide similar functionality
for bookmarks:
http://wiki.mozilla.org/Places:Firefox_2_User_Interface_Ideas#Browsing_By_and_Changing_Tags
(related: http://wiki.mozilla.org/Places:User_Interface/Tagging_a_Page2)

I'm not sure, however, whether there'll be any of the "dynamic folders"
(or "dynamically-created folder/directory tree") I have in mind...


-- F.

FND

unread,
May 29, 2007, 11:55:20 AM5/29/07
to Tiddl...@googlegroups.com
> > Perhaps this will be of some use:
> > http://www.TiddlyTools.com/#TagGridPlugin
>
> Looks like I'll just have to modify that code to my needs and wrap the
> results in nested lists (though I've learned that these things are
> rarely as easy as they seem)...

The TagGridPlugin did indeed provid a great deal of insight into the
functions to be used for this project.
There's still a lot of work in front of me, but at least now I have a
pretty good idea of how it's gonna work. The basic framework is already
in place (http://devpad.tiddlyspot.com/#TagNavigatorPlugin; outputs in
the "debug buffer" at the bottom) - the next big problem will be
wrapping this into a usable interface.

For that interface, I have an alternative concept to the (presumably)
hard-to-implement dropdown lists:
__________________________________
| _______ _____ |
| Tag 1 Tag 2 | Tag 3 | | add | |
| ¯¯¯¯¯¯¯ +------------+
|¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯|* [[Tag 4]] |
| * [[Tiddler 1]] |* [[Tag 5]] |
| * [[Tiddler 2]] |* [[Tag 6]] |
| * [[Tiddler 3]] +------------+
| * [[Tiddler 4]] |
| * [[Tiddler 5]] |
| * [[Tiddler 6]] |
|__________________________________|
(see http://devpad.tiddlyspot.com/#%5B%5BTagNavigator%20Concept%5D%5D)

The upper part is for tag (de)selection:
The "add" button on the right opens a list of available tags to add to
the combination, while the preceding "Tag 3" button removes that tag
from the combination.
In the lower part are the tiddlers that match the current set of tags.

This interface makes it easier to have both tags and tiddlers available
for selection, but a big drawback is that it requires more clicks and
mouse movement than the submenus I'd previously imagines (think context
menus).

LDKohl

unread,
Jul 26, 2007, 3:19:03 PM7/26/07
to TiddlyWiki
I think I can describe this problem in a much more concise way, which
will be helpful because I would like to see a good solution for this
problem.

Imagine that your TW is a recipe book, and you want to tag all the
recipes (Tiddlers) with their cuisine of origin. Now we all know that
cuisines have families. You have asian food, and within that family,
chinese, thai, japanese, etc. Within japanese, you have traditional,
sushi, neuvo, steakhouse, or whatever. So you might have a hierarchy
like this:

cuisine
asian
chinese
japanese
traditional_japanese
sushi
mediterranean
greek
spanish
....

Now to define the problem: I want to tag one recipe with chinese,
another with japanese and then search for recipes tagged by asian and
find both, even though neither actually has that tag!

FND

unread,
Jul 26, 2007, 3:23:19 PM7/26/07
to Tiddl...@googlegroups.com
> I want to tag one recipe with chinese,
> another with japanese and then search for recipes tagged by asian and
> find both, even though neither actually has that tag!

Uhm ... that's not what I was aiming for; I'm not exactly qualified to
program an artificial intelligence that can read your thoughts.

But speaking of not qualified; development of this plugin is currently
on hold; I'm busy with other stuff, and kind of stuck, development-wise.


-- F.

LDKohl

unread,
Jul 26, 2007, 3:58:49 PM7/26/07
to TiddlyWiki
My current solution is to create tiddlers with the same name as each
tag, and put into each a list of what children tags they have and what
those tags are tagging. Then the search will bring up that index and
you can go from there. Not perfect, but functional.

FND

unread,
Jul 26, 2007, 4:01:16 PM7/26/07
to Tiddl...@googlegroups.com
> My current solution is to create tiddlers with the same name as each
> tag, and put into each a list of what children tags they have and what
> those tags are tagging. Then the search will bring up that index and
> you can go from there. Not perfect, but functional.

Have you looked into MPTW's TagglyTagging?
If not, search the group archives; there's plenty of info on that.


-- F.

Daniel Baird

unread,
Jul 26, 2007, 7:29:05 PM7/26/07
to Tiddl...@googlegroups.com
Like FND says.. TagglyTagging is for exactly your problem.

Visit http://mptw.tiddlyspot.com and come over the the TagglySide of the force.

;Daniel


--
Daniel Baird
http://tiddlyspot.com (free, effortless TiddlyWiki hosting)
http://danielbaird.com (TiddlyW;nks! :: Whiteboard Koala :: Blog ::
Things That Suck)

LDKohl

unread,
Jul 27, 2007, 9:52:10 AM7/27/07
to TiddlyWiki
I went over there and read some about it and tried the tutorial. I
tried to set up the example above, but my search on asian still
returned just the asian tag, with links to child tags. Maybe I'm
missing something. I think Taggly has some improvements, but maybe
what I'm looking for is a new search macro.


On Jul 26, 7:29 pm, "Daniel Baird" <danielba...@gmail.com> wrote:
> Like FND says.. TagglyTagging is for exactly your problem.
>

> Visithttp://mptw.tiddlyspot.comand come over the the TagglySide of the force.
>
> ;Daniel


>
> On 27/07/07, LDKohl <loren.k...@gmail.com> wrote:
>
>
>
>
>
>
>
> > I think I can describe this problem in a much more concise way, which
> > will be helpful because I would like to see a good solution for this
> > problem.
>
> > Imagine that your TW is a recipe book, and you want to tag all the
> > recipes (Tiddlers) with their cuisine of origin. Now we all know that
> > cuisines have families. You have asian food, and within that family,
> > chinese, thai, japanese, etc. Within japanese, you have traditional,
> > sushi, neuvo, steakhouse, or whatever. So you might have a hierarchy
> > like this:
>
> > cuisine
> > asian
> > chinese
> > japanese
> > traditional_japanese
> > sushi
> > mediterranean
> > greek
> > spanish
> > ....
>
> > Now to define the problem: I want to tag one recipe with chinese,
> > another with japanese and then search for recipes tagged by asian and
> > find both, even though neither actually has that tag!
>
> --

> Daniel Bairdhttp://tiddlyspot.com(free, effortless TiddlyWiki hosting)http://danielbaird.com(TiddlyW;nks! :: Whiteboard Koala :: Blog ::
> Things That Suck)- Hide quoted text -
>
> - Show quoted text -

FND

unread,
Jul 27, 2007, 9:59:29 AM7/27/07
to Tiddl...@googlegroups.com
> I went over there and read some about it and tried the tutorial. I
> tried to set up the example above, but my search on asian still
> returned just the asian tag, with links to child tags. Maybe I'm
> missing something. I think Taggly has some improvements, but maybe
> what I'm looking for is a new search macro.

As I've said, sounds like what you're looking for is quite an advanced
artificial intelligence, and/or a comprehensive ontology.
If that's correct, I'm afraid you'll have to wait another 10-500 years.

Anyway, this is certainly not the right thread for such a discussion...


-- F.

Saq Imtiaz

unread,
Jul 27, 2007, 11:10:03 AM7/27/07
to Tiddl...@googlegroups.com
So wheres that amazing TagNavigator plugin I keep hearing about?


--
TiddlyThemes.com ( http://tiddlythemes.com ) : a gallery of TiddlyWiki themes.
TiddlySnip ( http://tiddlysnip.com ) : a firefox extension that turns
TiddlyWiki into a scrapbook!
LewcidTW ( http://tw.lewcid.org ) : a repository of extensions for TiddlyWiki

FND

unread,
Jul 27, 2007, 11:21:20 AM7/27/07
to Tiddl...@googlegroups.com
> So wheres that amazing TagNavigator plugin I keep hearing about?

In my head.


-- F.

Daniel Baird

unread,
Jul 28, 2007, 6:28:47 AM7/28/07
to Tiddl...@googlegroups.com
Oh I'm sorry, I missed that you were looking for a search that turned
up those tiddlers.

What taggly gives you is that when the tiddler "Asian" turns up in
your search, you can click it, and you can get a tree of all the
"descendants" of the Asian tiddler -- Japanese, Sushi, etc.

If you kew that you were searching for Asian as a category, though,
you could just start at the top Recipes tiddler and click through the
heirarchy directly.

Cheers
;Daniel

On 27/07/07, LDKohl <loren...@gmail.com> wrote:
>

--
Daniel Baird
http://tiddlyspot.com (free, effortless TiddlyWiki hosting)

http://danielbaird.com (TiddlyW;nks! :: Whiteboard Koala :: Blog ::
Things That Suck)

wolfgang

unread,
Jul 28, 2007, 7:38:22 AM7/28/07
to TiddlyWiki
Good day to everyone,

After adding a lot of content and plugins to my TiddlyWiki I found
myself in need of an "artificial intelligence navigation index" too.
Especially if I needed to explain someone to find his way around my
TiddlyWiki - I found myself at a loss. Wouldn't want to wait another
10-500 years, nor I am able to read the mind of FND (often not even my
own). And so I reverted to a static index from where one can access
other static, popup, tag, forEach and sliceGrid generated indexes. And
with such combinations it can be navigated nicely.

The reason why I don't want to go into TagglyTagging is simply because
it comes with such a profusion of Plugins (of which I wouldn't need
most) and such complicated templates - with unforeseeable dependencies
- I surely would run into heavy complications if I only would want to
have the TagglyTagging feature in my TiddlyWiki. Because my own is
already second in profusion of plugins and complicated templates - and
combining both ... 8-P ...

Surely, also for me there will be a time when I'll try to fully
understand TagglyTagging - but first I would want to understand what
I've already got, and in its maybe simpler way also does the job.


However, thought I'll make a beginning with "Show contents mode",
which I would really like to add, and if someone is able to help me to
have only this feature added. Here my questions to this end:

1. Which plugin - or part of the code of a plugin of MPTW - I would
need for only this feature?

2. Does it work together with TaggerPlugin and DroptaggingMacro of
Saq, or does one make the other obsolete?

2. Where - in my already complicated templates - I would have to add
which code?

3. Anything in the StyleSheet that needs to changed?


Kind regards on a sunny day,

W.

wolfgang

unread,
Jul 28, 2007, 3:31:26 PM7/28/07
to TiddlyWiki
Well I couldn't wait, tried the TagglyTaggingPlugin and it worked by
only adding the line <div class="tagglyTagging"
macro="tagglyTagging"></div> at the end of the ViewTemplate to make
'Show contents mode' work with open tag. :-)
And till now I haven't mentioned any incompatibilities with any other
Plugin.

But of course, I am never satisfied - so now I would like to know:

How to get different modes of display predefined for different tags?

Regards,

W.

FND

unread,
Jul 28, 2007, 3:34:18 PM7/28/07
to Tiddl...@googlegroups.com
> But of course, I am never satisfied - so now I would like to know:
> How to get different modes of display predefined for different tags?

I'm not a TagglyTagging user myself (yet?), so I can't answer that.
However, you will probably have more luck asking in a dedicated thread
than burying your issue under this largely non-related topic...


-- F.

wolfgang

unread,
Jul 29, 2007, 5:02:38 AM7/29/07
to TiddlyWiki
> But of course, I am never satisfied - so now I would like to know:
> How to get different modes of display predefined for different tags?

That was quite a stupid question. <html><p><img ilo-full-src="http://
www.countingcows.de/schaem.gif" src="http://www.countingcows.de/
schaem.gif" alt="smiley" /></p></html>
Because TagglyTagging simply remembers the mode in which a particular
tag was viewed last...

Regards,

W.

Simon Baird

unread,
Aug 4, 2007, 1:16:11 PM8/4/07
to Tiddl...@googlegroups.com
There's another thread on this exact topic. Kashgarrin lists an example almost exactly like yours, LDKohl. On it I propose ideas for a solution (kind-of) that uses ForEachTiddler and an untested hasAncestor method.

Okay, here it is.

http://groups.google.com/group/TiddlyWiki/browse_thread/thread/2558268245a93d7a/2cf3ed7a84e9bfc9?lnk=gst&q=ancestor&rnum=1#2cf3ed7a84e9bfc9

Simon.

--
simon...@gmail.com
Reply all
Reply to author
Forward
0 new messages