Hello,<br><br>ZCatalog is already included in Zope (you will find it in zope/lib/python/Products/ZCatalog )<br><br>You will have to declare the objects&#39; attributes as catalog indexes, and make sure you index or re-index any object after creation or modification.
<br><br>Regarding the rest, I am not sure to understand what you want to do exactly, but if it is a kind of search/replace thing, you will be better to make a small script to do that than to do it manually in ZMI.<br><br>
Eric<br><br><br><div><span class="gmail_quote">On 4/10/07, <b class="gmail_sendername">Peppe Top</b> &lt;<a href="mailto:peppetop@gmail.com">peppetop@gmail.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi all,<br><br>I&#39;m new to Zope and I&#39;m reading through a few tutorials<br>and the Zope book. I need to do a text string search on<br>a ZODB and I need to know which objects contain the string.<br><br>Example: I have a site running up, and I need to know
<br>where my mail is mentioned, so I can edit each object<br>and update the mail. (I think using ZMI)<br><br>&gt;From the documentation I think that ZCatalog might do<br>the trick, but I&#39;m not sure it&#39;s the easier solution.
<br><br>Am I on the right path?<br><br>Can you get me started?<br><br>I just need a fixed string search, returning the name<br>(maybe the path too) of the object inside the ZODB, so<br>I can later edit.<br><br>Is ZMI the right tool to do simple editing?
<br><br>Also is ZCatalog already included in Zope, or do I need<br>to install it?<br><br>Thanks a lot for your time<br>-- Peppe<br>_______________________________________________<br>Zope maillist&nbsp;&nbsp;-&nbsp;&nbsp;<a href="mailto:Zope@zope.org">
Zope@zope.org</a><br><a href="http://mail.zope.org/mailman/listinfo/zope">http://mail.zope.org/mailman/listinfo/zope</a><br>**&nbsp;&nbsp; No cross posts or HTML encoding!&nbsp;&nbsp;**<br>(Related lists -<br> <a href="http://mail.zope.org/mailman/listinfo/zope-announce">
http://mail.zope.org/mailman/listinfo/zope-announce</a><br> <a href="http://mail.zope.org/mailman/listinfo/zope-dev">http://mail.zope.org/mailman/listinfo/zope-dev</a> )<br></blockquote></div><br>