RSD: Discoverability of Blog APIs

If you configure Flock for blogging, you might wonder why some blogs can be configured by simply entering the URL of the blog only, while in Flickr, you sometimes need to enter the URL to the specific API endpoint. How is Flock able to find the URL endpoint from the URL of the blog? Finding the URL of the API endpoint is similar to the problem described in Chapter 4 of locating the URLs of feeds based on the URL of the web site. You won’t be surprised then to discover that someone invented an autodiscovery mechanism for the existence of blogging APIs:

For detailed technical information on the mechanism, read the RSD specification:

Here I point out how RSD has been implemented by at least two major blog publishing services: WordPress and Blogger. You can go to any of the blogs run by WordPress, such as the one for WordPress news:

in which you will find the following link:

         <link rel="EditURI" type="application/rsd+xml" title="RSD"
               href="" />

From looking at , which is as follows:

         <?xml version="1.0" encoding="UTF-8"?><rsd version="1.0"
               <api name="WordPress" blogID="1" preferred="true"
                    apiLink="" />
               <api name="Movable Type" blogID="1" preferred="false"
                    apiLink="" />
               <api name="MetaWeblog" blogID="1" preferred="false"
                    apiLink="" />
               <api name="Blogger" blogID="1" preferred="false"
                    apiLink="" />

you can see how the WordPress blog is advertising itself as having support for four blog APIs: WordPress, Movable Type, Metablog, and Blogger.

Similarly, for Blogger blogs such as, you’ll get the following:

         <link rel="EditURI" type="application/rsd+xml" title="RSD"
               href="" />

And shows support for one API, the Blogger API:

         <api name="Blogger" preferred="true" apiLink=""

Like feed autodiscovery, RSD functions as a reasonably well-­implemented de facto standard without much formalization.