first post, and starting off with a bug. Not a nice way to start into a forum, I guess.
I'm pretty sure, I found a bug yesterday. I'll start off with the current trackback function XML.
Code: Select all
<?xml version=\"1.0\"?>
<methodCall>
<methodName>pingback.ping</methodName>
<params>
<param>
<name>sourceURI</name>
<value><string>{$serendipity['baseURL']}</string></value>
</param>
<name>targetURI</name>
<value><string>$loc</string></value>
</param>
</params>
</methodCall>
I actually stumbled upon this error while searching for the reason, why trackbacks to WordPress don't work. I fixed this little error myself and then ran into the next problem.
Now I traced a bit on my host with a WP and a S9y running and got an idea, why trackbacks to WP don't work. Whenever I save an entry, the trackback is sent. Immediately the WP blog connects to my server and requests a page. Then I get an error, saying that the source URI does not contain a link to the destination and therefore cannot be used as a source. And I do agree with WP in this point. Trackbacks from S9y do look like this:
Code: Select all
<?xml version="1.0"?>
<methodCall>
<methodName>pingback.ping</methodName>
<params>
<param>
<name>sourceURI</name>
<value><string>http://example.com/s9y/</string></value>
</param>
<param>
<name>targetURI</name>
<value><string>http://example.com/wp/archives/48/trackback</string></value>
</param>
</params>
</methodCall>
The other way round does look better:
Code: Select all
<?xml version="1.0"?>
<methodCall>
<methodName>pingback.ping</methodName>
<params>
<param><value><string>http://example.com/wp/archives/48</string></value></param>
<param><value><string>http://example.com/s9y/2007/06/04/4.html</string></value></param>
</params></methodCall>
Comments? Sorry for the long post, but it took some lines to explain.
Best regards,
Sebastian
BTW: WP declares the content-type of the trackback request as "text/xml", as opposed to "application/x-www-form-urlencoded" in S9y, which makes it nicer to read in wireshark.