Thursday, 10 June 2004
Blogging via Instant Messenger with XML-RPC
« Another post via instant messenger | Main | Testing IM from AIM (Macintosh) »
So, Mark and I have yet another project in the works. I can't go into any detail about it at the moment, but one aspect is IM integration.
Your blog software must support the Blogger API. It must implement the following Blogger API methods: getUserInfo, getUsersBlogs, newPost, deletePost. These are the commands that the service supports.
Update: After talking with the author of the AIM library, looks like the stripping of HTML also rips out international characters. So, I'll have to noodle more on a better way to handle this, but stripping of HTML can/should/must be done in the state when you're not editing a post. Otherwise, if you are editing a post, it simply takes content between Tag X and Tag Y. That should be fun since different IM clients can each send different markup around the message. So Tag X and Tag Y might be different depending on the IM client. At least I've got some options.
- login {username} {password}
- logout
- seturl {XML-RPC for your blog}
- setblogid {blog ID to which entries will be posted
- getuserinfo
- getusersblogs
- newpost
- endpost {true|false} (if true, the post is made, otherwise it is discarded)
- deletepost {post ID}
- login {username} {password}
- seturl {XML-RPC for your blog}
- setblogid {blog ID to which entries will be posted
- newpost
- {You are now editing your post. Keep sending messages to the service. When you are finished with the post, then you send the following command.}
- endpost true
- deletepost {post ID}
- logout
Posted by at 2:19 PM in blojsom ... all blojsom
[Trackback URL for this entry]
