Re: [Zope] Search and Replace tool

2008-12-16 Thread Stephen Christian
On Tue, 16 Dec 2008, Tres Seaver wrote: Please don't reply to an existing thread to ask an unrelated question. Thought, I started a new thread, maybe I have something configured incorrectly. I've been doing some googling and haven't found anything exactly what I'm looking for...

Re: [Zope] Search and replace interface

2000-12-12 Thread Chris Withers
"Stefan H. Holek" wrote: May I humbly point you to the ReplaceSupport product I had cataloged today... http://www.zope.org/Members/shh/ReplaceSupport/ Looks good :-) How about doing a proposal/project on dev.zope.org to see whether it could become an 'official' part of the Zope core?

Re: [Zope] Search and replace interface

2000-12-06 Thread Chris Withers
Curtis Maloney wrote: I was just wondering if there were some convenient way I could search all of my DTML[Documents|Methods] and ZSQL Methods, for comments, so I could review them? Perhaps it's time I learned how to use ZCatalog? There was a trhead recently abotu search and replace.

Re: [Zope] Search and replace interface

2000-12-06 Thread Stefan H. Holek
On Wed, 6 Dec 2000, Chris Withers wrote: There was a trhead recently abotu search and replace. It'd be great if Zope had a search and replace interface, wouldn't it? ;-) May I humbly point you to the ReplaceSupport product I had cataloged today...

Re: [Zope] Search and replace

2000-11-22 Thread tom smith
on 21/11/00 3:05 am, Ender at [EMAIL PROTECTED] wrote: Sadly this is a constraint of zope ide's being browser based (or based on current browsers). I would eagerly like to help out with a project that would like to see this changed. Building such an interface with gnome or kde would be

Re: [Zope] Search and replace

2000-11-22 Thread Ender
Mario Olimpio de Menezes wrote: On Tue, 21 Nov 2000, Lee Hunter wrote: On the other hand I actually *like* the Zope management interface - in fact, so far I've found it to be very easy to understand and a total pleasure to use. It just doesn't offer some things that I must have -

Re: [Zope] Search and replace

2000-11-22 Thread Ender
tom smith wrote: on 21/11/00 3:05 am, Ender at [EMAIL PROTECTED] wrote: Sadly this is a constraint of zope ide's being browser based (or based on current browsers). I would eagerly like to help out with a project that would like to see this changed. Building such an interface with

RE: [Zope] Search and replace

2000-11-21 Thread Lee Hunter
Kapil wrote: that would like to see this changed. Building such an interface with gnome or kde would be possible, indeed there are already efforts underway to do both. But to create a cross-platform solution really needs... Mozilla. Sadly, the ZopeMoz projects appears to be dead, hopefully

RE: [Zope] Search and replace

2000-11-21 Thread Mario Olimpio de Menezes
On Tue, 21 Nov 2000, Lee Hunter wrote: On the other hand I actually *like* the Zope management interface - in fact, so far I've found it to be very easy to understand and a total pleasure to use. It just doesn't offer some things that I must have - features that would probably be hard to

Re: [Zope] Search and replace

2000-11-21 Thread Ender
Daniel Rusch wrote: I have been following this thread with mild amusement. Those of you who don't think that there is any need for a search and replace are being, at the least, disingenuous. Have you never needed to replace a dtml var that is on a hundred or more pages with another one, but

Re: [Zope] Search and replace

2000-11-20 Thread Stefan H. Holek
FWIW, there used to be the replace product that worked great for me with Zope 2.1.6. Pity I upgraded ;) Stefan ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related

RE: [Zope] Search and replace

2000-11-20 Thread Martin Winkler
At 05:58 20.11.2000, Lee Hunter [EMAIL PROTECTED] wrote: Isn't replacing text one of the most fundamental tasks when creating and maintaining a web site or any other set of documents, for that matter? No, as far as I am concerned. Since I am using Zope (and trying to learn Java), the

RE: [Zope] Search and replace

2000-11-20 Thread Max Møller Rasmussen
From: Martin Winkler [mailto:[EMAIL PROTECTED]] Another thought: If Zope would offer s/r, then a bunch of programmers would stick in their bad behaviour _not_ implementing dtml-var's, because "it's easy and effortless to replace everything from 'Copyright 2000' to 'Copyright 2001'". But think of

Re: [Zope] Search and replace

2000-11-20 Thread Kyler B. Laird
On Sun, 19 Nov 2000 15:03:46 -0500 you wrote: Is there any way to do a 'search and replace' in a Zope folder (and it's subfolders)? Ha! Funny you'd mention this in this way. I've thought that a search and replace could be used on www.zope.org to help force Zope documenters to use "it's"

RE: [Zope] Search and replace

2000-11-20 Thread Max Møller Rasmussen
From: seb bacon [mailto:[EMAIL PROTECTED]] I was about to add my voice to this thread, and say: what's wrong with emacs s/r (or whatever your favourite ftp-aware editor is)? Then I had to do something like Max's example, across 12 different docs, and changed my mind... There's probably a

RE: [Zope] Search and replace

2000-11-20 Thread Lee Hunter
Martin Winkler wrote: the object-oriented approach is great for not having to search/replace anymore. I really do not know any situation where s/r is still needed. The people who fill in content in our company have ZClass-Interfaces, and they only insert actual content. I understand the

RE: [Zope] Search and replace

2000-11-20 Thread Martin Winkler
At 14:59 20.11.2000, Lee Hunter wrote: Maybe the manufacturers of Spam send your company a lawyer's letter saying that use of the word 'Spam' on your website infringes on their trademark [...] Now I got it. Well, nobody expected a lawyer's letter or the Spanish Inquisition... But then, the s/r

RE: [Zope] Search and replace

2000-11-20 Thread Lee Hunter
Martin Winkler wrote I just wanted to express that this feature may be too hard to program for the (IMHO) rare cases that we really need it, but IF there I had understood that Python and Zope excelled at string manipulation. That's why I am surprised that it would be difficult to scan a

Re: [Zope] Search and replace

2000-11-20 Thread Ender
Lee Hunter wrote: Martin Winkler wrote I just wanted to express that this feature may be too hard to program for the (IMHO) rare cases that we really need it, but IF there its not that hard to program, if you want just want to replace, previewing is a bit difficult, because your asking

Re: [Zope] Search and replace

2000-11-20 Thread Daniel Rusch
I have been following this thread with mild amusement. Those of you who don't think that there is any need for a search and replace are being, at the least, disingenuous. Have you never needed to replace a dtml var that is on a hundred or more pages with another one, but replace it only on some

Re: [Zope] Search and replace

2000-11-20 Thread Steve Spicklemire
Hi Robin, ZCVSMixin works with ZClasses. It's a little cumbersome at the moment due to the Container/Contained problem and others: http://dev.zope.org/Wikis/DevSite/Proposals/SynchronizationMechanismZCVSMixin But it does manage ZClass method and properties on the filesystem. You do need to

Re: [Zope] Search and replace

2000-11-20 Thread Jonothan Farr
ideally two external methods. one recurses through folders collect objects of a particular meta_type the second external method calls the first to get a collection of objects for a particular meta_type and performs string manipulations on the raw() representation of the method. I think a

Re: [Zope] Search and replace

2000-11-19 Thread Martin Winkler
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

RE: [Zope] Search and replace

2000-11-19 Thread Lee Hunter
Ouch! Zope has no built in way to do search and replace? As an editor, that is a *very* serious drawback indeed! The first workaround you suggest may be useful when creating new pages although only when you can guess what might change in the future and it also requires that all of the people

Re: [Zope] Search and replace

2000-11-19 Thread Paul Winkler
Lee Hunter wrote: Shouldn't there be a S R tab on every folder object that provides a choice of replacing html, dtml or text and that spits out a report on what was changed? Oho, I like it. Yes, please!!! Or even better, that first gives you a report of *proposed* changes and then allows

Re: [Zope] Search and replace

2000-11-19 Thread Geir Bækholt
You'd have to write a method, looping over the documents you want changed an doing a dtml-call "_.string.replace('somehing','other')" and a manage_edit_whatever-holds-your-content... This ought be a method of folders by default, i think, accessible by manager from the management interface..