[mod_python] How to get the html code in a string when using psp ?

Martin De Wulf madewulf at ulb.ac.be
Wed Jul 18 10:43:48 EDT 2007


Hello all,

I am new to the mod_python mailing list.

I just wrote a small code that uses  the  publisher  handler and  psp. 
The pages are correctly generated and published for the users of the
website. My only problem is that I would like to mail a copy of the page
to some email adress.

How could I get the html code of the generated pages in a string ? (if
possible, not using the obvious solution of reposting the data and
grabbing the code through for example wget).

Thanks a lot if you can help !

Martin



More information about the Mod_python mailing list