find tiddlers tagged foo
append !!!Review to the end of the tiddler text

Something like the following:
---------------
store.suspendNotifications();
store.forEachTiddler(function(title, tiddler) {
    if(tiddler.tags.contains("foo")) {
        // TODO: check for existing Review section first
        var body = tiddler.text + "\n!!!Review\n";
        store.saveTiddler(title, title, body, tiddler.modifier,
            tiddler.modified, tiddler.tags, tiddler.fields, false,
            tiddler.created, tiddler.creator);
    }
});
store.resumeNotifications();
---------------

Since this is a one-time operation, I'd execute that code from Firebug's console. Alternatively, you can make it a plugin (systemConfig-tagged tiddler) and remove/disable it after reloading. Do not use evaluated macro parameters, as those are evaluated twice and that code up there has no safety checks.

I was hoping to be able to do a simple find and replace in notepad++

As you know, editing the TiddlyWiki source in a text editor is dangerous if you're not careful (e.g. escaping special characters).


-- F.

--
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