To all,

I have a tiddlywiki database that I have built up for more than two
years. It is fab. Unfortunately in the early days I used punctuation
characters in my tags to organise them. All my status tags begin with
"="  eg =closed =inactive etc.. and other tags with other values such
as .task

Despite a number of pleas for macros to account for this possibility -
which is after all valid for tag and tiddler names, I have come to the
point where I want to rename them. Below is the method I will use -
can anyone tell me if this is asking for trouble ?

take a copy of my TiddlyWiki
Use http://mptw.tiddlyspot.com/#RenameTagsPlugin to rename the
required tags
Use http://www.TiddlyTools.com/#ExportTiddlersPlugin to Export the
core + all tiddlers tagged systemConfig
Using a text editor search for all occurrences of the old tag names in
the above file and copy and paste its occurrence and a number of
characters around it into another file
"=closed" occurs as follows in the core and plugins - example snip-its
here
openedtext=closedtext;
closedtext=closedtext.slice(0,-2)
key=closedtext.substr(closedtext.length-1,1)

Now open the copy of the original tiddlywiki in an editor
Replace all occurrences of the tag name "=closed" with "closed"
Search for the above snip-its (less the =) and re-insert the = in the
correct location
Save and close the file and reopen it in the browser

Presto - it should now work as if the closed tag was always used.

A few script files, not tagged systemConfig may need to be corrected
but all should work. I do need to do this for 20 or more tags so it
may be quite time consuming but quicker than rebuilding the whole
tiddlywiki.

Any advice or better ideas please

Thanks Tony

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

Reply via email to