Thanks Mike,

Some good ideas there.

Modified plugins are my lesser concern, It is the macro parameters (tag
values) within tiddlers (eg; using the With) that concern me more. I have
dozens if not hundreds to change.

Perhaps (on a copy of course) "NewCoreFile"
Rename all tags to be renamed (also makes sure the new tag is not already a
tiddler)
export all tiddlers not tagged systemConfig (use !systemConfig in Export
tiddlers plugin match tags filter) to a "rename file" (will include view and
page templates)
Edit "rename file" and replace all "=closed" with "closed" and other tags to
be renamed.
reopen "NewCoreFile" and import all tiddlers from "rename file" (replace
all)

We almost have it, I think,

The only thing I have not yet dealt with is the rename in of the tag within
page and view templates and toolbars.These are included in the above method
but I wonder how valid it is ? Perhaps if I investigate the validity of the
search/replace in a set of tiddlers containing "<div>"' exported to a
temporary file.

I may see if I can document the final approach in tiddlywiki.org

Thanks Tony

TonyM

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



On Sat, May 1, 2010 at 03:27, Mike <[email protected]> wrote:

> As I am sure you are aware editing via text editor can be
> troublesome. . .
>
> can I assume you have edited some plugins, or created your own and
> that is why you are using this approach?
>
> In theory it should work. . .
>
> I did something similiar a while back, though not as extensive, my
> approach was to make a copy of my TW, rename the tags in question (via
> the renametagsplugin) get a vanilla copy of the tw, import (via
> tiddlytools importtiddlers bookmarklet) and reinstall the plugins from
> their source (which also made sure I was using updated versions) then
> I did a search in the new TW for any reference to the old tags
> (scripts, tiddler references ect.)and used the quickEdit replace to
> correct them.
>
> Not sure if it is feasible in your document, and your method will be
> faster, but I was concerned with accidentally replacing core
> functions.
>
> Possibly doing the find & replace (in a text editor), then importing
> all tiddlers to a new TW will save you the time of worrying about any
> botched core. . . (only plugins to verify at that point?)
>
> Just my thoughts. . .
>
> Mike (edited subject for threading)
>
> On Apr 29, 11:10 pm, Anthony Muscio <[email protected]> wrote:
> > 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
> > Usehttp://mptw.tiddlyspot.com/#RenameTagsPluginto rename the
> > required tags
> > Usehttp://www.TiddlyTools.com/#ExportTiddlersPluginto 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]<tiddlywiki%[email protected]>
> .
> > For more options, visit this group athttp://
> 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 [email protected].
> To unsubscribe from this group, send email to
> [email protected]<tiddlywiki%[email protected]>
> .
> 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 [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