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.
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.
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.
And Simon's old site has a useful plugin for display of the tree
structure of your tags:
http://mptw2.tiddlyspot.com/#SiteMapMacro
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!
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.
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.
and for a possible third submenu, we'd have
SELECT * FROM tags WHERE tag CONTAINS ("Computers" AND "Linux")
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
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.
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 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
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
http://tiddlywiki.abego-software.de/#IntelliTaggerPlugin
The documentation comes in a PDF.
It seems to work for me.
IanO
> 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.
Ken Girard
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.
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 ?
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.
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.
Perhaps this will be of some use:
http://www.TiddlyTools.com/#TagGridPlugin
HTH,
-e
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.
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.
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).
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!
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.
Have you looked into MPTW's TagglyTagging?
If not, search the group archives; there's plenty of info on that.
-- F.
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)
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 -
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.
--
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
In my head.
-- F.
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)
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.
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.
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.
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.