Re: Now... getting trackbacks working

Wari Wahab <[email protected]>
Newsgroups gmane.comp.web.pyblosxom.user
Message-ID <1062036223.21467.14.camel@minisync>
On Thu, 2003-08-28 at 08:41, Joseph Reagle wrote:
> Hrmm... ok, I've actually still tried to get them all to  point to 
> "http://reagle.org/joseph/trackback/" but 
>   http://kalsey.com/tools/trackback/
> still doesn't seem to like it with:

Two problems I see here:
First for auto trackback discovery:
    <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
             xmlns:dc="http://purl.org/dc/elements/1.1/"
             xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">
     <rdf:Description
      about="http://reagle.org/joseph/blog/technology/python/setting-up-pyblosxom"
      dc:title="Setting Up Pyblosxom"
      dc:identifier="http://reagle.org/joseph/blog/technology/python/setting-up-pyblosxom"
      trackback:ping="http://reagle.org/joseph/trackback/technology_python_setting_up_pyblosxom"
 />
    </rdf:RDF>

The trackback:ping should point to: 
http://reagle.org/joseph/trackback/technology/python/setting-up-pyblosxom
instead of:
http://reagle.org/joseph/trackback/technology_python_setting_up_pyblosxom

Subtle, but a bit different. I'd used $file_path instead of $tb_id for
it.

Second problem, when I tried pinging manually, I saw the actual problem
that caused trackback.cgi to not work for you:

Traceback (most recent call last):
  File "/web/script/reagle/reagle.org/joseph/trackback", line 50, in ?
    from Pyblosxom import tools
ImportError: No module named Pyblosxom

For that, to solve it would be as easy as:
import sys
sys.path.append('/path/to/one/dir/before/Pyblosxom')

That is, if your Pyblosxom dir is in:
/home/foo/libs/Pyblosxom

You'd point to /home/foo/libs

> http://reagle.org/joseph/trackback/technology_python_setting_up_pyblosxom
The above URL should really be
http://reagle.org/joseph/trackback/technology/python/setting-up-pyblosxom

> Test
> Test
> http://example.com
> Your trackbooks are so good.

^ Heheh, is that sacarsm I'm smelling? :)

> I noticed that the comment flavories I had to find, they did thing 
> differently than the basic flavours... For example, some folks seem to use:
>   http://example.com/blog/trackback/...
> and others use
>   http://example.com/trackback/...
> Releasing with a suite of files that were consistent and worked out of the 
> box would probably be helpful to feeble mineded folks such as myself.

Yeah, we did find that it is a problem, and we removed the trackback
flavours into the README of comments.

> In any case, I'm clearly muddled. As an aside, can comments and trackbacks 
> be shown on the same page?

Yes, the comments and trackbacks (and pingbacks and commentAPI stuff)
will be shown on the same page in the order that they are sent.

BTW, you can look at this site for more info in sending trackbacks
manually: http://roughingit.wari.org/python/tutor/sendingtrackback

Have fun.




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
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.