Thursday, 10 June 2004

Testing IM from AIM (Macintosh)

This should work, but we'll see. Only time will tell. Here goes nothing :-)
Posted by david at 5:20 PM in My Life With The Thrill Kill Kult

Blogging via Instant Messenger with XML-RPC

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.

  • 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}
So, how would an interaction look like with the service after adding the service to your buddy list?
  • 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
The AIM library is currently stripping out HTML. This will change if I change the AIM library. For some reason, it looks like international characters are not received correctly. I'll have to look into this in more detail.

I guess if you really wanted to test this out, I can point you at the buddy to add to your list. You'll have to send me an e-mail directly (david (here is where you'd put an @ symbol) blojsom (dot) com). I'm not after anyone's blog usernames and passwords. If you don't trust me then don't send me an e-mail asking me to point you at the buddy.

This was my 2nd post via IM to this blog. I deleted the first when I tested the deletepost functionality /images/emoticons/mozilla_laughing.gif

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.

Posted by david at 2:19 PM in blojsom ... all blojsom

Another post via instant messenger

Well, hopefully this will have a correct title. Although, that remains to be seen after I finish typing the rest of the post. The best part about this new way to post to your blog is that it's interactive. So, once you start a post, you're in the editing post state until you end the post. After which, it'll be posted to your blog. Like now...
Posted by david at 12:37 PM in Evil Experiments

Testing cache update

Again, sorry for the confusion. But, things are working now. Posting in the past.
Posted by david at 9:00 AM in My Life With The Thrill Kill Kult
« First  « Prev   1 2 3 4 5   Next »  Last »
« June »
SunMonTueWedThuFriSat
  12345
6789101112
13141516171819
20212223242526
27282930