[Zope] catalog DTML Document

Chris Withers chrisw@nipltd.com
Tue, 07 Nov 2000 10:37:51 +0000


Wolfgang Strobl wrote:
> There is a How-To "Adding ZClass Instances Programmatically",
> and a lot of gobbledigoop about when, how and why. But I haven't
> found anything about how to "index" or "reindex" a plain and
> simple DTML Document.

In Python:

your_catalog.catalog_object(your_dtml_document,your_dtml_document.absolute_url())

This sort of thing shouldn't be done in DTML! :P

cheers,

Chris