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 <[EMAIL PROTECTED]> wrote:
In article <[EMAIL PROTECTED]>,
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
[EMAIL PROTECTED]
http://mail.jabber.org/mailman/listinfo/jdev
---------------------------------
Do you Yahoo!?
Yahoo! Mail - 50x more storage than other providers!
_______________________________________________
jdev mailing list
[EMAIL PROTECTED]
http://mail.jabber.org/mailman/listinfo/jdev