[Zope-dev] Catalog result brains not extendable

Chris Withers chrisw@nipltd.com
Sun, 29 Jul 2001 12:20:51 +0100


"Jay, Dylan" wrote:
> 
> I'm trying to get some results from a catalog and add meta_data to it.

What is this meta_data?

What I'd do is add a meta_data column to the catalog with the name of your
required data.
Then add a script of the same name somewhere that it can be acquired by all the
objects you want to index.
This script should then calculate the value for the metadata as appropriate,
using the 'context' object to get hold of the object being indexed.

cheers,

Chris