ANN: TagsplorerMacro released

109 views
Skip to first unread message

FND

unread,
Mar 21, 2010, 9:38:10 AM3/21/10
to TiddlyWiki
http://fnd.lewcid.org/tmp/tagsplorer.html

It's a fairly basic prototype for now, but I think it's useful nonetheless.

I've wanted this for a while (years, in fact - early concepts were
called TagNav*), but somehow never got around to it until now.

FWIW, being able to make use of jQuery made this significantly easier -
I probably would not have bothered otherwise.


-- F.


* not that the new name was any better...

Mike

unread,
Mar 21, 2010, 1:22:56 PM3/21/10
to TiddlyWiki
looks very nice, was your concept to use it as a menu? Or as a new way
to navigate?

JQuery :D

Mike

FND

unread,
Mar 21, 2010, 3:05:38 PM3/21/10
to tiddl...@googlegroups.com
> looks very nice

Thanks. It could certainly do with some improvements, as it doesn't seem
very intuitive at the moment - so I'm hoping someone with a better sense
of UI design will come along and offer suggestions...

> was your concept to use it as a menu? Or as a new way to navigate?

The basic idea is that tags are awesome, but easily under-used.
Large collections of tiddlers can be very intimidating, for authors and
readers alike. Tagging helps, but the usual single-level constraint is
limiting - especially because it constitutes a certain asymmetry between
assignment and retrieval.
The ability to drill into such collections by gradually refining the
filter should lighten the cognitive load. In addition, I expect this to
reveal relationships and "emergent hierarchies" among tiddlers.
(This is not an original idea of mine, of course - sites like Delicious
have long allowed multi-tag browsing. Nevertheless, the concept seems
exceptionally well-suited to the tiddler model and dynamic presentation
in a TiddlyWiki.)

I've started experimenting with this on TiddlyWeb documentation, which
proved useful and led to some unexpected insights:
http://tiddlyweb.peermore.com/wiki/#Navigation
(One of these insights is that more consistent tagging would be useful.)


-- F.

FND

unread,
Mar 21, 2010, 3:28:43 PM3/21/10
to tiddl...@googlegroups.com
> I've started experimenting with this on TiddlyWeb documentation, which
> proved useful and led to some unexpected insights

I've now also applied this to the jQuery API docs*, which seems even
more useful (due to the excellent metadata):
http://fnd.lewcid.org/misc/jQueryAPI.html


-- F.


* http://groups.google.com/group/tiddlywikidev/t/4974fa9717f669ab

Mike

unread,
Mar 21, 2010, 3:33:25 PM3/21/10
to TiddlyWiki
I can see it functioning a little better inside a larger document !

So it creates a tags filter showing relevant information, with the
option to
add additional filters to drill down further (from menu bar via new
button)
or remove filters to drill out (from menu bar via click tag name)

somehow I got a prompt box instead of drop down from the first
example, can't seem to get it to replicate (not sure what I did)
I like the drop down much better ! (might be why I was initially
confused)

Any plan for excludeLists support? (or was it a feature to leave that
out?)

Awesome !

Mike

FND

unread,
Mar 21, 2010, 3:43:12 PM3/21/10
to tiddl...@googlegroups.com
> So it creates a tags filter showing relevant information, with the
> option to add additional filters to drill down further (from menu bar
> via new button) or remove filters to drill out

I guess that's how I should have explained it in the first place...
Thanks.

> somehow I got a prompt box instead of drop down from the first
> example, can't seem to get it to replicate (not sure what I did)

That was the earlier version (0.1); I added the "intelligent" selection
later in the day (v1.0).

> Any plan for excludeLists support?

I hadn't thought of that - would probably be worth doing, but I'm not
too keen on implementing it myself right now (though it should be easy,
especially if one decides to ignore the tag selection).
Obligatory: Feel free to submit a patch.


-- F.

Mike

unread,
Mar 21, 2010, 4:08:01 PM3/21/10
to TiddlyWiki
I think this does the trick
var getTiddlers = function(tags) {
// var tiddlers = store.getTiddlers();
var tiddlers=store.getTiddlers('title','excludeLists');

My coding is beginner at best, (compared to others around here)
luckily it was pretty simple. . .
Unless you were thinking of adding it as a parameter to the macro,
which is possibly beyond me (not that I wouldn't give it a whirl)

Mike

Tobias Beer

unread,
Mar 21, 2010, 5:50:43 PM3/21/10
to TiddlyWiki
Only careful observation of the tooltips made me understand what the
"exploring" bits are actually about. I guess it's not so much the
interface but the name which was a bit confusing to me. Wouldn't
something like TagListFilter go better with it?

Tobias.

PMario

unread,
Mar 21, 2010, 6:19:20 PM3/21/10
to TiddlyWiki
hi

On Mar 21, 10:50 pm, Tobias Beer <beertob...@googlemail.com> wrote:
> Only careful observation of the tooltips made me understand what the
> "exploring" bits are actually about. I guess it's not so much the
> interface but the name which was a bit confusing to me. Wouldn't
> something like TagListFilter go better with it?

I second this.

The name is a bit confusing, but the Plugin is great!

If you include excludeLists by default, __please__ make it
configurable.

-m

Message has been deleted

Mike

unread,
Mar 21, 2010, 6:45:48 PM3/21/10
to TiddlyWiki
might also look at changing macro name / tooltip to be more
informative (plugin name doesn't matter much to me)

the more I play with the plugin the more I like it. . .

After initial hurdle it is very intuitive

Mike

Mike

unread,
Mar 21, 2010, 8:49:00 PM3/21/10
to TiddlyWiki
I agree excludeLists as an optional parameter would probably be
better, (than my code above)
I was thinking a true / false type option would that be enough
configuration, or are you thinking something more robust?

Mike

Tobias Beer

unread,
Mar 22, 2010, 7:51:40 AM3/22/10
to TiddlyWiki
Also, I think "new" isn't the best label for that button. Perhaps any
of the following would be more intuitive.

- [+]
- filter
- add (filter)
- select (filter)

Tobias.

Tobias Beer

unread,
Mar 22, 2010, 7:58:02 AM3/22/10
to TiddlyWiki
Another thought...

I think it might be quite powerfull to have a different dropdown (or
alternatively more than one)... one that can be configured in a way so
that one can (optionally) define a bracketed list of toplevel-tags or
main-tags... which will then give you a kind of "treelike" dropdown
with all those tags tagging to those toplevel tags. That way, it would
actually be more of an "exploring" process, whereas there'd be a
meaningful hierarchy and not just an alphabetically ordered tagsoup.

I tend to forget to mention these things, but this little plugin is
easy to work with and quite powerful stuff in what it does.

Tobias.

Eric Shulman

unread,
Mar 22, 2010, 8:29:15 AM3/22/10
to TiddlyWiki
> I think it might be quite powerfull to have a different dropdown (or
> alternatively more than one)... one that can be configured in a way so
> that one can (optionally) define a bracketed list of toplevel-tags or
> main-tags... which will then give you a kind of "treelike" dropdown
> with all those tags tagging to those toplevel tags. That way, it would
> actually be more of an "exploring" process, whereas there'd be a
> meaningful hierarchy and not just an alphabetically ordered tagsoup.

another way to explore various combinations of tags is:
http://www.TiddlyTools.com/#MatchTagsPlugin

Usage:
<<matchTags panel ...>>
renders an interactive form for you to enter a *boolean tag
expression*, as well as optional output format, separator, title, and
tags. You can use any combination of tags, with AND, OR, and NOT, as
well as nested parentheses as needed, to create complex selections,
such as:

(foo AND baz) OR NOT (bar OR mumble) OR (frotz AND NOT gronk)

The output (a list of matching tiddler titles) is generated into a
separate tiddler (default name = [[MatchingTiddlers]]), so that the
most recent results can be saved or copied/pasted into other tiddler
content.

enjoy
-e


Mike

unread,
Mar 22, 2010, 1:46:51 PM3/22/10
to TiddlyWiki
any other thoughts on excludeLists?
I am going to have some spare time this week and might play with
it . . .

Mike

FND

unread,
Mar 22, 2010, 5:29:57 PM3/22/10
to tiddl...@googlegroups.com
Thanks for the feedback, everyone.

> any other thoughts on excludeLists?
> I am going to have some spare time this week and might play with it

Your suggested patch seems quite elegant. (I haven't actually tested it
yet.)
I agree that it needs to be an optional parameter (not entirely sure
about the default behavior though), but that shouldn't be too hard:
http://tiddlywiki.org/wiki/Dev:Macro_Parameters#Named_Parameters

> Also, I think "new" isn't the best label for that button. Perhaps any

> of the following would be more intuitive. [...]

I agree, and have already changed my local copy to use "[+]" - not
perfect either, but certainly an improvement.

Also, selected tags should have an "X" icon to clarify that they can be
removed again.

Some styling of the container element would probably help as well.

> I guess it's not so much the interface but the name which was a bit
> confusing to me. Wouldn't something like TagListFilter go better with
> it?

Well, I'm the last person you'd want naming things - but I kinda like
the silly word play (I didn't realize it was that obscure though).
FWIW, I'd be happy for someone to fork this plugin and go their own way.

Apart from the name, I guess a better concise description would also be
useful. But I have a feeling adding the "faceted navigation" label will
only lead to more confusion...

> I think it might be quite powerfull to have a different dropdown

I can't quite visualize this at the moment - but it sounds like a
separate (yet worthwhile) plugin?

I'm rather busy this week, so there will be some latency on my part.


-- F.

passingby

unread,
Mar 22, 2010, 10:45:01 PM3/22/10
to TiddlyWiki
It took me some time to figure out but its great once one gets it.
There are still two questions though:
1. In the demo tiddler, when i remove a tag by clicking on it, it gets
added to the list below, which is fine. But when the very last tag is
removed two things happen, the list below gets expanded with tags
which were'nt there in the tagexplorer at all! and the new button also
starts showing these tags (which werent there earlier). How and why?
2. When one 'adds' a new tag in the tagsplorer, isnt it supposed to be
added to the containing tiddler's tag list? or is that feature not
included yet and will come later?

Great plugin though.

Mike

unread,
Mar 23, 2010, 9:03:45 PM3/23/10
to TiddlyWiki
Starting here. . .
http://www.strm.us/tw/examples_twgg/tagsplorer.h1

Will work on excludeLists parameter tomorrow :P (Finishing may be
another subject)

Mike

Mike

unread,
Mar 24, 2010, 9:07:45 PM3/24/10
to TiddlyWiki
I feel like I cheated. . .
I was having problems adding a parameter (and not messing up the tags
parameter)
so I opted for a configuration cookie. . .
http://www.strm.us/tw/examples_twgg/tagsplorer.h1

Let me know if this is a taboo solution.
(might also be a solution for adding sort order options, see commented
code by overett1)

Mike (a little excited I found a solution, a little perplexed by
parameters)

On Mar 23, 8:03 pm, Mike <eris...@gmail.com> wrote:
> Starting here. . .http://www.strm.us/tw/examples_twgg/tagsplorer.h1

Mike

unread,
Mar 24, 2010, 9:54:03 PM3/24/10
to TiddlyWiki
passingby,
I think the default usage may still be a little confusing, the macro
by itself returns all tiddlers, by clicking new (+) you add a filter
from the dropdown which then shows only tiddlers with that tag, adding
additional filters continues to reduce the tiddler list.

the demo shows the macro with some filters already in place, by
removing all of the filters you can see the full tiddler list.

The plugin does not change the tags on current tiddlers.

Seeing it in action with FND's (2) full examples shows the usage
better than the limited demo.

Hope that helps,
Mike

On Mar 24, 8:07 pm, Mike <eris...@gmail.com> wrote:
> I feel like I cheated. . .
> I was having problems adding a parameter (and not messing up the tags
> parameter)

> so I opted for a configuration cookie. . .http://www.strm.us/tw/examples_twgg/tagsplorer.h1

Mike

unread,
Mar 25, 2010, 7:34:27 PM3/25/10
to TiddlyWiki
Question:
If using the config.options method to change variables
(IE my excludeLists hack) http://www.strm.us/tw/examples_twgg/tagsplorer.h1
how can I specify that when the status of the cookie changes to
refresh Display (would Display work in this context?)

Maybe I am in left field with my approach, but I was thinking to
#add some sort orders in a similar manner (concept from code shared by
overett1)
#then add a dropdown options panel to change the settings from where
the macro is invoked. . .

Similar to http://www.tiddlytools.com/#SiteMenuSearch (search options
used in ToolbarCommands)

And what sort orders would be considered standard? (or desired?)
Alpha, Alpha reversed
Created, Created reversed
Modified, Modified reversed

Would it desired to also change the sort order of the tags list (from
the + (new) dropdown)

Any thoughts or guidance? (still not sure if this is the correct path
to pursue. . .)

Mike

FND

unread,
Mar 26, 2010, 5:03:00 PM3/26/10
to tiddl...@googlegroups.com
I've just updated the plugin with sorting for tag and tiddler
collections, section headings, a different theme and various minor
adjustments:
http://fnd.lewcid.org/misc/jQueryAPI.html
For comparison, the original demo document still uses the old version:
http://fnd.lewcid.org/tmp/tagsplorer.html

> 1. In the demo tiddler, when i remove a tag by clicking on it, it gets
> added to the list below, which is fine.

I guess this is another case of the purpose being unclear. Hopefully the
new presentation will mitigate that issue.

> 2. When one 'adds' a new tag in the tagsplorer, isnt it supposed to be
> added to the containing tiddler's tag list?

See above.

> I opted for a configuration cookie. [...]

> Let me know if this is a taboo solution.

Well, I think it's less than ideal, because it's a global setting. For
example, I might want a version of the macro ignoring excludeLists right
next to one excluding such tiddlers.
Having said that, done is better than perfect.

> If using the config.options method to change variables [...]


> how can I specify that when the status of the cookie changes to
> refresh Display

I believe the propagateOption method takes care of this - you might
wanna ask on the dev group though.

> I was thinking to #add some sort orders in a similar manner

Sounds a bit like feature creep to me - but that might be because I
can't quite visualize it yet.


-- F.

Mike

unread,
Mar 26, 2010, 8:47:34 PM3/26/10
to TiddlyWiki
thank you for the feedback FND,
I thought it was to easy of a solution, which usually means - not the
best way. . .

I like the additions, and I would still like to add a excludeLists
parameter, but it is beyond my capabilities right now, I need to spend
some time building some simple macros w/ parameters before I can
tackle this

walk before running :D

the Dev:Macros is a good starter, but after a few hours of
experimenting I felt like I was missing something, but I don't know
enough yet to ask what I am doing wrong.

A great plugin ! and getting better. . .

Mike

twgrp

unread,
Mar 26, 2010, 9:13:22 PM3/26/10
to TiddlyWiki
I guess it's a matter of aesthetics, or maybe it's for another plugin
all together, but I'm throwing out this idea;

Expand the concept to become a kind of semi-visual boolean filter for
tags, i.e other than just the current "AND" operator, start off the
drop down tags list by listing the basic boolean operators, including
brackets, as options to choose from. Then instead of just listing the
chosen tags (with the current implied AND between them), show the full
expression. A bit like modern calculators. If no booleans are chosen,
then AND is the presumed default (and a NOT for excludeLists).
Perhaps a little slider as the first list element in the tags drop
down list, that expands into this boolean list.

I guess I'm also suggesting this to Mr.ELS (or anyone else) as an
optional interface for matchtagsplugin?

Just an idea. I'm tired, LOL.

Thanks for making this available FND!

FND

unread,
Mar 27, 2010, 6:07:45 AM3/27/10
to tiddl...@googlegroups.com
> I would still like to add a excludeLists parameter, but it is beyond
> my capabilities right now, I need to spend some time building some
> simple macros w/ parameters before I can tackle this

Isolating the problem sounds like a good plan.
I was gonna give you some sample code, but then went ahead and added it
directly to the macro:
http://trac.tiddlywiki.org/changeset/11906

I haven't tested it extensively, but it seems like that results in the
desired behavior (as far as I understood the request).

> Expand the concept to become a kind of semi-visual boolean filter

That sounds useful - however, it goes beyond the scope of this
particular plugin, so I recommend forking the code to extend it.


-- F.

twgrp

unread,
Mar 27, 2010, 9:11:00 AM3/27/10
to TiddlyWiki
No biggie, but still: Would like to se a re-focus onto that top field,
ie. to where the chosen tags are listed. Currently, after selecting a
second tag from a longer(!) list as in your supplied example, the
focus is set to the top of the resulting list.

Mike

unread,
Mar 28, 2010, 4:21:02 PM3/28/10
to TiddlyWiki
Found a minor bug in the v1.2.0
<<tagsplorer>> (no parameters)
returns a error. . .(type error: tags is undefined)
Example:
http://www.strm.us/tw/examples_twgg/tagsplorer.h1

Mike

unread,
Mar 28, 2010, 4:29:25 PM3/28/10
to TiddlyWiki
one more addition. . . can you exclude multiple tags?
My testings says no, but I may have the syntax wrong. . .

Great Work, need to compare v1.1 vs v1.2 to figure how you did it :P

Have a good day,

Mike

On Mar 27, 5:07 am, FND <F...@gmx.net> wrote:

FND

unread,
Mar 29, 2010, 5:39:11 AM3/29/10
to tiddl...@googlegroups.com
> Would like to se a re-focus onto that top field, ie. to where the
> chosen tags are listed. Currently, after selecting a second tag from
> a longer(!) list as in your supplied example, the focus is set to the
> top of the resulting list.

I'm guessing this should addess that issue:
http://trac.tiddlywiki.org/changeset/11907
http://svn.tiddlywiki.org/Trunk/contributors/FND/plugins/TagsplorerMacro.js

> Found a minor bug in the v1.2.0
> <<tagsplorer>> (no parameters)
> returns a error. . .(type error: tags is undefined)

Oops - should be fixed now. Good catch.

> one more addition. . . can you exclude multiple tags?

Nope - I didn't wanna make it too complex. (In fact, I was considering
just hardcoding the "excludeLists" tag, making the parameter a simple
boolean value.)

> need to compare v1.1 vs v1.2 to figure how you did it

That's why I linked you to the diff (changeset) before.
Seems like adding support for multiple exclude tags as per above would
be a good exercise.


-- F.

overett1

unread,
Mar 29, 2010, 8:09:49 AM3/29/10
to TiddlyWiki
When using TagsplorerMacro in a tiddlywiki run as an HTA file (with
IE6 as the browser), any click on the list of tags or the [+] button
leads to a blank window being opened. I fixed this by adding 'return
false;' at the end of any function that did not return a value
(handler, newTagClick, onTagClick, delTag, refreshTags and
refreshTiddlers).

Cheers

Jonathan

FND

unread,
Mar 29, 2010, 8:16:09 AM3/29/10
to tiddl...@googlegroups.com
> I fixed this by adding 'return false;' at the end of any function
> that did not return a value (handler, newTagClick, onTagClick,
> delTag, refreshTags and refreshTiddlers).

Good catch - those returns got lost in some early refactoring.
Fixed now:
http://trac.tiddlywiki.org/changeset/11913


-- F.

Mike

unread,
Mar 29, 2010, 10:16:45 PM3/29/10
to TiddlyWiki
Thank You FND,
great answers + awesome plugin + a new project for me :)

I appreciate your patience,

Mike

P.S. Can anyone reccomend a good JQuery book - websites are good, I
just learn better from a old school book (which will probably be
slightly out dated)

twgrp

unread,
Mar 30, 2010, 6:41:40 PM3/30/10
to TiddlyWiki
Another minor suggestion;
The problem becomes particularly obvious when viewing
http://fnd.lewcid.org/misc/jQueryAPI.html
and adding e.g the tag "DOM Insertion, Inside" resulting in a tags
list that looks like;
jQuery API DOM Insertion, Inside
Unless placing the mouse directly over a tag there, it is very
difficult to tell how many tags this is and exactly what they are.
I suggest a separator between tags, such as pipe surrounded by spaces,
i.e: _|_
but in a very faint color.

Again, thank you for a wonderful little plugin.


On Mar 29, 11:39 am, FND <F...@gmx.net> wrote:
> > Would like to se a re-focus onto that top field, ie. to where the
> > chosen tags are listed. Currently, after selecting a second tag from
> > a longer(!) list as in your supplied example, the focus is set to the
> > top of the resulting list.
>

> I'm guessing this should addess that issue:http://trac.tiddlywiki.org/changeset/11907http://svn.tiddlywiki.org/Trunk/contributors/FND/plugins/TagsplorerMa...

Tobias Beer

unread,
Mar 31, 2010, 6:21:34 AM3/31/10
to TiddlyWiki
I second that. Maybe some black, white or low-contrast "|" will do
some good here.

Tobias.


On Mar 31, 12:41 am, twgrp <matiasg...@gmail.com> wrote:
> Another minor suggestion;

> The problem becomes particularly obvious when viewinghttp://fnd.lewcid.org/misc/jQueryAPI.html


> and adding e.g the tag "DOM Insertion, Inside" resulting in a tags
> list that looks like;
> jQuery API DOM Insertion, Inside
> Unless placing the mouse directly over a tag there, it is very
> difficult to tell how many tags this is and exactly what they are.
> I suggest a separator between tags, such as pipe surrounded by spaces,
> i.e: _|_
> but in a very faint color.
>
> Again, thank you for a wonderful little plugin.
>
> On Mar 29, 11:39 am, FND <F...@gmx.net> wrote:
>
> > > Would like to se a re-focus onto that top field, ie. to where the
> > > chosen tags are listed. Currently, after selecting a second tag from
> > > a longer(!) list as in your supplied example, the focus is set to the
> > > top of the resulting list.
>

> > I'm guessing this should addess that issue:http://trac.tiddlywiki.org/changeset/11907http://svn.tiddlywiki.org/T......

twgrp

unread,
Mar 31, 2010, 8:17:08 AM3/31/10
to TiddlyWiki
Actually, I realized other separators are probably clearer such as a
(vertically centered) bullet or a simple ">". Indicates a gradual
refinement/path. A more subtle version of ">" is "›" (ref number 155
here http://www.ascii-code.com/ )

Still think some color contrast is a good idea.

(Procrastinating something? Who, me? Are these 5 pixels NOT of
uttermost importance? LOL)

FND

unread,
Mar 31, 2010, 8:25:52 AM3/31/10
to tiddl...@googlegroups.com
> it is very difficult to tell how many tags this is and exactly what
> they are. I suggest a separator between tags, such as pipe surrounded
> by spaces

I'd experimented with this, but didn't come up with a satisfying solution.
Instead of adding an extra character (separation of concerns and all), I
added a border and padding:
.tagsplorer .tagSelection li {
float: left;
margin-right: 0.5em;
border-left: 1px solid [[ColorPalette::TertiaryLight]];
padding-left: 0.5em;
}
(this rule can be amended in the StyleSheetTagsplorer shadow tiddler)

A different approach might be to make tags look like buttons - this can
be tested with the following line of JavaScript:
jQuery(".tagSelection a").addClass("button");
(e.g. executed via Firebug, or with a "javascript:" prefix in the
browser's address bar)

Even nicer would be an approach similar to Delicious's arrows:
http://delicious.com/tag/tiddlywiki+plugins
This is tricky to implement without images - though not impossible:
http://www.jonrobson.me.uk/static/development/css_arrows/arrow.html

If we can agree on a particular style here, I'd add it to the plugin.


-- F.

Mike

unread,
Mar 31, 2010, 1:24:20 PM3/31/10
to TiddlyWiki
I admit that I wasn't sure about a seperator - untill I saw the css
arrows (delicious style) I think that would be awesome in low
contrast.

and it would add a bit of style w/ function.. ..

Mike

Tobias Beer

unread,
Apr 1, 2010, 5:37:33 AM4/1/10
to TiddlyWiki
The new css border styling looks good + it's much cleaner than hard-
coding, semantically useless separators.

Tobias.

overett1

unread,
Apr 1, 2010, 7:58:20 AM4/1/10
to TiddlyWiki
To ensure tiddlers included using IncludePlugin are listed, it would
be good if the first line of the getTiddlers function could use
reverseLookup, so:

var tiddlers = store.reverseLookup("title", excludeTag);

I've also added a cross after the tags by amending refreshTags as
follows:

createTagElement(clone, tag+" ×", self.locale.delTagTooltip,
self.delTag);

and delTag as follows:

tags.remove(btn.text().replace(/ ×$/, ""));


Jonathan

FND

unread,
Apr 1, 2010, 9:25:14 AM4/1/10
to tiddl...@googlegroups.com
> I admit that I wasn't sure about a seperator - untill I saw the css
> arrows (delicious style) I think that would be awesome

I haven't had time to look into this yet, and probably won't for a
while. CSS wizardry contributions (or research into prior art) would be
most welcome...

> The new css border styling looks good + it's much cleaner than hard-
> coding, semantically useless separators.

So should we settle for that until someone comes along to implement
those fancy image-less arrows?

> To ensure tiddlers included using IncludePlugin are listed, it would
> be good if the first line of the getTiddlers function could use
> reverseLookup

Is there any particular reason why the IncludePlugin doesn't support
getTiddlers - it sounds like perhaps it should? (I'm not intimately
familiar with that particular plugin.)

> I've also added a cross after the tags by amending refreshTags

As previously mentioned, I'm not too keen on adding magic characters for
presentational purposes, so I probably won't adopt this change. (Though
I gotta admit that I currently don't have a better solution.)
Of course it's perfectly fine for you to keep your own little fork. You
might want to amend the Name slice though to avoid confusion.


-- F.

overett1

unread,
Apr 1, 2010, 10:13:04 AM4/1/10
to TiddlyWiki
> Is there any particular reason why the IncludePlugin doesn't support
> getTiddlers - it sounds like perhaps it should? (I'm not intimately
> familiar with that particular plugin.)

According to the comments in the source code it's because getTiddlers
is used for saving, and the idea of ImportPlugin is that external
tiddlers are imported but not saved.

> As previously mentioned, I'm not too keen on adding magic characters for
> presentational purposes, so I probably won't adopt this change. (Though
> I gotta admit that I currently don't have a better solution.)
> Of course it's perfectly fine for you to keep your own little fork. You
> might want to amend the Name slice though to avoid confusion.

Fair enough, it was the reference to delicious above that made me
think it might work.

J

FND

unread,
Apr 2, 2010, 3:46:58 PM4/2/10
to tiddl...@googlegroups.com
> [...] implement those fancy image-less arrows

It seems there is no clean (as in KISS) way to achieve this.
So I settled for subtle rounded corners (supported by modern browsers,
degrades gracefully) - not perfect, but an improvement I guess:
http://fnd.lewcid.org/misc/jQueryAPI.html


-- F.

FND

unread,
Apr 6, 2010, 5:24:42 AM4/6/10
to tiddl...@googlegroups.com
>> Is there any particular reason why the IncludePlugin doesn't support
>> getTiddlers - it sounds like perhaps it should? [...]

>
> According to the comments in the source code it's because getTiddlers
> is used for saving, and the idea of ImportPlugin is that external
> tiddlers are imported but not saved.

After thinking about this some more, I'm not comfortable with such a
change (for one thing, reverseLookup seems less performant than
getTiddlers).

So I suggest you create a simple fork, replacing just one line:
- var tiddlers = store.getTiddlers("title", excludeTag);
+ var tiddlers = store.reverseLookup("tags", excludeTag, false, "title");

Does that seem acceptable?


-- F.

overett1

unread,
Apr 6, 2010, 8:29:17 AM4/6/10
to TiddlyWiki

That's fine with me, thanks for considering it!

Jonathan

Mike

unread,
Apr 12, 2010, 2:58:39 PM4/12/10
to TiddlyWiki
FND,

Not sure if you have already addressed this, but in my document the
tag selection popup was not closing after a selection was made
(I assume you can find a better way to patch this) (ff3.5 winXP - in
case it is a browser related issue)

My Patch:

onTagClick: function(ev) {

macro.refreshTags(data.tags, data.container);
macro.refreshTiddlers(data.tiddlers, data.container);
macro.refreshTags(tags); //added to close popup after tag selection
return false;

From: TagsplorerMacro v1.3.2 stable

Mike

FND

unread,
Apr 13, 2010, 4:06:21 PM4/13/10
to tiddl...@googlegroups.com
> Not sure if you have already addressed this, but in my document the
> tag selection popup was not closing after a selection was made

I had noticed this as well - while it is strange, it turned out to be
quite useful sometimes, so I didn't fix it immediately.
Thanks for the reminder though, as that prompted me to fix it properly:
http://trac.tiddlywiki.org/changeset/12013
(I'm not sure whether this works across browsers; it's possible
stopPropagation should be used instead.)

FWIW, this is consistent with the core's behavior:
http://trac.tiddlywiki.org/ticket/426


-- F.

Mike

unread,
Apr 13, 2010, 4:26:05 PM4/13/10
to TiddlyWiki
Awesome !
I didn't know the core tag chooser had that option, but I will
probably use that now. . .
(I learn something new everyday)

Mike

Anthony Muscio

unread,
Apr 15, 2010, 1:12:16 AM4/15/10
to tiddl...@googlegroups.com
Folks,

Without me Trawling all these Posts can anyone tell me how to find the latest version of the tagsplorer plugin ?

I am very impressed with the possibilities and functionality of the one linked to in the first email, in this thread !

Also Has the question been put to add a Not Tag list that you could also remove or add tag names from that will filter out particular tags. This would be ideal to allow;
1. Using tagsplorer in a tag rich tiddlywiki
2. Using tagsplorer in a GTD tiddlywiki with variouse status tags etc... applied to tiddlers ?

Thanks Tony




TonyM

If you have not found an easy way to do it with TiddlyWiki, you have missed something.
www.tiddlywiki.com



--
You received this message because you are subscribed to the Google Groups "TiddlyWiki" group.
To post to this group, send email to tiddl...@googlegroups.com.
To unsubscribe from this group, send email to tiddlywiki+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/tiddlywiki?hl=en.


Anthony Muscio

unread,
Apr 15, 2010, 2:22:34 AM4/15/10
to tiddl...@googlegroups.com
I found source at http://svn.tiddlywiki.org/Trunk/contributors/FND/plugins/TagsplorerMacro.js
placed in a tiddler and I see the Exclude: parameter but It is not what I was suggesting in my last email.

I understand the current behavior to be
<<tagsplorer>> Shows you all tiddlers
and
NEW allows you to select any tag in the tiddlywiki
Once a tag is selected it shows you all tiddlers tagged with it (and nothing else)
NEW now allows you to select any tag used in any of the listed tiddlers (no Others)
Once another tag is selected it shows you all tiddlers tagged with it and the previous one (and nothing else)
NEW now allows you to select any tag used in any of the listed tiddlers (no Others)

<<tagsplorer tag1 tag2>>
Follows the above rules but acts as if you already used "NEW tag1" and "NEW tag2"

My desired behavior would include
a NOT button
<<tagsplorer>> Shows you all tiddlers
and
NOT allows you to select any tag in the tiddlywiki
Once a tag is selected it excludes any tiddler containing it from the list
NOT now allows you to select any tag used in any of the listed tiddlers (no Others)
Once another tag is selected it excludes all tiddlers tagged with it and the previous exclusion
NOT now allows you to exclude any tag used in any of the listed tiddlers (no Others)

Thus - proposed or any other syntax eg -tag +tag
<<tagsplorer tag1 tag2 NOT tag3 tag4>>
Follows the above rules but acts as if you already used "NEW tag1" and "NEW tag2"
as well as "NOT tag3" and "NOT tag4"

The use of not is intentional as one could say NEW adds a filter to the list (a bit like exclude).

The default behavior could be to ignore tiddlers tagged ExcludeLists ExcludeMissing ExcludeSearch systemConfig (as is the case for many plugins, and/or allow other defined tag such as closed (in GTD's)

The above ignored tags to be reintroduced by being listed in <<tagsplorer include:systemConfig>>

This would allow a great tool to manipulate sets of tagged tiddlers. With the freedom to quickly query the tag tiddler verse.

I hope this is a meaningful contribution.


Blue sky dreaming - read on only if you want inspiration

tiddlers as tags as tiddlers

A check box in front of the listed tiddlers could tag the current tiddler or a named tiddler with the checked tiddler name(s)
Imagine a tiddler DOW (day of week) that tags tiddlers Mon Tue Wed ...
This will show all DOW's for tagging of the current or named tiddler.

Then using tagsplorer in another tiddler NEW "DOW" will give a list of the Days of the week you could select and apply to the current tiddler (conversely un-check)

The selection of tags on the current tiddler
  • to apply to the current tiddler with the resultant tags appearing in the list with a "done" button committing all listed to the current tiddler


TonyM

If you have not found an easy way to do it with TiddlyWiki, you have missed something.
www.tiddlywiki.com



FND

unread,
Apr 15, 2010, 6:01:53 AM4/15/10
to tiddl...@googlegroups.com
> can anyone tell me how to find the latest version

As you've discovered, the latest version of my plugins is usually
available via SVN.
That's mostly because I can't be bothered to clean up my DevPad site or
to set up a new distribution site. (Perhaps TiddlySpace will serve that
purpose eventually.)

> I am very impressed with the possibilities and functionality of the
> one linked to in the first email, in this thread !

FWIW, I've just updated that demo site to use the latest version. I've
also changed the canonical URL:
http://fnd.lewcid.org/misc/TagsplorerDemo.html

> Has the question been put to add a Not Tag list that you could also
> remove or add tag names from that will filter out particular tags.

I intentionally only support excludeLists to reduce complexity. I
believe there was talk of someone forking the plugin to allow for more
sophisticated exclusion, but that hasn't happened yet.

> *I understand the current behavior to be* [...]

That sounds about right, except:

> Once a tag is selected it shows you all tiddlers tagged with it (and
> nothing else)

That last part is not accurate. There might be any number of additional
tags on any of the matching tiddlers (that's kind of the point;
gradually refining the results).

> *My desired behavior would include*
> a NOT button

As with previous suggestions, I believe this is interesting - but
possibly outside the scope of my own implementation.
Patches and forks welcome...


-- F.

Mike

unread,
Apr 15, 2010, 1:56:21 PM4/15/10
to TiddlyWiki
I have the exclude parameter on my to do list, as a project to learn
more about JS and macro parameters, so I am taking my time (and I get
easily distracted by other project ideas)

feel free to create a patch and post it here if you have the time,
otherwise I will continue to work in that direction. . . (no specific
timeline)

Mike

Anthony Muscio

unread,
Apr 15, 2010, 8:19:53 PM4/15/10
to tiddl...@googlegroups.com
Thanks FND,

It has been inspirational the possibilities and I do hope a Fork as per my suggestions is developed.

It dose apply pressure once again for me to learn java script as I would love to share the load and take such tools that little bit further to Awesome Status.

Without making this email too complex I must say I have deep reasons to desire the modifications I suggested. It seems tiddlywiki is on the cusp of major improvements, if tagging can be used easily with more sophistication and structured interactivity. If tag manipulation and reporting is opened up correctly Set theory and database models would provide exponentially more capabilities to tiddlywki.

But for now I need to be patient. Thanks for your contributions.


TonyM

If you have not found an easy way to do it with TiddlyWiki, you have missed something.
www.tiddlywiki.com



--
You received this message because you are subscribed to the Google Groups "TiddlyWiki" group.
To post to this group, send email to tiddl...@googlegroups.com.
To unsubscribe from this group, send email to tiddlywiki+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/tiddlywiki?hl=en.

overett1

unread,
Apr 16, 2010, 6:45:00 AM4/16/10
to TiddlyWiki
> I intentionally only support excludeLists to reduce complexity. I
> believe there was talk of someone forking the plugin to allow for more
> sophisticated exclusion, but that hasn't happened yet.

<<tagsplorer exclude:foo>> does work to exclude tiddlers tagged with
"foo" from the filtered list, or have I misunderstood your meaning?

Jonathan

Anthony Muscio

unread,
Apr 16, 2010, 7:53:25 AM4/16/10
to tiddl...@googlegroups.com
But what about

<<tagsplorer exclude:foo exclude:bar task urgent>>


TonyM

If you have not found an easy way to do it with TiddlyWiki, you have missed something.
www.tiddlywiki.com



Mike

unread,
Apr 16, 2010, 1:33:23 PM4/16/10
to TiddlyWiki
The current exclude parameter will accept (1) tag ie exclude:foo or
exclude:'my tag'

it does not support multiple tags (yet)

Mike

On Apr 16, 6:53 am, Anthony Muscio <anthony.mus...@gmail.com> wrote:
> But what about
>
> <<tagsplorer exclude:foo exclude:bar task urgent>>
>
> TonyM
>
> If you have not found an easy way to do it with TiddlyWiki, you have missed
> something.www.tiddlywiki.com
>
>
>
> On Fri, Apr 16, 2010 at 20:45, overett1 <jonathan.over...@gmail.com> wrote:
> > > I intentionally only support excludeLists to reduce complexity. I
> > > believe there was talk of someone forking the plugin to allow for more
> > > sophisticated exclusion, but that hasn't happened yet.
>
> > <<tagsplorer exclude:foo>> does work to exclude tiddlers tagged with
> > "foo" from the filtered list, or have I misunderstood your meaning?
>
> > Jonathan
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "TiddlyWiki" group.
> > To post to this group, send email to tiddl...@googlegroups.com.
> > To unsubscribe from this group, send email to
> > tiddlywiki+...@googlegroups.com<tiddlywiki%2Bunsubscribe@googlegrou ps.com>
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/tiddlywiki?hl=en.
>
> --
> You received this message because you are subscribed to the Google Groups "TiddlyWiki" group.
> To post to this group, send email to tiddl...@googlegroups.com.
> To unsubscribe from this group, send email to tiddlywiki+...@googlegroups.com.
> For more options, visit this group athttp://groups.google.com/group/tiddlywiki?hl=en.
Reply all
Reply to author
Forward
0 new messages