Six Apart Developer Center

Developer Center Home » Atom » Protocol »

Retrieving a List of Atom Entries

Posted by Byrne Reese on January 23, 2006

To obtain a list of the posts in a selected weblog you must first discover the Atom endpoint corresponding to that weblog. That is accomplished by inspecting the weblog’s autodiscovery document (see Atom Autodiscovery). Once you have the URL to the Atom endpoint, then send an authenticated HTTP GET request to that URL.

The response will be formatted as an Atom feed and will containing a list of 20 posts. There is no guarantee that the entries returned will be a complete representation of that resource. If you wish to edit any of the entries returned in this list, it is recommended that you retrieve the ‘service.edit’ URL associated with the entry and then retrieve the resource directly (see Retrieving a post on a weblog).

Sample Request

Sample Response

Perl Code Sample

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.