Michael a écrit : > Hey everyone, > > Is it possible to automatically insert headers/footers using > mod_python? > I will be not be using PSP's, so I cannot use the PSP/include solution. > Furthermore, the header will be dynamic; it won't be a static HTML > page. > > In short, I've been looking for a page layout facility using > mod_python. > (Similar to the layout capability in Ruby on Rails.)
mod_python is mainly a librairy exposing the apache API to Python - not a full-stack db-to-web framework. What you want here is a HTML templating system. There are quite a lot available in Python - look for SimpleTAL, Genshi, Myghty, Jinja, Cheetah, etc... HTH -- http://mail.python.org/mailman/listinfo/python-list