Retrieving a List of Weblogs
To retrieve a list of weblogs associated with a user's account via Atom, one need only perform an authenticated HTTP GET against the requisite URL corresponding to each Six Apart product.
Introspection Document Format
The document retrieved contains a set of link relations. For each weblog associated with the user's account you will find five link elements. Below is a list of the link relations associated with each weblog, and what the corresponding URL can be used for:
- service.feed - this link points to the Atom feed associated with the weblog. Fetching this link will return an Atom feed containing a list of entries. This Atom feed is often public and does not require authentication.
- service.categories - this links points to the Atom endpoint from which a list of categories can be retrieved. This endpoint requires authentication.
- service.upload - this link points to the Atom endpoint to which photos can be uploaded. This endpoint requires authentication.
- service.post - this link points to the Atom endpoint to which any Atom request to create, read, update or delete an entry can be sent. This endpoint requires authentication.
- alternate - this link points to the weblog's homepage in HTML format. This endpoint is often public and does not typically require authentication.
Endpoint URLs
Each Six Apart product provides a slightly different URL scheme for accessing introspection documents.
Movable Type
The weblog introspection document can be retrieved from any instance of Movable Type. If the web interface can be accessed by visited the following URL:
http://www.somedomain.com/cgi-bin/mt/mt.cgi
Then the introspection document can be retrieved by visiting the following URL:
http://www.somedomain.com/cgi-bin/mt/mt-atom.cgi/weblog
TypePad
In the TypePad the weblog introspection document can be retrieved for all users at the following URL:
http://www.typepad.com/t/atom/weblog
