[JDEV] jabber extensions available for handling location information
Ralph Meijer
jabber.org at ralphm.ik.nu
Mon Nov 25 06:35:47 CST 2002
On Mon, Nov 25, 2002 at 01:03:48PM +0000, DJ Adams wrote:
> On Mon, Nov 25, 2002 at 11:47:20AM +0100, Arjan Peddemors wrote:
>
> > The extended server handles <location> elements at the same level as
> > the common data types <message>, <presence>, and <iq>; i.e. <location>
>
> I may be missing something here (due to my 'time off' recently) so sorry
> if I'm speaking out of turn ... but this seems slightly worrying - a new
> top-level element?
Yeah, that was my first idea, too. I vaguely remember the earlier
announcement and at that time the extra top-level element was mentioned also.
I think is a fine example of something that should be implemented with
publish/subscribe.
As the site mentions, there are a lot of other context
information types you can think of that might be useful to implement some
service. From the top of my head, besides presence and location, you could
use:
- mood
happy/sad/whatever, see http://ralphm.net/moods and
http://ralphm.net/blog/2002/Jun/14#moods
- current activities
working, blindly surfing, on the phone
- music
Introducing top-level elements for each of these, to avoid overloading
the presence stanzas, is not the way to go IMHO. Publish/subscribe is.
For the location context, in the next generation of the Jabber World
Map (http://ralphm.net/world), I would most definately use publish/subscribe
to let the application now where I am (in stead of relying on the current
resource conveying my current location).
> Does this relate to a current JEP? I can't see any that might fit...
No, you haven't missed anything...
--
Greetz,
Ralphm
More information about the JDev
mailing list