The z3c.pt-package now provides a template class for plain text files
like .css and .js---using the ${<python expression>}-syntax.
I'd like to integrate it with browser resources such that
filename.css.<some extension for z3c.pt text templates>
would be sent through the template engine.
Now, the DirectoryResource-class defined in
zope.app.publisher.browser.directoryresource provides a dictionary of
resource factories for a number of standard file extensions.
Shouldn't this be pluggable using the component architecture? It would
adapt to IResourceFactory.
\malthe
_______________________________________________
Zope-Dev maillist - [email protected]
http://mail.zope.org/mailman/listinfo/zope-dev
** No cross posts or HTML encoding! **
(Related lists -
http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope )