Ted Leung on the air
Ted Leung on the air: Open Source, Java, Python, and ...
Ted Leung on the air: Open Source, Java, Python, and ...
Mon, 02 Jun 2003
mod_python and pyblosxom
A Python hacker sent Wari a set of patches to let Pyblosxom run under mod_python. This is very cool. One of the few things I've disliked about Pyblosxom was the implementation as a CGI. Coming from Java / Servlets, it seemed like a step backwards because there's all kinds of information that the server should hold onto in between page hits. Now there's the possibility of doing that. It's awfully tempting to change pyblosxom to require mod_python, but that would probably make lots of people jump up and down. Some folks are already jumping up and down because I used pyxml in the comment system.
I guess I need to go see about mod_python now...
[14:27] |
[computers/internet/weblogs/pyblosxom] |
# |
TB |
F |
G |
2 Comments |
It would be nice to have both ;-)
What about a modpyblosxom.py script to start it in mod-python mode ?
--
Just dreaming...
Posted by François Granger at Tue Jun 3 02:09:29 2003
What about a modpyblosxom.py script to start it in mod-python mode ?
--
Just dreaming...
Posted by François Granger at Tue Jun 3 02:09:29 2003
No it's not a patch at all, just a renderer and a pyblosxom startup script, and an additional .htaccess to denote that the pyblosxom startup script is mod_python friendly. That's it :)
Just goes to show that with renderers and a good core, pyblosxom can run in multiple setups, for twisted though I did have to run the core code in a thread, and used a simple renderer to support twisted paradigms, but that's it, no changes to pyblosxom core at all. You still can't run blosxom on mod_perl at all because of the way it's designed, and no I'm not saying that it's badly designed at all. It's just got a different focus.
Posted by wari at Wed Jun 4 08:47:14 2003
Just goes to show that with renderers and a good core, pyblosxom can run in multiple setups, for twisted though I did have to run the core code in a thread, and used a simple renderer to support twisted paradigms, but that's it, no changes to pyblosxom core at all. You still can't run blosxom on mod_perl at all because of the way it's designed, and no I'm not saying that it's badly designed at all. It's just got a different focus.
Posted by wari at Wed Jun 4 08:47:14 2003
You can subscribe to an RSS feed of the comments for this blog:
Add a comment here:
You can use some HTML tags in the comment text:
To insert a URI, just type it -- no need to write an anchor tag.
Allowable html tags are:
You can also use some Wiki style:
URI => [uri title]
<em> => _emphasized text_
<b> => *bold text*
Ordered list => consecutive lines starting spaces and an asterisk
To insert a URI, just type it -- no need to write an anchor tag.
Allowable html tags are:
<a href>
, <em>
, <i>
, <b>
, <blockquote>
, <br/>
, <p>
, <code>
, <pre>
, <cite>
, <sub>
and <sup>
.You can also use some Wiki style:
URI => [uri title]
<em> => _emphasized text_
<b> => *bold text*
Ordered list => consecutive lines starting spaces and an asterisk