Mercurial > prosody-wiki
comparison mod_discoitems.wiki @ 82:f75b675c8de3
mod_discoitems: Initial commit.
author | Waqas Hussain <waqas20@gmail.com> |
---|---|
date | Sun, 01 Nov 2009 18:17:39 +0500 |
parents | |
children | 75092a6a82b2 |
comparison
equal
deleted
inserted
replaced
81:7283d7817489 | 82:f75b675c8de3 |
---|---|
1 #summary Manually specify the list of service discovery items | |
2 #labels Stage-Beta | |
3 | |
4 = Introduction = | |
5 | |
6 This Prosody plugin lets you manually override the service discovery items for a host. | |
7 | |
8 = Usage = | |
9 | |
10 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. | |
11 | |
12 = Configuration = | |
13 | |
14 The `disco_items` option can be added to relevant hosts: | |
15 | |
16 {{{ | |
17 disco_items = { | |
18 {"proxy.eu.jabber.org", "Jabber.org SOCKS5 service"}; | |
19 {"conference.jabber.org", "The Jabber.org MUC"}; | |
20 } | |
21 }}} | |
22 | |
23 The format for individual items is `{JID, display-name}`. The display-name can be omitted: `{JID}`. | |
24 | |
25 = Compatibility = | |
26 ||0.6||Works|| | |
27 ||0.5||Should work|| | |
28 | |
29 = Caveats/Todos/Bugs = | |
30 | |
31 * Consider for merging into mod_disco in Prosody trunk |