Re: Now... getting trackbacks working
Joseph Reagle <[email protected]>
| Newsgroups | gmane.comp.web.pyblosxom.user |
|---|---|
| Organization | MIT |
| Message-ID | <[email protected]> |
On Wednesday 27 August 2003 22:03, Wari Wahab wrote:
> BTW, you can look at this site for more info in sending trackbacks
> manually: http://roughingit.wari.org/python/tutor/sendingtrackback
Hrmm.. that's useful but got the puzzling result:
urd:/home/reagle/data/2web/reagle.org/joseph> cat trackbackform.txt
blog_name Test
PingURL http://roughingit.wari.org/trackback/python/tutor/sendingtrackback
url http://example.com/
title Test of sending ad-hoc trackbacks with python
excerpt This is a test trackback ping to wari
urd:/home/reagle/data/2web/reagle.org/joseph> tbp.py trackbackform.txt
<?xml version="1.0" encoding="iso-8859-1"?>
<response>
<error>1</error>
<message>not trackback</message>
</response>
But I did manage to successfully ping that page with:
http://kalsey.com/tools/trackback/
I still can't use kalsey on my site, and when I use your tool I get a
UnboundLocalError...
urd:/home/reagle/tmp> cat trackbackform.txt
blog_name Test
PingURL
http://reagle.org/joseph/trackback/technology/python/setting-up-pyblosxom
url http://example.com/
title Test of sending ad-hoc trackbacks with python
...
<!-- The above is a description of an error in a Python program, formatted
for a Web browser because the 'cgitb' module was enabled. In case you
are not reading this in a Web browser, here is the original traceback:
Traceback (most recent call last):
File "/web/script/reagle/reagle.org/joseph/trackback", line 94, in ?
writeComment(config, data, cdict)
File
"/home/reagle/data/2web/pyblosxom/contrib/plugins/comments/plugins/comments.py",
line 142, in writeComment
cfile.close()
UnboundLocalError: local variable 'cfile' referenced before assignment
-->
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf