[jdev] GEOLOC XEP
spendleton at movsoftware.com
Mon Oct 16 10:30:24 CDT 2006
Hello, I am doing some implementation of the GEOLOC XEP using pubsub and I
ran into this question during implementation:
I have a special case I want to retrieve the location of myself from the
pubsub component for initialization purposes, but I do not want to subscribe
to my location since I do not want to be notified whenever my position
This use case isn't spelled out explicitly in the GEOLOC JEP, but I thought
I would use the generic pubsub capability for doing this. My thought was to
use this stanza to get the item:
from='francisco at denmark.lit/barracks'
<items node='geoloc:fransisco at denmark.lit'/>
and the pubsub component returns back:
to='francisco at denmark.lit/barracks'
<items node='geoloc:fransisco at denmark.lit'>
Does this seem like a reasonable solution?
More information about the JDev