I guess I should start out by saying what the RSD format is and what it's used for... One of the main issues that developers have had is the inability to really connect to and interact with web sites without knowing intimate info about the way that site was set up. So eventually, someone who was annoyed with that fact, came up with a file format called RSD. RSD stands for Really Simple Discovery. RSD has one purpose, to let applications know what services are available on a website and where they are located. And while the format is simple, I decided to create a couple classes to help out.
RSD.zip (4.30 kb)
There are only three classes with minimal code. The basic RSD file is really just an XML doc that consists of only a couple fields. Specifically the file has the name and link to the engine that created the RSD file, the link to your website/blog, and the list of APIs. The APIs themselves only contain the name, whether it is preferred (so a client app knows which item to try first), the link to the API, and the blog ID (usually just the link to the blog and can even be empty). That's it really. It would be more interesting if there were a couple fields that needed explaining but it's really simple (go figure considering the name).
Now finding an RSD file takes a bit more work. For that, you need to either look in the header of the web page/site to find a link tag like the following:
<link rel="EditURI" type="application/rsd+xml" title="RSD" href="Link to the RSD file" />
And if that isn't there, the default is http://www.whatever the website is.com/rsd.xml... And if it isn't there, there is no RSD file (or at least not one that you're going to find). Anyway, try out the code, leave feedback, and happy coding.
2ac33fed-c621-462c-8e5d-bef33ce69da4|0|.0