Re: pyblosxom 3000

will guaraldi <[email protected]>
Newsgroups gmane.comp.web.pyblosxom.devel
Message-ID <[email protected]>
Steven, pretend I haven't looked at what you've done at all.  (My 
apologies.)

Is there any way for PyBlosxom to know whether it's being run in a CGI, 
WSGI, Twisted, or some other context?  Are there flags or something along 
those lines available in os.environ or some place like that?

Or are we going to have to build different pyblosxom.cgi kinds of scripts 
that handle building the request appropriate to the run context?

I'm a big fan of fixing PyBlosxom so the cgi script handles more of the 
setup.  Then using that structure to allow PyBlosxom to work in Twisted, 
WSGI and the various other frameworks.  I'm also a fan of building a 
Response object.  I think someone mentioned something along those lines 
already on the list.  If someone could point me to a diff against the 
current CVS code, I'd like to take a look at it.

/will


On Wed, 19 Jan 2005, Steven Armstrong wrote:

> Ted Leung wrote:
> <snip>
>>
>> I'm interested in trying to get pyblosxom to run inside Twisted, but I'm 
> not up on what work may have already been done here.
>>
>
> Hi Ted
>
> I have pyblosxom running on Twisted as a wsgi app.
>
> How would you intend to setup Twisted?
> Standalone, or proxied through Apache?
>
> Just courious.
>
> cheers
> Steven
>
> ps: Ted, sorry for double posting. I hit the wrong button in my mailer.


-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.