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
- make the "engine" a dbus service and separate UI
- The DBus API should provide at least the following
- getting a list of configure blogs
- getting a list of posts in a blog
- getting a list of categories in a blog (preferably with post counts, if possible)
- creating categories (if supported by the blog API)
- creating posts to a defined blog
- creating posts to the default blog
- upload media (preferably through gnome-vfs URI's in the post content to keep us indenpendent of network, cache network/bluetooth files locally?)
- The UI should also have a DBus API for the following
- Open a "prepared" item in editor for posting
- Show a "choose blog" -dialog for posting
- Finally implement the UI changes proposed by tigert
- Clean up the editor (preferably as a widget in it's own library)
- Replace category menu with tag cloud (needs tag cloud widget)
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://