inz.fi

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

yarr-cursed-be-the-wordpresscom-xmlrpc-api.md (1326B)


      1 # Yarr, cursed be the wordpress.com xmlrpc API
      2 
      3  I've been doing some hacking on maemo-blog, and starting to get a asynchronous blog API's working. I'll release something soon. I've also added account manager and done some (not even nearly enough) code cleaning. I still need to make the blogger plugin comply to the new asynchronous API.
      4 
      5  However, during testing the changes, I created two blogs on wordpress.com, and found their xmlrpc API to be quite PITA. Doing a metaWebLog.getUsersBlogs returns all users blogs, as one would except; but... The different blogs of a user require one to use different xmlrpc URLs (ie, http://<blog>.wordpress.com/xmlrpc.php), and the blog name from the domain name is always used, even if there is a blogId defined in the method call, even when they're different; this is a bit of a problem. Trying to be as generic as I can, I wouldn't like to create separate plugins for each blog provider, and metaWebLog API does not support sending a new xmlrpc URL in a getUsersBlogs reply, there's just no generic way of working past the wordpress.com behavior. Found that at least some [performancing](http://performancing.com/firefox) user has run into the [same problem](http://performancing.com/node/2740), and a quick try with [BloGTK](http://blogtk.sourceforge.net/) yielded the same results.