The simplest solution is to add a method XXX() to your object when your TextIndex is XXX. Inside this method you should call a converter that removes all your tags and returns the plain document. The most simple converter is maybe the StripTagParser (is included in the DocumentLibrary product and the TextIndexNG product). -aj ----- Original Message ----- From: <eric.n.dunn@bankofamerica.com> To: <zope@zope.org> Sent: Thursday, March 28, 2002 13:29 Subject: [Zope] Filter HTML - ZCatalog Indexing
I'm trying to filter HTML tags and other code from my Catalog when
searching
in my ZOPE sites. I have reviewed and tried both operations from the below listed links:
http://www.dieter.handshake.de/pyprojects/zope/CatalogSupport.html
http://zope.nipltd.com/public/lists/zope-archive.nsf/47ba74c812dbc5dd8025687 f0024bb5f/d8f685be01190a0a802568b0006b4656?OpenDocument
Can anyone tell me or reference a new Catalog as stated:
"version of the Catalog on it's way which will allow you to put keywords
or
charaters in a special place that will include them"
Can anyone tell me of a coded workaround or implementation.
Thanks Eric
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )