[Standards-JIG] RE: Timed presence events

Jean-Louis Seguineau jean-louis.seguineau at laposte.net
Tue Mar 8 11:14:18 UTC 2005


Hi Macieck,

That look good to me, and will certainly fit the purpose. We just need to
follow JEP-0082 for the datetime format ;)

<valid xmlns='http://jabber.org/protocol/something'
     from='2002-09-10T20:41:07Z'
     to='2002-09-10T23:41:07Z' />

Jean-Louis

-----Original Message-----
Jean-Louis Seguineau wrote:
> Recently the SIMPLE WG of the IETF introduced extensions to their presence
> model in order to provide a mechanism allowing a user to declare its
status
> for a time interval in the future or the past.

> What syntax would we use to express this idea in XMPP ?


How about:

<presence from='juliet at capulet.com/balcony' to='romeo at montague.net'>
  <valid xmlns='http://jabber.org/protocol/something'
     from='20020910T20:41:07'
     to='20020910T23:41:07' />
</presence>

When the 'from' date comes, server would store current status and
broadcast new one. When 'to' date comes, server would restore old presence.

-- 
Maciek
 xmpp:machekku at chrome.pl





More information about the Standards mailing list