-----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Justin Karneges Sent: Tuesday, September 21, 2010 4:24 PM To: Jabber/XMPP software development list Subject: Re: [jdev] Best ways for a JID to advertise what services it uses?
>Something like this might help: ><iq type="get" to="[email protected]" id="1"> > <query xmlns="http://jabber.org/protocol/delegate"/> ></iq> ><iq type="result" from="[email protected]" id="1"> > <query xmlns="http://jabber.org/protocol/delegate"> > <service type="pubsub" jid="users.freepubsubforall.com"/> > <service type="livefyre" jid="services.livefyre.com"/> > </query> ></iq> >Just tossing it out as a rough idea to start from. How would that work, for example, for discovering the microblog node that a jid uses? Would a client then a form a second query that would return the location of the microblog node? I think it would be helpful to have the "well known" pubsub nodes registered (like http://xmpp.org/registrar/nodes.html) and I can then do a query after I have discovered the pubsub service, using your method above, like: <iq type='set' from='[email protected]/barracks' to='users.freepubsubforall.com' id='sub1'> <pubsub xmlns='http://jabber.org/protocol/pubsub'> <subscribe node='urn:xmpp:microblog:0' jid='[email protected]'/> </pubsub> </iq> _______________________________________________ JDev mailing list Forum: http://www.jabberforum.org/forumdisplay.php?f=20 Info: http://mail.jabber.org/mailman/listinfo/jdev Unsubscribe: [email protected] _______________________________________________
