[JDEV] Annotating user's presence with extra information

Peter Saint-Andre stpeter at jabber.org
Wed Apr 10 16:54:27 CDT 2002


You could definitely extend the presence packet with an <x/> element in a
special namespace, and in that element you could include GPS coordinates
or whatever you want. You'd have to run presence packets through a server
component to add that info if it lives server-side, though.

Peter

--
Peter Saint-Andre
email+jabber: stpeter at jabber.org
weblog: http://www.saint-andre.com/blog/

On Wed, 10 Apr 2002, Henry Minsky wrote:

> 
> I am working on a project where we have a server that is tracking users' 
> locations
> via various technologies, and recording them in a realtime database.
> 
> I would like to be able to annotate each jabber user on the server with
> some information about their physical location. This information would most 
> likely be
> retrieved in the presence information for each user, although might there
> be some better place to put it, such as a new separate iq query?
> 
> Note that the clients themselves do not necessarily know their own locations,
> that information is derived on the server, so I need my "location server" to
> somehow inject the location information for each user into the jabber
> server, where it can be accessed by custom clients, or perhaps also stuffed
> into the english-readable status strings, for backward compatibility with 
> existing
> clients.
> 
> Anyone else working on something like this?
> 
> Thanks,
> 	Henry Minsky
> 
> _______________________________________________
> jdev mailing list
> jdev at jabber.org
> http://mailman.jabber.org/listinfo/jdev
> 




More information about the JDev mailing list