inz

blog-service revisited

Fooling around with dbus-glib, I decided to redesign the BlogService DBus API. The idea is the following; different blogs are available at different object paths, the default blog will be available as /org/MaemoHackers/BlogService/default or similar.

The API is somewhat described in maemo-hackers wiki; the .xml files in svn repository have not yet been updated. I'm doing this alone and in quite a slow pace, and will commit my code when it compiles again. The api may also live -- comments, suggestions etc. welcome.

Published on April 3, 2007

Lunch meeting over maemo-blog

We had a lunch meeting with bergie, tigert, rambo and mdk. Among other fun stuff, we talked about some ideas for maemo-blog:

I was planning on making the post query/sending functions quite generic, so the user would list the fields they're insterested, something like this:

org.maemo_hackers.maemo_blog.get_posts(string:blog_id,string:field1[,string:field2...]);
org.maemo_hackers.maemo_blog.send_post(string:blog_id,string:field1,:field1_value[,string:field2,:field2_value...]);
 

The latter would require fields "title" and "description".

Suggestions, comments etc welcome.

Published on February 27, 2007

Yarr, cursed be the wordpress.com xmlrpc API

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.

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://.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 user has run into the same problem, and a quick try with BloGTK yielded the same results.

Published on August 28, 2006