Mercurial > prosody-wiki
diff mod_discoitems.wiki @ 454:528721aaea46
a bunch of pages: strip trailing whitespace
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sun, 27 Apr 2014 03:42:02 +0200 |
parents | e4746a9ee7d4 |
children |
line wrap: on
line diff
--- a/mod_discoitems.wiki Sun Apr 27 03:41:43 2014 +0200 +++ b/mod_discoitems.wiki Sun Apr 27 03:42:02 2014 +0200 @@ -1,32 +1,32 @@ -#summary Manually override 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. - -Note: mod_disco in Prosody 0.8+ supports the `disco_items` option; this plugin changes the behavior from appending items to replacing items - -= 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.8||Works|| -||0.7||Works|| -||0.6||Works|| -||0.5||Should work|| - +#summary Manually override 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. + +Note: mod_disco in Prosody 0.8+ supports the `disco_items` option; this plugin changes the behavior from appending items to replacing items + += 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.8||Works|| +||0.7||Works|| +||0.6||Works|| +||0.5||Should work|| +