|
Powered by
|
|
Section: All | News & Politics | Geek Stuff | Devel | Non-existent Life | Random | Food! | Life |
Archives: 2003 > 05 Wed, May 28, 2003
IlohaBlog: API madness
I'm in the process of implementing support for various blogging APIs. I started off with Blogger API, but it seems like things are a bit more complicated than that... but that's no surprise, everything behind blogging is still complicated (RSS/RDF anyone?).
The first thing that got me is the conflicting documentation on the Blogger API. Blogger's site has one set of methods, while other sites mention other methods. But even if I implement both sets of methods, the Blogger API is as limited as the Blogger service. Posts can only contain 4 fields (postid, userid, content, createdate) and it knows nothing about sections. The solution is to add support for, perhaps, MovableType APIs...
The other problem is, XML-RPCs are a pain to debug. Because I have to use a compiled client (i.e. a desktop blogger client) or a custom written client based on xmlrpc_client, it's hard to really get down and dirty to see what's happening. To make matters worse, I have yet to find a good client for MacOS X that supports the Blogger API. So far, the best one I've found is Kung Log which has a nice log window for debugging. Unfortunately, I can't seem to get it to show recent posts. It invokes the right method and my server app returns what appears to be the right data, but it simply doesn't show up. For some reason, it doesn't work with Blogger either...
Anyway, tomorrow, I'm going to start implementing more of the MovableType APIs and hope that I can just pretend to be MovableType instead of Blogger. Hell, if I'm going to imitate, I might as well aim high.
|
|
Ryo Chijiiwa
I'm a biologically Japanese, culturally American, Germany-raised, socially liberal, politically independent, gun-totin', code writin' dude. My life is currently sponsored by Google.
|