[JDEV] Annotating user's presence with extra information
Michael Brown
michael at aurora.gen.nz
Wed Apr 10 23:01:30 CDT 2002
Does it have to be in the presence info? I noticed the (unused?) XML-vCard
spec has fields for such things as a users GPS location - which is way cool,
but I don't think has ever been used.
I would love to have my client display a small map of the world with a
highlight where the user you are chatting with is (great for the geography
impaired like me!).
Perhaps your time would be better spent trying to get a consensus on a
decent implementation of the vCard or similar that all clients can use, and
just pull the info that they require, rather than loading up the presence
tags.
Just a suggestion.
Michael.
PS - the current vCard definition can be found here, but needs a lot of work
IMO.
http://hades.jabber.org/protocol/vcard-xml/
GEO tag is:
<!-- Geographical position. Values are the decimal degress of LATitude and
LONgitude. The value should be specified to six decimal places.-->
<!ELEMENT GEO (LAT, LON)>
> 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
More information about the JDev
mailing list