annotate 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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
82
f75b675c8de3 mod_discoitems: Initial commit.
Waqas Hussain <waqas20@gmail.com>
parents:
diff changeset
1 #summary Manually specify the list of service discovery items
f75b675c8de3 mod_discoitems: Initial commit.
Waqas Hussain <waqas20@gmail.com>
parents:
diff changeset
2 #labels Stage-Beta
f75b675c8de3 mod_discoitems: Initial commit.
Waqas Hussain <waqas20@gmail.com>
parents:
diff changeset
3
f75b675c8de3 mod_discoitems: Initial commit.
Waqas Hussain <waqas20@gmail.com>
parents:
diff changeset
4 = Introduction =
f75b675c8de3 mod_discoitems: Initial commit.
Waqas Hussain <waqas20@gmail.com>
parents:
diff changeset
5
f75b675c8de3 mod_discoitems: Initial commit.
Waqas Hussain <waqas20@gmail.com>
parents:
diff changeset
6 This Prosody plugin lets you manually override the service discovery items for a host.
f75b675c8de3 mod_discoitems: Initial commit.
Waqas Hussain <waqas20@gmail.com>
parents:
diff changeset
7
f75b675c8de3 mod_discoitems: Initial commit.
Waqas Hussain <waqas20@gmail.com>
parents:
diff changeset
8 = Usage =
f75b675c8de3 mod_discoitems: Initial commit.
Waqas Hussain <waqas20@gmail.com>
parents:
diff changeset
9
f75b675c8de3 mod_discoitems: Initial commit.
Waqas Hussain <waqas20@gmail.com>
parents:
diff changeset
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.
f75b675c8de3 mod_discoitems: Initial commit.
Waqas Hussain <waqas20@gmail.com>
parents:
diff changeset
11
f75b675c8de3 mod_discoitems: Initial commit.
Waqas Hussain <waqas20@gmail.com>
parents:
diff changeset
12 = Configuration =
f75b675c8de3 mod_discoitems: Initial commit.
Waqas Hussain <waqas20@gmail.com>
parents:
diff changeset
13
f75b675c8de3 mod_discoitems: Initial commit.
Waqas Hussain <waqas20@gmail.com>
parents:
diff changeset
14 The `disco_items` option can be added to relevant hosts:
f75b675c8de3 mod_discoitems: Initial commit.
Waqas Hussain <waqas20@gmail.com>
parents:
diff changeset
15
f75b675c8de3 mod_discoitems: Initial commit.
Waqas Hussain <waqas20@gmail.com>
parents:
diff changeset
16 {{{
f75b675c8de3 mod_discoitems: Initial commit.
Waqas Hussain <waqas20@gmail.com>
parents:
diff changeset
17 disco_items = {
f75b675c8de3 mod_discoitems: Initial commit.
Waqas Hussain <waqas20@gmail.com>
parents:
diff changeset
18 {"proxy.eu.jabber.org", "Jabber.org SOCKS5 service"};
f75b675c8de3 mod_discoitems: Initial commit.
Waqas Hussain <waqas20@gmail.com>
parents:
diff changeset
19 {"conference.jabber.org", "The Jabber.org MUC"};
f75b675c8de3 mod_discoitems: Initial commit.
Waqas Hussain <waqas20@gmail.com>
parents:
diff changeset
20 }
f75b675c8de3 mod_discoitems: Initial commit.
Waqas Hussain <waqas20@gmail.com>
parents:
diff changeset
21 }}}
f75b675c8de3 mod_discoitems: Initial commit.
Waqas Hussain <waqas20@gmail.com>
parents:
diff changeset
22
f75b675c8de3 mod_discoitems: Initial commit.
Waqas Hussain <waqas20@gmail.com>
parents:
diff changeset
23 The format for individual items is `{JID, display-name}`. The display-name can be omitted: `{JID}`.
f75b675c8de3 mod_discoitems: Initial commit.
Waqas Hussain <waqas20@gmail.com>
parents:
diff changeset
24
f75b675c8de3 mod_discoitems: Initial commit.
Waqas Hussain <waqas20@gmail.com>
parents:
diff changeset
25 = Compatibility =
f75b675c8de3 mod_discoitems: Initial commit.
Waqas Hussain <waqas20@gmail.com>
parents:
diff changeset
26 ||0.6||Works||
f75b675c8de3 mod_discoitems: Initial commit.
Waqas Hussain <waqas20@gmail.com>
parents:
diff changeset
27 ||0.5||Should work||
f75b675c8de3 mod_discoitems: Initial commit.
Waqas Hussain <waqas20@gmail.com>
parents:
diff changeset
28
f75b675c8de3 mod_discoitems: Initial commit.
Waqas Hussain <waqas20@gmail.com>
parents:
diff changeset
29 = Caveats/Todos/Bugs =
f75b675c8de3 mod_discoitems: Initial commit.
Waqas Hussain <waqas20@gmail.com>
parents:
diff changeset
30
f75b675c8de3 mod_discoitems: Initial commit.
Waqas Hussain <waqas20@gmail.com>
parents:
diff changeset
31 * Consider for merging into mod_disco in Prosody trunk