Technorati, a search engine for searching blogs, allows blog owners to “ping” their blog. This way Technorati can index updated blogs based on the tags assigned to a post.
You can do this manually by requesting a ping with the “Technorati ping form” (since defunct), but let’s see how we can automate this. It’s easy to do even if the documentation is sparse.
- First, we’ll need Ruby on Rails built-in XML-RPC protocol and create a new client that listens to the Technorati web service.
- Next, we call the ‘weblogUpdates.ping’ service method and pass the name and URL of our blog and keep the response in the result parameter.
- We now check if the request succeeded by looking at the result parameter.