[Zope] Search and replace

Martin Winkler marwin98@gmx.net
Mon, 20 Nov 2000 00:12:50 +0100


At 21:03 19.11.2000, you wrote:
>Is there any way to do a 'search and replace' in a Zope folder (and it's
>subfolders)?

AFAIK: no. But on the other hand: why do you need it? That's what objects 
are for... Just create a method with the text that may change sometimes and 
is displayed on many pages, and include it with <dtml-var ..>.
One possibility I see is: export the folder as XML, edit the file in your 
favourite text-editor and do a search 'n replace. (with the <dtml-var>, of 
course ;-)
Then import the file again.

Hope this helps,

Martin