Jean-Francois.Doyon@CCRS.NRCan.gc.ca wrote:
I have a bit of a hairy requirement: I need to extend the catalog to find content that exists outside of Zope (more or less, hard to explain without getting into details).
I'm sure there's a how-to for this already...
So, what I thought is, I could hack the underlying catalog code (the search() method of Catalog.py) to add some functionality that would execute the search, take the XML results, parse it, and append the results to the LazyMap instance. I would now have a single list of search results for both types of searches. Also, I'm pretty sure this can be achieved through a monkey patch, so it's fairly portable and separate from the Zope core. (Though admitedly I'm not sure I understand the LazyMap/LazyCat thing too well just yet).
This sounds like a recipe for trouble :-S cheers, Chris