[mod_python] Using publisher handler to generate directory index - how to do it in right and easy way ?

Gregory (Grisha) Trubetskoy grisha at modpython.org
Wed Mar 26 23:10:02 EST 2003


Unless I'm missing something, the publisher already has a default
function, only it's "index" not "default":

http://www.modpython.org/live/current/doc-html/hand-pub-alg-trav.html

Grisha

On Wed, 26 Mar 2003, Dustin Mitchell wrote:

> I agree this wouuld be a handy feature.  If it's likely to cause problems
> (with backward compatibility, perhaps), then it could be selected with a
> configuration directive (PythonOption PublisherDefault [off|<name>]), or even
> exist as a separate publisher.
>
> I'm sure we're all missing some good reason this is a bad idea.
>
> Otherwise, I'd be willing to create a patch.
>
> Dustin
>
> --
>
>   Dustin Mitchell
>   dustin at ywlcs.org/djmitche at alumni.uchicago.edu
>   http://people.cs.uchicago.edu/~dustin/
> _______________________________________________
> Mod_python mailing list
> Mod_python at modpython.org
> http://www.modpython.org/mailman/listinfo/mod_python
>




More information about the Mod_python mailing list