Blog Ping List and XML-RPC Generator

If you're using WordPress or something similar for your blog, it's easy to add in blog pinging services and forget about the whole process. But, what if you need to ping those services for a blog constructed outside of WordPress? This tutorial will answer that question for you.

What is Blog Pinging?

Blog pinging is the process by which your server immediately lets content aggregators and search engines know that you have new content that should be indexed. Almost always, this is done with an XML-RPC-based request sent from your server.

How do I construct my XML-RPC Request?

The format is pretty simple. Here's an example:

1.   <?xml version="1.0"?>
2.   <methodCall>
3.     <methodName>weblogUpdates.extendedPing</methodName>
4.     <params>
5.   	<param>
6.   	  <value>Example Blog</value>
7.   	</param>
8.   	<param>
9.   	  <value></value>
10.  	</param>
11.  	<param>
12.  	  <value></value>
13.  	</param>
14.  	<param>
15.  	  <value></value>
16.  	</param>
17.    </params>
18.  </methodCall>

Want it even easier? Okay… Tell us your blog details and we'll construct the XML-RPC request for you:

Blog Name
Site URL
New Post URL

Now, who should I ping it to?

If you search around the internet for a blog ping list, you'll find lots, but most of them are composed primarily of services that are no longer active. Because of the large amount of spam pings generated and sent, blog pinging seems to be dying. However, the services listed as Active below are still out there and working. You should send your blog pings to them:

Service NameEndpoint (Ping URL)Status*Comments
Google Blog Search information can be found in this Google Help Article.
Technorati has a message on their site saying that they no longer accept pings as of October 2009.
Ping-o-Matic! you try to ping this service from outside of WordPress, you simply get a response of "You are too awesome for Ping-o-matic."
Yahoo! is a message on Yahoo's Developer Site saying that pinging will has been discontinued as of December 2010.
Feedster is no longer around. You can find more details in the article Feedster Quietly Dies.
Blo.gs service is returning a 403 Forbidden error, even if you access via the form on their site. 

* This list was last tested on March 13th, 2014. If you find that any of the statuses are not up to date, please comment below and let us know.

How do I submit my ping?

If you're running PHP, you can use the following:

1.   $context = stream_context_create(array('http' => array(
2.   	'method' => "POST",
3.   	'header' => "Content-Type: text/xml\r\n",
4.   	'content' => $xml
5.   )));
6.   $file = @file_get_contents($post_to, false, $context);
7.   if ($file === false) { echo '<p>Couldn\'t connect!</p>'; }
8.   elseif ($file) {
9.   	echo '<p>The following response was returned:</p>';
10.  	echo '<pre>'.htmlspecialchars($file).'</pre>';
11.  } else {
12.  	echo '<p>Empty response!</p>';
13.  }

(Define $xml with the XML-RPC request that you generated a couple paragraphs further up the page.)

That's it. Happy pinging! If you have questions or comments, please leave them below. Also, new blog pinging services are always appreciated! Don't keep them to yourself.


April 19, 2011, 3:19 pm
We have our own CMS at Level 2 Design, and we work with a great SEO Consultant who has suggested that we include within our CMS pinging capabilities. I've tried to do some research on this, but looks like I will try dissecting WordPress to find what I'm looking for. This is a great article, and I found that works. Unfortunately, I'm having trouble with the others. Is the above XML only for or is the weblogUpdates.extendedPing universal? Again, thanks for the post.
Robert James Reese
April 20, 2011, 5:50 pm
Philip, the weblogUpdates.extendedPing is universal, I believe. It is mentioned in Google's documentation and I used it on the other sites as well. Not sure why it wasn't working for you… Sorry, but I don't have any suggestions.
December 16, 2011, 4:18 am
thanks for sharing
January 30, 2012, 6:18 am
Nice info for developers, and its good to know about weblogUpdates.extendedPing

I have written an XML RPC Submission App for the iPhone and iPad, named SEO URL Ping.

If you are a mobile blogger, you may find it useful!

April 17, 2013, 6:14 pm
thanks for sharing..
April 17, 2015, 2:54 am
Doing Ping is one way to Inform search engines that there is nothing new in your website. so that the article or blog, you can soon be indexed by search engines thus affecting traffic to your website. and it does not rule out the possibility of your website appear on the first page of the appropriate keywords that you want. thank you for the information

Leave a Comment

Name and email are required. Your email will not be published.

This post was first published on January 29th, 2011 and last updated on March 13th, 2014 by Robert James Reese in the following categories: Blogging, PHP, and XML. Before using any of the code or other content in this post, you must read and agree to our Terms & Conditions.