Discussion:
Handling a service Discovery responder
Jorge Díaz
2011-09-13 05:41:27 UTC
Permalink
Hi everyone.

I've been for a couple of days trying to create a service Discovery
responder in order to handle requests for a rooms listing for a multi user
chat similar to MUC chatrooms but with some extended info.

Attending to documentation and debug info, this code seems to work fine but
i never get the service listed in the Discovery Browser of a standard client
such as Adium.
[Discovery::Identity.new('conference', 'Triviarooms', 'chatroom'),
Discovery::Identity.new('directory', 'Triviarooms', 'chatroom')],
[Discovery::Feature.new('triviarooms'),
Discovery::Feature.new('
http://jabber.org/protocol/disco#items')],
[Discovery::Item.new('
I've done hundred of searchs at google but i've found NO example at all of
this particular case.

Any help/suggestions??

Thanks a lot in advance.
Jorge
--
*Jorge Díaz*
email: jorgedf-***@public.gmane.org
spain: +34 620829213
us: +1 (415) 309-8039
chile: +56 (9) 86361620
skype: xurdedf
about.me/xurde
Loading...