Page 1 of 2
I have a trackback question
Posted: Sat Apr 23, 2005 3:49 am
by Brian1969
Usually when I put a link in a post to a site that is using Movable Type, the trackback works just fine. On one website in particular, however, it always gives me an error:
Trackback failed: The autodiscovered trackback URI does not match our target URI.
I know this site has trackbacks enabled, because others use them. Is there something I am doing wrong?
The site I am trying to get a trackback working to is
www.rightwingnews.com, and my blog is at
www.iowavoice.com.
I've tried every url I can think of to establish a trackback, and I have never got a single one to work. Any tips or suggestions?
Thanks.
Re: I have a trackback question
Posted: Sat Apr 23, 2005 11:44 am
by garvinhicking
Hi Brian!
Please read
http://www.s9y.org/48.html, I've just updated the docs.
Basically it means that you entered a HTML-Link in your entry that is different to the Link the author specified inside his RDF metadata on the page. Sometimes it matters if you use htt://
www.example.com or
http://Example.com...
If you tell me the full URL to the article you want to tracbkack, I can have a look.,
Regards,
GArvin
Posted: Sat Apr 23, 2005 4:10 pm
by Brian1969
The latest example is here:
http://www.iowavoice.com/index.php?/arc ... ekend.html
I'll read the article, and see what it says.
Posted: Sat Apr 23, 2005 4:29 pm
by Brian1969
OK, I read it and tried it, still nothing. I've tried entering the URL differently, but nothing works. I am pretty sure it's not Serendipity, but this guy's blog that is the problem, because other sites that use MT I can create a trackback to with no problem. So, I'm thinking he must have something installed incorrectly on his blog.
Any ideas how to get around it?
Posted: Sun Apr 24, 2005 6:18 am
by TKS
You're tracking back to the wrong address. I checked your link url and it isn't this one:
http://www.rightwingnews.com/cgi-bin/mt/mt-tb.cgi/3759
Which is the link listed when you click on 'trackbacks' at the bottom of the rightwingnews.com's post. Click on 'trackbacks' and then it will show you the trackback url. Then you use that to link to the article in your blog. The url will discover if you do that.
Posted: Sun Apr 24, 2005 7:14 am
by Brian1969
I've tried that one, too, and it won't accept it. I get an error message that says no URI is found.
Posted: Mon Apr 25, 2005 11:39 am
by garvinhicking
I found the error.
The tracback URI of that blog is:
http://www.rightwingnews.com/archives/w ... PHP#003763
Sadly that person is making use of the "#...." notation to indicate a tracback URI. But Serendipity strips the "#..." part of the URI because the usual case in your blog is this: You post a link to some entry and may want to reference it with "#...." to a special sub-anchor, but the real Trackback URL in 99% of the cases is a single article page and does not use the "#" of that page.
You will have to use the serendipity_event_trackbacks plugin and then enter the URL
http://www.rightwingnews.com/archives/w ... PHP#003763 into the extended options area of your entries. Note that the additional trackbacks only get send if you have at least one URL in your entry.
Regards,
Garvin
Posted: Mon Apr 25, 2005 11:55 am
by Brian1969
Is that the "Trackback Control" plugin? If so, I've tried that, too.
Posted: Mon Apr 25, 2005 12:16 pm
by garvinhicking
Oh, I'm really sorry - you are right, I checked the code a bit too hastily.
In fact, there's currently no way to surround the mechanism where Serendipity strips the "#" character from the URL.
I've patched 0.9 SVN with this patch though:
http://nopaste.php-q.net/129912
If you care, you could apply it to your 0.8 installation, then it should work. I've sent a trackback to that person's blog, so it seems to work. The technique behind it is to just try first the URL without the "#" if it is a trackback URI, and afterwards see if it maybe matches the "#" link.
Regards,
Garvin
Posted: Mon Apr 25, 2005 2:11 pm
by Brian1969
Posted: Mon Apr 25, 2005 2:14 pm
by garvinhicking
Our sourcecode development is now using SVN instead of CVS. Both are version control software systems. "0.9" just means the next upcoming Serendipity release. Don't hold your breath for it, that will take surely a few months before getting released
As soon as Jannis fixes the automatted snapshot generation, you can try those again.
Regards,
Garvin
Posted: Mon Apr 25, 2005 2:17 pm
by Brian1969
So basically, there's nothing I can do until it's released? I'm not following, I guess.
How can I use the code (on the link you posted) to patch my current version?
Forgive me, I'm still learning CMS systems and stuff.
Posted: Mon Apr 25, 2005 2:30 pm
by garvinhicking
Brian, check out the link I offered, if you patch your files like that, you can fix the issue.
You can use the "patch" utility to use the link, or apply the changes manually via FTP/Editor.
The fileformat is pretty self-explanatory. "+" means a line was added, "-" means a line was removed. Top of a section is introduced by "==========" and the filename is given there as well
Regards,
Garvin
Posted: Mon Apr 25, 2005 2:32 pm
by Brian1969
What I meant is, what exact file am I editing? I don't see it among my files.
Posted: Mon Apr 25, 2005 2:34 pm
by garvinhicking
Inside the link I gave you the filenames are mentioned:
include/functions_trackbacks.inc.php
Regards,
Garvin