« DooDooBlogger.com | Main | Today's links [Decem... »

Comparing features: Atom protocol vs. MetaWeblog API


For RSS and Atom in Action I developed a simple blog client API, which I've written about before. This week I'm wrapping up my chapter on the Atom protocol and doing some testing of both a) the MetaWeblog/Blogger API and b) the Atom Publishing Protocol implementations of my simple API. To guide my testing, I created a matrix on my white board that looks something like the table below.

Feature a) MetaWeblog
Blogger API
b) Atom Publishing
Protocol (Draft 6)
Multiple blogs per user
yes
yes
Save, update and delete entries
yes
 yes
Entries with multiple categories
yes
 yes
List available categories
yes
planned?
Save drafts
yes
 yes
List entries (with paging)
 yes but no paging*
 yes
Upload and update uploaded files
yes
yes
Delete uploaded files
no
yes
List uploaded files (with paging)
 no yes
Get and set templates
yes
planned?
Delete templates
no
planned?
List templates (with paging)
no
planned?

* The Blogger / MetaWeblog API getRecentPosts() methods allow you to list recent blog entries, but there's no way to page through or request a range of entries.

As you can see, Atom protocol is not finished. I hope that when it's finished it'll have the features listed above, but that remains to be seen. In the latest Atom protocol spec (Draft 6), there's no way to get a list of the categories available in a blog and there's no way to get and set templates. Personally, I don't think anybody would miss get/set templates, but List categories is pretty valuable. IMHO, if we could get List categories into Atom protocol (instead of bickering about collection representations and introspection), we'd be done.

Update: I just made a couple of tweaks to the list of features and I may do a couple more.

Tags: topic:[Atom], topic:[Atom Publishing Protocol], topic:[Web Services], topic:[MetaWeblog API]
Comments:

Aren't templates usually text, xhtml or html? If so then they could easily live in their own collection.

Posted by Joe on December 27, 2005 at 06:54 PM EST #

Thanks Joe. That's true. I just updated my table to treat templates like collections.

Posted by Dave Johnson on December 27, 2005 at 07:41 PM EST #

Would it be possible to have an entry collection for categories too? We can even have hierachical categories via atom:link pointing to more collections/feeds.

Each category would have a unique ID and would also have a title and at least a summary (which might be blank). We could link different categories together via atom:link, depicting narrower-terms, see-also, etc.

Posted by eric scheid on January 11, 2006 at 09:32 AM EST #

Sounds like a workable solution to me and it fits in with the 'spirit' of the APP, where everything is an entry.

Posted by Dave Johnson on January 11, 2006 at 08:05 PM EST #

Post a Comment:
  • HTML Syntax: NOT allowed

« DooDooBlogger.com | Main | Today's links [Decem... »

Welcome

This is just one entry in the weblog Blogging Roller. You may want to visit the main page of the weblog

Related entries

Below are the most recent entries in the category Blogging, some may be related to this entry.