Jan 30 2007

Profile Image of Bruno Afonso
Bruno Afonso

Ecto and Wordpress trackback fix

Posted at 16:14 under Wordpress, geekalhadas

I recently started using Ecto with my Wordpress setup running this blog. ;-) I really love Ecto, you should try it. You’ll probably end up buying it, I know I did. Anyway, currently wordpress’ xmlrpc.php file is not working correctly if you want to publish trackbacks from Ecto, and probably from other weblog clients. Here’s the fix! There are two lines in xmlrpc.php at the root of your wordpress blog that have:

$to_ping = $content_struct['mt_tb_ping_urls']

Replace both of them with:

$to_ping_input = $content_struct['mt_tb_ping_urls'];
$to_ping = “” ;
if (is_array($to_ping_input)) {
foreach ($to_ping_input as $ping_url) {
$to_ping = $to_ping . $ping_url . “ ”;
}
}

Sorry for the non-idented code layout. Seems to be working just fine for me now. :-) If it isn’t with you let me know.

Most Commented Posts

2 responses so far

2 Responses to “Ecto and Wordpress trackback fix”

  1. Tibon 05 Feb 2007 at 4:56 1

    Hi Bruno,
    Thanks for your reply in the ecto support forum! Unfortunately I don’t speak any Spanish ;-)

    Cheers.

  2. Bruno Afonsoon 05 Feb 2007 at 11:28 2

    hi Tib!

    It’s actually Portuguese. Since I speak english on a daily basis during my working hours I like to write in my native language for me and others.. well, there are always online translators but I wonder how my poetry will look like with those :-)

    anyway, glad I was helpful!
    cya

Trackback URI | Comments RSS

Leave a Reply