All Projects → node → openfireLBS

node / openfireLBS

Licence: Apache-2.0 license
Openfire LBS plugin

Programming Languages

java
68154 projects - #9 most used programming language
HTML
75241 projects

Projects that are alternatives of or similar to openfireLBS

geohash
geohash http server
Stars: ✭ 32 (-25.58%)
Mutual labels:  lbs
php-openfire-restapi
A complete PHP client for the Openfire REST API Plugin.
Stars: ✭ 29 (-32.56%)
Mutual labels:  openfire
JMGS
基于LBS的微信小程序,服务器端代码在这里server@https://github.com/g1mi/jmgs_server
Stars: ✭ 29 (-32.56%)
Mutual labels:  lbs
Openfire
Openfire is a real time collaboration (RTC) server licensed under the Open Source Apache License. It uses the only widely adopted open protocol for instant messaging, XMPP (also called Jabber). Openfire is incredibly easy to setup and administer, but offers rock-solid security and performance.
Stars: ✭ 2,423 (+5534.88%)
Mutual labels:  openfire
roxy-wi
Web interface for managing Haproxy, Nginx, Apache and Keepalived servers
Stars: ✭ 1,109 (+2479.07%)
Mutual labels:  lbs

Build Status

openfireLBS

This is Openfire LBS(Location Based Service) plugin based on private extension protocol as the following but NOT based on XEP-0080(http://xmpp.org/extensions/xep-0080.html).

XMPP LBS Extension

1 Get users near me with my location

REQUEST

<iq id="c911" type="get" from="[email protected]/TCL-S960">
<query xmlns="com.nodexy.im.openfire.location">
	<item user="chris" lon="22.323009" lat="29.098763"/>
</query>
</iq>

RESPONSE

<iq id="c911" type="result" to="[email protected]/TCL-S960">
<query xmlns="com.nodexy.im.openfire.location">
	<item user="chris1" lon="22.323009" lat="29.098763" sex="0" online="30min"/>
	<item user="chris2" lon="22.323009" lat="29.098763" sex="0" online="30min"/>
	<item user="chris3" lon="22.323009" lat="29.098763" sex="0" online="30min"/>
	... ...
</query>
</iq>

2 Upload my location

REQUEST

<iq id="c912" type="set" from="[email protected]/TCL-S960">
<query xmlns="com.nodexy.im.openfire.location">
	<item user="chris" lon="22.323009" lat="29.098763"/>
</query>
</iq>

RESPONSE

<iq id="c912" type="result" to="[email protected]/TCL-S960">
<query xmlns="com.nodexy.im.openfire.location"/>
</iq>

3 Share my location to friends

REQUEST

<iq id="c913" type="set" from="[email protected]/TCL-S960" to="[email protected]/TCL-S960">
<query xmlns="com.nodexy.im.openfire.location">
	<item user="chris" lon="22.323009" lat="29.098763"/>
</query>
</iq>

RESPONSE

<iq id="c913" type="result" to="[email protected]/TCL-S960" from="[email protected]/TCL-S960">
<query xmlns="com.nodexy.im.openfire.location"/>
</iq>

WARNING

The source code has no functional testing , pls DO NOT use it in your business production directly.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].