[Standards] Multiple location sources in XEP-0080

Ilya Braude ilya at drakontas.com
Fri Apr 9 02:02:11 UTC 2010


There has been some discussion on the jdev list [1] about adding 
'source' and 'provider' fields to the <geoloc> element of XEP-0080 in 
order to be able to specify multiple location sources for a single entity.

The 'source' specifies the origin of the location information, and the 
'provider' specifies the mechanism by which the geolocation information 
is computed.

For example, the following XML segment shows a user's GPS location 
coming from Mozilla's Geode:

<geoloc xmlns='http://jabber.org/protocol/geoloc' xml:lang='en'>
  <source>gps</source>
  <provider>Geode</provider>
  <lat>45.44</lat>
  <lon>12.33</lon>
</geoloc>


Attached is a patch that adds these fields and their descriptions.


Ilya


[1] http://mail.jabber.org/pipermail/jdev/2010-February/088083.html

-------------- next part --------------
A non-text attachment was scrubbed...
Name: xep-0080.xml.patch
Type: text/x-patch
Size: 3744 bytes
Desc: not available
URL: <http://mail.jabber.org/pipermail/standards/attachments/20100408/6881f889/attachment.bin>


More information about the Standards mailing list