[Standards] Using <geoloc/> in Data Form
Michael Laukner
laukner at googlemail.com
Thu Jan 26 21:58:04 UTC 2012
What is the best way for including geographic locations in XEP-0004
data forms? I've found the following two specifications that define
suitable XMPP protocol extensions:
- XEP-0221: Data Forms Media Element (http://xmpp.org/extensions/xep-0221.html)
- XEP-0080: User Location (http://xmpp.org/extensions/xep-0080.html)
Is the following approach already XMPP standards compliant (i.a.w.
XEP-0068: Field Standardization for Data Forms):
<x xmlns='jabber:x:data' type='form'>
[ ... ]
<field var='location'>
<geolocxmlns="http://jabber.org/protocol/geoloc">
<text>Paris, France</text>
<locality>Paris</locality>
<country>France</country>
</geoloc>
</field>
[ ... ]
</x>
or does this require a new XEP similar to XEP-0221 ?
Regards,
Michael
More information about the Standards
mailing list