Trackbacks only working with own site

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
Post Reply
anonymbleiber
Posts: 4
Joined: Mon May 02, 2005 9:02 am

Trackbacks only working with own site

Post by anonymbleiber »

Yesterday I installed s9y and like it very much. But there is one Problem:

When sending a trackback ping to my own articles (for instance a trackback to an article I wrote yesterday) everything works fine.

When sending a trackback to an extern URL, nothing works. I alway get the message "Trackback failed: Keine Trackback-URI gefunden." (in German).

Does that mean that my provider has the flag 'allow_url_fopen' disabled and I need him to enable it?

TIA,
anonymbleiber
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Trackbacks only working with own site

Post by garvinhicking »

Well, if you can tracbkack to your own server, this means that you can send trackbacks. Providers cannot disable allow_url_fopen on an outgoing conection basis.

So my bet is that you just enter a wrong trackback URL. Have you read http://www.s9y.org/48.html?

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
anonymbleiber
Posts: 4
Joined: Mon May 02, 2005 9:02 am

Post by anonymbleiber »

Yes, I did.

Let me show an example:

I want to send a trackback ping for this article:
http://www.lawblog.de/index.php/archive ... -springer/

http://www.lawblog.de/index.php/archive ... -springer/ is also the URL I use in my own article.
I also tried
http://www.lawblog.de/index.php/archive ... trackback/
,which did not work either.

Any ideas?

Is there a s9y-Blog I can test the Trackback-Feature with?
anonymbleiber
Posts: 4
Joined: Mon May 02, 2005 9:02 am

Post by anonymbleiber »

Me again:

I did also install the serendipity_event_trackback plugin and tried to manually enter a trackback, which did not work either...
anonymbleiber
Posts: 4
Joined: Mon May 02, 2005 9:02 am

Post by anonymbleiber »

I now tested it with another BLOG using s9y and it worked!

Can anyone tell me what is wrong with that article, so that I cannot send a trackback ping to it:

http://www.lawblog.de/index.php/archive ... -springer/

???
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Sadly the lawblog does not embedd RDF-metadata for embedding the URLs manually you want to sent a trackback to.

I just patched the plugin and a core serendipity File which is sadly needed to get trackbacks through in such situations. Usually we rely on valid RDF-metadata as this is required in the Tracbkack-API specs.

You can patch your own Serendipity quite easily.

1. Edit your include/functions_trackbacks.inc.php file and replace the function serendipity_trackback_autodiscover with this code:

http://nopaste.php-q.net/131193

2. Edit your plugins/serendipity_event_trackback/serendipity_event_trackback.php file and replace it with this code: http://nopaste.php-q.net/131192

Or if you prefer it, here's a diff: http://nopaste.php-q.net/131194

Best regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Post Reply