« New and Improved: Version 0.9.5.6. | Main | What you see is what you get. »

The state of APIs.

Dave Winer mentioned the problems he had getting the MetaWeblog API specification out:

BTW, while we're on the topic of APIs, here's something you might not know. When I put things like the MetaWeblog API up for review, the flamer-fans almost immediately drown out the discussion, so we're left with a spec that's not complete (but pretty good in the end). Then the very same people criticize the spec because it's not complete. Isn't that special.
I don't mean to single Dave out, but the entire blogosphere is built on APIs like MetaWeblog, the Blogger API, and ATOM, and the documentation and state of all of those specs leaves much to be desired. As for the MetaWeblog spec, I have no problem with it but there just doesn't seem to be one place to go for a coherent documented version. The Blogger API consists of a page of methods and expected parameters. The Atom API documentation consists of a page of HTML requests to send and the expected responses and very little explanation. Good luck figuring out why it is returning an HTTP 500 error.

The other day I spent 20 minutes trying to get MetaWeblog.newMediaObject to work, encoding the file in Base64 just like the minimalist instructions said. Just for fun I tried NOT encoding it, and it worked just fine.

These APIs, if you can find documentation at all, often don't work as advertised, and there is clearly no accepted standard. Writing a blogging tool should be a simple task, but it is made all the more difficult by the need to support the various flavors of specs and their idiosyncracies.

How much effort are we expending trying to deal with the problems we have created just because we can't agree?

Powered by Bleezer

TrackBack

TrackBack URL for this entry:
http://larryborsato.com/mt/mt-tb.cgi/7320

Comments

I agree with you on most of it. I can also say that writing service side API is pretty difficult. In this respect you can tell everyone 'use this interface' but you can't say 'use this interface correctly'. Having developers do things properly is often like herding cats.

I've been giving a lot of thought on writing some specs on an updated mt xmlrpc api for handling more advanced stuff like category creation and comment handling, but that is down the road.

Being a developer implementing these server APIs for chaps yourselves to come and consume them isn't easier either.

You would cringe at the amount of code we have at Blog-City that detects a given client and then works for their particular way of doing things. Categories and tags are the most confused things out there.

A nightmare!

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.)