[jdev] Re: PUBSUB JEP 0060: how does client know the pubsub JID
vijay kumar
abhideep_raorane2 at yahoo.com
Mon Oct 4 12:59:08 CDT 2004
I saw that, but how does the server know to send the IQ to pubsub.shakespeare.lit in the stanza below? From the previous post, it seems like this info comes from DISCO. But I think it would be useful to have another example showing that.
<iq type='set'
to='pubsub.shakespeare.lit'
id='create2'>
<pubsub xmlns='http://jabber.org/protocol/pubsub'>
<create node='romeo-geolocation-information'/>
</pubsub>
</iq>
Using DISCO, one can tell the subscriber the JID and node name to use for creating the subscription (see example 14 in JEP 119). It would be nice to allow the node creator/publisher to also send the packets to a user-specific JID and not a service specific JID like pubsub.shakespeare.lit.
thanks a lot!
Peter Saint-Andre <stpeter at jabber.org> wrote:
In article <20041004172151.36569.qmail at web90010.mail.scd.yahoo.com>,
vijay kumar wrote:
> But what if you simply want to use pubsub for something like extended
> presence or another application where each user in the system will need its
> own node. Is there any way we can tell the client to send pubsub stanzas to
> the JID of the actual user whose node they are interested in instead of a
> catch-all JID like pubsub.jabber.org.
>
> In particular, is there a way to put this info in disco?
See Section 5 of JEP-0119 ("Extended Presence Protocol Suite") for an
example of this:
http://www.jabber.org/jeps/jep-0119.html
/psa
_______________________________________________
jdev mailing list
jdev at jabber.org
http://mail.jabber.org/mailman/listinfo/jdev
---------------------------------
Do you Yahoo!?
Yahoo! Mail - 50x more storage than other providers!
More information about the JDev
mailing list