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 ...
Sun, 13 Mar 2005
New version of PyBlosxom comments plugin
[14:11] |
[computers/internet/weblogs/pyblosxom] |
# |
TB |
F |
G |
1 Comments |
I've just updated the comments plugin for PyBlosxom with changes for the upcoming PyBlosxom 1.2. If you are working off the CVS HEAD version of PyBlosxom, you can get the new versions here (or via CVS).
![Other blogs commenting on this post](/py-bin/images/bubble.gif)
I was trying to get trackback working and kept running into errors. It appears to be related to the makeXMLField function in comments.py (line 325)... if I sent a ping without the email data, I generated an error. As a quick hack, I added a check to see if the key exists.
def makeXMLField(name, field):
if field.has_key(name):
return "<"+name+">"+cgi.escape(field[name])+"</"+name+">\n";
Great work, and btw, I enjoy reading your blog very much.
Cheers,
Neil
Posted by Neil Jensen at Sun May 22 21:02:46 2005
def makeXMLField(name, field):
if field.has_key(name):
return "<"+name+">"+cgi.escape(field[name])+"</"+name+">\n";
Great work, and btw, I enjoy reading your blog very much.
Cheers,
Neil
Posted by Neil Jensen at Sun May 22 21:02:46 2005
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
![RSS Feed for comments](http://www.sauria.com/py-bin/images/xml.gif)
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