# HG changeset patch # User Waqas Hussain # Date 1257081459 -18000 # Node ID f75b675c8de3f21faa591e7311cabba637d5bf04 # Parent 7283d78174897049ce31326ca84c0e09febd85f6 mod_discoitems: Initial commit. diff -r 7283d7817489 -r f75b675c8de3 mod_discoitems.wiki --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mod_discoitems.wiki Sun Nov 01 18:17:39 2009 +0500 @@ -0,0 +1,31 @@ +#summary Manually specify the list of service discovery items +#labels Stage-Beta + += Introduction = + +This Prosody plugin lets you manually override the service discovery items for a host. + += Usage = + +Simply add `"discoitems"` to your modules_enabled list. Then add the `disco_items` option to hosts for which you wish to override the default response. + += Configuration = + +The `disco_items` option can be added to relevant hosts: + +{{{ +disco_items = { + {"proxy.eu.jabber.org", "Jabber.org SOCKS5 service"}; + {"conference.jabber.org", "The Jabber.org MUC"}; +} +}}} + +The format for individual items is `{JID, display-name}`. The display-name can be omitted: `{JID}`. + += Compatibility = +||0.6||Works|| +||0.5||Should work|| + += Caveats/Todos/Bugs = + + * Consider for merging into mod_disco in Prosody trunk