ralphm.net

ralphm's blog

Friday, 5 May 2006

Publish-subscribe and idleness

Doing nothing?

It appears that our work on the publish-subscribe specification is nearing completion. As we speak we are ironing out the last wrinkles of a pretty large specification, where most changes come in because of better understanding of the issues. After finishing of this work, we can resume discussing PEP and the extended presence proposals.

Relately, jadestorm has ideas on conveying idle-time. He suggests writing a JEP to publish this information via publish-subscribe, but I'd like to point out two existing JEPs that might do the trick.

First off is Time Periods. It allows for annotating a stanza with information about the beginning and/or end of some state, event or activity. This could be used to accompany an automatic away with time the idling started. Getting the current idle-time from that is easy then. Also, it can be used in combination with User Activity. One of the activities is inactive.