[Zope] How to change view of all *.txt?

Robb Shecter shecter@darmstadt.gmd.de
Fri, 11 Feb 2000 20:52:36 +0100


Hi,

Is there a way to assign a handler to some objects based on type or
name, similar to what Apache allows?  For example, I want to have all
*.txt files be processed by a certain external method.

Is there any way to do this?  Currently, I'm doing it by generating
links to my .txt objects that are actually calls directly to my method
with the object name as a paramter...  It works, but it's a hack.

Thanks,
Robb