Re: How to get comments.py work?

Joseph Reagle <[email protected]>
Newsgroups gmane.comp.web.pyblosxom.user
Organization MIT
Message-ID <[email protected]>
On Wednesday 13 August 2003 14:33, Ted Leung wrote:
> "your pyblosxom directory" is the directory where your CGI scripts for
> pyblosxom are.   I'll update the README
> for this, it changed when the distutils work got done.

Ok, it's there:
  urd:/home/reagle/data/2web/reagle.org/joseph> ls
  1996/  2002/  base.css  images/     plan/       tb.cgi
  2001/  2003/  blog      index.html  pyblosxom/  weblog/
"blog" is the pybloxsom.cgi renamed and enabled by an apacahe .htaccess .

The following URL:
  http://reagle.org/joseph/tb.cgi
complains that config is not known, so if I modify tb.cgi to have:
  import sys
  sys.path.append("/home/reagle/data/2web/reagle.org/joseph/pyblosxom/web")
I get XML back of the form:
  <?xml version="1.0" encoding="iso-8859-1"?>
  <response>
  <error>1</error>
  <message>not trackback</message>
  </response>
and trying to post a comment 

> >Then in step 6 it says, "8. Edit the comment-story, comment, and
> >comment-form templates.  You will have to adjust trackback URI's to
> > match your webserver configuration." This then makes me think trackback
> > is mandatory? And what exactly is it that I have to tweak? The action
> > attribute of the form element in comment-form.html?
>
> Trackback is not mandatory.   If you don't install trackback.cgi, you
> won't get trackbaks.
>
> You may need to change the value of trackback:ping on line 20 of
> comment-story.html, depending on how trackback.cgi is mapped to a URL.
> What is there now assumes that $base_url/trackback is the URL for
> trackback.cgi.

I'm still confused, it sounds like trackback.cgi *is* mandatory to use the 
comments.

Most of the examples give the trackback url as:
  /blog/tb.cgi?__mode=list&amp;tb_id=$tb_id
which makes we wonder how folks are putting the tb.cgi is a "virtual" space 
served by an apache rewrite... maybe another rewrite... Or maybe that's 
just the approach I took. In any case, it'd probably be useful for 
pyblosxom to come with comments and trackbacks enabled, and then a user 
could easily turn them off with the config.ini



-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
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.