Question/Help with replacing tags of multiple tiddlers

24 views
Skip to first unread message

Shankar Swamy

unread,
Dec 13, 2011, 9:03:24 PM12/13/11
to TiddlyWikiDev
I have > 1000 tiddlers, of which ~150 have wrong tags :-(

I can list them all through the following macro:

<<forEachTiddler
where
'tiddler.text.contains("plugin") && !
tiddler.text.contains("myBadTag")'
write
'"# [["+tiddler.title+"]] ("+tiddler.tags+")\n"'
>>

Now I would like to do two things:

1. Ask the user a "yes or no" question for each tiddler listed above,
and if the user said "yes", open that tiddler.

2. Ask the user a "yes or no" question for each tiddler listed above,
and if the user said "yes", replace all the tags with "XXX YYY ZZZ"
tags (all tiddlers should get the same tags.

Is there a way to do this by extending the macro above?

Thanks for your help.

Cheers; 'best,
shankar swamy

Måns

unread,
Dec 14, 2011, 4:00:29 PM12/14/11
to TiddlyWikiDev
Hi Shankar Swami


> 1. Ask the user a "yes or no" question for each tiddler listed above,
> and if the user said "yes", open that tiddler.
>
> 2. Ask the user a "yes or no" question for each tiddler listed above,
> and if the user said "yes", replace all the tags with "XXX YYY ZZZ"
> tags (all tiddlers should get the same tags.

Do you know Eric's TiddlerTweakerPlugin? http://www.tiddlytools.com/#TiddlerTweakerPlugin

It features batch editing of tiddler tags and it will let you open
tiddlers individually for editing..

Cheers Måns Mårtensson

cmari

unread,
Dec 14, 2011, 5:21:03 PM12/14/11
to tiddly...@googlegroups.com

Shankar Swamy

unread,
Dec 18, 2011, 2:52:19 PM12/18/11
to TiddlyWikiDev

On Dec 14, 2:21 pm, cmari <cema...@gmail.com> wrote:
> There's also the MultiTagEditorPlugin:http://ido-xp.tiddlyspot.com/#MultiTagEditorPlugin

> with more information here:https://groups.google.com/forum/?hl=en#!searchin/gtd-tiddlywiki/byzan...
> cmari

Thank, you very much - that was exactly what I was looking for.

Cheers; 'best,
shankar swamy

Reply all
Reply to author
Forward
0 new messages