A ping, more formally known as an XML-RPC ping, is a method of allowing two websites to communicate with each other (via the XML-RPC specification). The most common use these days is for blog software to tell RSS feed directories and aggregators that a new feed has been published. If you aren’t using blog software for your site but would still like the ability to ping, you can use the code below. Note that it requires the inclusion of an open source class script, the Incutio XML-RPC Library (class-IXR.php).

Note that I have included, but commented out, many of the ping targets because pingomatic will take care of most of them. Taylan Pince has published an article, Technorati and XML-RPC Pinging, which lays out an alternative to the code above and which uses the actual XML-RPC for PHP package.

Also, for some generally good information about this issue, check out the useful article, Increase Visibility in Blog and RSS Directories: XML-RPC Pings, which covers:

  • technical background details of XML-RPC pings
  • importance of XML-RPC pings
  • requirements for using XML-RPC pings
  • media types covered by XML-RPC
  • Ping-o-Matic and other multi-pinging resources
  • directories accepting XML-RPC pings
  • live comments jotted down while performing pings
  • resources related to XML-RPC

  Download the code as a .zip file

Like this content? Why not share it?
Share on FacebookTweet about this on TwitterGoogle+Share on LinkedInBuffer this pagePin on PinterestShare on Redditshare on TumblrShare on StumbleUpon

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.