Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
[howto] Trackback with TXP (not really a plug-in)
If you want to trackback with TXP, I can recommend gTrackback
You can see here how to change the values. Everything between
<rdf:RDF and </rdf:RDF>
has to be put into your meta data. yourdomain.com has to be changed to your domain name, of course.
Your trackback URL is
http://yourdomain.com/tb.php?tb_id=<txp:permlink />
If you want to add a link to show all your trackbacks, you will habe a add a link as the following (all in one line).
<a href="http://yourdomain.com/tb.php?__mode=list&tb_id=<txp:permlink />"onclick="window.open(this.href,'trackback', 'width=480,height=480,scrollbars=yes,status=yes');
return false">Show trackbacks</a>
One last thing:
When using the javascript link, it will pop-up a little window and display the Trackback-URL. I prefer to delete this (after line 107 in tb.php), just because it will return a different address in this window. One of my trackback URLs now is
http://www.irox.de/tb.php?tb_id=/roxomatic/358/
In the pop-up window, it is converted to
http://www.irox.de/tb.php?tb_id=_roxomatic_358_
So, IMHO, it is better to delete this.
Seems to work.
Have fun
Kossatsch
Last edited by Kossatsch (2004-07-13 06:58:58)
Offline
Re: [howto] Trackback with TXP (not really a plug-in)
yeah except the site is down… lol
Aaron Brazell
United States Navy
chmod a+x /bin/laden – Give everyone permission to execute /bin/laden
Offline
Re: [howto] Trackback with TXP (not really a plug-in)
A little correction:
The 2nd part, containing
rdf:Description
rdf:about="<txp:permlink />"
dc:title="<txp:title />"
dc:identifier="<txp:permlink />" />
trackback:ping="http://yourdomain.com/tb.php?tb_id=<txp:permlink />"
</rdf:RDF>
has to be put into the article form for single articles. Both, 1st (inside meta data) and 2nd part (inside article form), have to be converted into comments with
<!-- and -->
But then, everything goes right.
Last edited by Kossatsch (2004-07-14 06:08:40)
Offline
Re: [howto] Trackback with TXP (not really a plug-in)
Writing a trackback thing that integrates into TXP would be a pretty interesting project I think.
Offline
Re: [howto] Trackback with TXP (not really a plug-in)
A short while back, I started to integrate http://phptrackback.sourceforge.net/docs/ with Txp, but I got side tracked. It is a fairly straight forward approach. Create a table to hold the trackback specific info, modify the UI to manually send trackbacks, create a plugin to output the trackbacktags and list the received pings.
Offline
Re: [howto] Trackback with TXP (not really a plug-in)
Excellent work!!
Offline
Re: [howto] Trackback with TXP (not really a plug-in)
OK. I seem to have a problem with this.
When I try to ping a post on another blog, I get the error
Error: Couldn�t ping url
<del>When trying to trackback a post on my blog from another site, the email notifying me that a trackback was done is sent, but the trackback doesn’t appear.</del>
I think I solved this part of the problem by changing the attribute of both the trackback and rss directories on my server to 777. However, unless you click on Show trackbacks, there is no way of knowing there are indeed trackbacks as it doesn’t show a count.
I also still have to figure how to get the trackbacks to display below the posts in individual view.
Any idea what may cause the problem? Looking at Kossatch’s page, I do see he has this trackback installed, but I can’t seem to find any trackback working on any of his posts either.
Last edited by Benoit (2004-10-02 18:09:19)
Offline
Re: [howto] Trackback with TXP (not really a plug-in)
I’d definitely like to see this happen.
Offline
Offline
Re: [howto] Trackback with TXP (not really a plug-in)
The email notification does work. The problem is that the actual ping doesn’t happen.
Here is – as far as I can tell – what does – or doesn’t work:
1. From another blog (benoitbisson.com) running under MT, I send a trackback to a post on Blog Cafe (http://blog-cafe.com).
2. I get a notification email that tells me I received a trackback from benoitbisson.com.
3. I effectively see the trackback (the post used for testing is <a href=“http://blog-cafe.com/article/388/the-day-of-the-non-debating-debate” target=”_blank”>The day of the non-debating debate.</a>
4. When I try to trackback a post from Blog Cafe TO benoitbisson.com, I get the error message Error: Couldn�t ping url. So I can be trackbacked, but can’t trackback others.
Hope this makes it clearer.
UPDATE
Getting there, I think. I actually manage to send out pings now, but there are 2 remaining problems:
1. On the blog receiving the trackback, what shows in the trackback data is actually their own post info rather than the info from the post on my blog where the trackback originates.
2. In the information that is displayed, the text seems to get the same treatment as titles get in Textpattern, i.e. the symbol + gets thrown between all the words. Here is an example:
Since+today+is+%22Post+A+Picture+of+A+Cat+to+your+Blog%22+Day%2C+here+is+Cleo%2C+the+oldest+of+my+three+catsSo, what I need to figure is:
How to have the correct info showing on the blog receiving the trackback
How to prevent the + and other conversion elements added to the text.
Last edited by Benoit (2004-10-02 20:09:03)
Offline
Re: [howto] Trackback with TXP (not really a plug-in)
For active TBs I use http://kalsey.com/tools/trackback/
Offline
Re: [howto] Trackback with TXP (not really a plug-in)
Thanks Kossatsch. I’ve gotten to the point where gTrackback works except for one thing: it replaces blank spaces with a + and converts all punctuation and accented characters. So I’ll use Kalsey’s service until I can figure how to fix that. Thanks for your help!
Offline