Jeremy pointed out a method to ping Yahoo RSS crawler for Moveable Type blogs and he did a great job explaining it with pictures. So if you are using MT, check out his entry. I consequently wrote a little pinger for WordPress which does the same thing. Add this function to your my-hacks.php: // pings Yahoo.com RSS Crawler function pingYahoo($blog_ID = 1) { // original function by Dries Buytaert for Drupal global $blogname,$siteurl,$blogfilename; if ((!(($blogname==”my weblog”) && ($siteurl==”http://example.com”) && ($blogfilename==”wp.php”))) && (!preg_match(“/localhost\//”,$siteurl))) { $client = new xmlrpc_client(“/RPC2”, “api.my.yahoo.com”, 80); $message = new xmlrpcmsg(“weblogUpdates.ping”, array(new xmlrpcval($blogname), new xmlrpcval($siteurl.”/”.$blogfilename))); $result = $client->send($message); if (!$result || $result->faultCode()) { return false; } return true; } else { return false; } } Find these lines in your post.php (inside wp-admin folder) : pingWeblogs($blog_ID); pingBlogs($blog_ID); And add this right after that: pingYahoo($blog_ID); All done and pingin!
[Continue Reading...]