Six Apart Developer Center

Developer Center Home » Atom » Protocol »

Atom Autodiscovery

Posted by Byrne Reese on January 25, 2006

Auto-discovery is the process by which a user can determine the proper URL (or URLs) for directing Atom and XML-RPC requests for a weblog. Every Six Apart weblog publishes an RDF file, compliant with the industry standard for this file format, that contains a list of all the APIs supported by that weblog. The location of this file is easily found using the following instructions. Of course, applications may choose to automate this process, but for the purposes of this document we will use a normal web browser.

  1. View the source of your weblog’s homepage.
  2. In the <head> of the HTML document, look for a link relation entitled “EditURI.” It should look very similar to:
<link rel="EditURI" type="application/rsd+xml" title="RSD" href="http://www.yourdomain.com/rsd.xml">
  1. Cut and paste the value of the href attribute into your browser. This is the URL of the autodisovery document and contains a list of the APIs supported by the corresponding weblog. The document should appear very similar to:

  1. The <api> element with the name attribute of “Atom” specifies the URL to which Atom requests can be directed for creating, updating, reading or deleting posts.

Now that you have the URL to which you can direct your Atom requests, you are free to create, read, update and delete weblog posts via Atom.

See Also

Post a comment

(If you haven't left a comment here before, you may need to be approved by the site owner before your comment will appear. Until then, it won't appear on the entry. Thanks for waiting.)

Related Categories

Six Apart
Makers of weblog software and services for individuals, organizations and businesses.
This website is powered by Movable Type.