Multiple tagging at once

20 views
Skip to first unread message

Nicolas Syssoieff

unread,
Jan 22, 2008, 2:31:16 AM1/22/08
to tiddlywiki
Hi All,

I've been looking everywhere and I can't find a decent solution to do what I'm trying to do.

Suppose I have 100+ tiddlers, tagged "Projects".
Now I have changed my mind, and I'd like to divide them into tags "Project1", "Project2", "Project3", creating three subsets.

How can I do that easily (other than manually, of course) ?
The closest thing I have tried is the MultiTagEditorPlugin, found on Tiddlyvault, but for some reason it doesn't work on my TW (if anyone is familiar with it, then here is the error : after two or three clicks, the "refresh list" and "add to list" button stop working and that's it - more, I think it corrupts the TW, because afterwards I can't upload it back online any more, so I've stopped using it, full stop)

Therefore, what I would require is just to be able to manage all tags of all tiddlers in one single place.

I would dream of a very simple thing, let's say a large table where I would see all tiddlers in this format :
[Tiddler 1|"List of tiddler 1 tags"|
[Tiddler 2|"List of tiddler 2 tags"|
with simple editable form fields which would allow me to quickly copy paste values from one to another, etc...
Then a large submit button would apply all these tags across all TW ?

Am I dreaming ? ;)

-Nicolas

FND

unread,
Jan 22, 2008, 4:37:21 AM1/22/08
to Tiddl...@googlegroups.com
> Suppose I have 100+ tiddlers, tagged "Projects".
> Now I have changed my mind, and I'd like to divide them into tags
> "Project1", "Project2", "Project3", creating three subsets.

Not sure if this helps, but try this adaptation of Saq's RenameTag
bookmarklet*:
http://tinyurl.com/36uqms
(http://xdexavier.googlepages.com/sharebookmarklet.html?author=FND&description=Renames%20all%20occurrences%20of%20a%20tag%2C%20allowing%20to%20replace%20a%20single%20tag%20with%20multiple%20tags.&title=RenameTags&code=(%0A%09function()%20%7B%0A%09%09if(window.version%20%26%26%20window.version.title%20%3D%3D%20'TiddlyWiki')%20%7B%0A%09%09%09var%20oldTag%20%3D%20prompt('Enter%20the%20tag%20to%20rename'%2C%20'oldTag')%3B%0A%09%09%09var%20newTags%20%3D%20prompt('Rename%20tag%20'%2BoldTag%2B'%20to%3A'%2C'newTag')%3B%0A%09%09%09newTags%20%3D%20newTags.readBracketedList()%3B%0A%09%09%09var%20t%20%3D%20store.getTaggedTiddlers(oldTag)%3B%0A%09%09%09store.suspendNotifications()%3B%0A%09%09%09var%20j%3B%0A%09%09%09for(var%20i%20%3D%200%3B%20i%20%3C%20t.length%3B%20i%2B%2B)%20%7B%0A%09%09%09%09t%5Bi%5D.tags.remove(oldTag)%3B%0A%09%09%09%09for(j%20%3D%200%3B%20j%20%3C%20newTags.length%3B%20j%2B%2B)%20%7B%0A%09%09%09%09%09t%5Bi%5D.tags.pushUnique(newTags%5Bj%5D)%3B%0A%09%09%09%09%7D%0A%09
%09%09%7D%0A%09%09%09store.resumeNotifications()%3B%0A%09%09%09refreshDisplay()%3B%0A%09%09%7D%0A%09%7D%0A)())
This allows you to replace a single tag with multiple tags (e.g. "foo"
turns into "bar [[lorem ipsum]]"). (Just to be on the safe side, make
sure you create a backup before applying this.)

However, as I understand it, you do not want to assign all subsets to
each tiddler tagged with "projects" - so we'd need to specify some sort
of condition for automatic processing...

> Therefore, what I would require is just to be able to manage all tags of
> all tiddlers in one single place.

Have you tried Eric's TiddlerTweakerPlugin:
http://tiddlytools.com/#TiddlerTweakerPlugin

HTH.


-- F.


* http://lewcid.org/tiddlywiki-bookmarklets/

Jack

unread,
Jan 22, 2008, 4:42:06 AM1/22/08
to TiddlyWiki

Nicolas Syssoieff

unread,
Jan 22, 2008, 5:16:48 AM1/22/08
to Tiddl...@googlegroups.com
Hi FND,

It seems that the bookmarklet does not perform the actions I'd like
However, the TiddlerTweakerPlugin looks promising.
I'll have a look at it and let you know if this corresponds to my needs.

THanks !
-Nicolas

On Jan 22, 2008 10:37 AM, FND <Ace_...@gmx.net> wrote:

> Suppose I have 100+ tiddlers, tagged "Projects".
> Now I have changed my mind, and I'd like to divide them into tags
> "Project1", "Project2", "Project3", creating three subsets.

Not sure if this helps, but try this adaptation of Saq's RenameTag
bookmarklet*:
    http://tinyurl.com/36uqms

Nicolas Syssoieff

unread,
Jan 22, 2008, 10:10:53 AM1/22/08
to Tiddl...@googlegroups.com
Thanks for this last answer, Jack, but as I said, for some reason, it doesn't work for me after a very short while. This might be an incompatibility with some other plugin, but I'm not ready to extensively test them all :)

That's why i was looking for some alternate solutions.

Thanks anyway.
-Nicolas

Nicolas Syssoieff

unread,
Jan 22, 2008, 11:37:06 AM1/22/08
to Tiddl...@googlegroups.com
All,
Thanks for your answers, I managed to do something with a combination of those :)

-Nicolas
Reply all
Reply to author
Forward
0 new messages