powered by Jive Software

Plugin as a component

Hello, I have two questions:

Firstly, how do you register a plugin as a component so that it is found during service discovery?

Secondly, how do you implement registry of the service provided by the plugin to make the plugin available? ideally, it would be desired for their to be a “register” option upon right clicking on the service.

thanks in advance,

Omar

to 1.

I am not exactly sure, but it has something to do with answering on

http://jabber.org/protocol/disco#info and http://jabber.org/protocol/disco#items

See XEP 0030 and the Search-Plugin (included in Wildfire Sources)

to 2.

Maybe answer on jabber:iq:register ?

See XEP 0077 .

Coolcat

Hey Omar,

You can look at the broadcast plugin source code to see an easy example. The search plugin is also another good and simple example.

Regards,

– Gato