XMPP Message with Geolocation -


i sending xmpp messages geolocation , delay signal when message sent. (i use strophe.js).

this stanza looks :

<message from=​"darkvader@empire" to= "luke@republic" type=​"chat">​     <body>​luke, father</body>     <geoloc xmlns=​"http:​/​/​jabber.org/​protocol/​geoloc" xml:lang=​"en">​         <lat>​2342342342.23174650000001​</lat>​         <lon>​124324232.234234​</lon>​         <accuracy>​20​</accuracy>​     </geoloc>​     <delay xmlns=​"urn:​xmpp:​delay" stamp=​"2013-07-15t09:​07:​23.084z">​</delay>​ </message>​ 

since couldn't find syntax example anywhere (for sending info through messages , not iq), right way ?

thanks !


Comments