Entry

technorati’s still not pinging, my work around

technorati’s still not pinging my site properly, and according to the forums i’m not the only one.
I went to check up on it today, only to see that my site hadn’t been pinged since my last manual request.
So i decided to just add some code to my site to make sure technorati gets at least [...]

Share and Enjoy:
  • Digg
  • del.icio.us
  • Facebook
  • StumbleUpon
  • Google
  • Technorati
  • Slashdot
  • LinkedIn
  • E-mail this story to a friend!

technorati’s still not pinging my site properly, and according to the forums i’m not the only one.

I went to check up on it today, only to see that my site hadn’t been pinged since my last manual request.

So i decided to just add some code to my site to make sure technorati gets at least one ping.

on average i get about 120 visits per day, so i added a script to my wordpress index.php file.

$pingCheck=date(”i”);
$pingCheck*=1;
$pingCheck%=15;

if($pingCheck==0){

$foo=file_get_contents(”http://www.technorati.com/ping/http%3A%2F%2Felsid.net”);

}

i get the current times minutes, and then check to see if it’s a factor of 15. if so ping technorati. this works for me because i don’t normally post a crazy amount of post in one day. and somebodies gonna come to the site at the right time at least once a day (about 6-8 right times so far ).

if you post alot (more than 10 a day) this might not be for you, or you can mod it to check against the last ping.

hope this helps

Share and Enjoy:
  • Digg
  • del.icio.us
  • Facebook
  • StumbleUpon
  • Google
  • Technorati
  • Slashdot
  • LinkedIn
  • E-mail this story to a friend!

Post a Comment

Your email is never published nor shared. Required fields are marked *

*
*