comparison mod_discoitems/README.markdown @ 1803:4d73a1a6ba68

Convert all wiki pages to Markdown
author Kim Alvefur <zash@zash.se>
date Fri, 28 Aug 2015 18:03:58 +0200
parents mod_discoitems/README.wiki@29f3d6b7ad16
children
comparison
equal deleted inserted replaced
1802:0ab737feada6 1803:4d73a1a6ba68
1 ---
2 labels:
3 - 'Stage-Beta'
4 summary: Manually override the list of service discovery items
5 ...
6
7 Introduction
8 ============
9
10 This Prosody plugin lets you manually override the service discovery
11 items for a host.
12
13 Usage
14 =====
15
16 Simply add `"discoitems"` to your modules\_enabled list. Then add the
17 `disco_items` option to hosts for which you wish to override the default
18 response.
19
20 Note: mod\_disco in Prosody 0.8+ supports the `disco_items` option; this
21 plugin changes the behavior from appending items to replacing items
22
23 Configuration
24 =============
25
26 The `disco_items` option can be added to relevant hosts:
27
28 disco_items = {
29 {"proxy.eu.jabber.org", "Jabber.org SOCKS5 service"};
30 {"conference.jabber.org", "The Jabber.org MUC"};
31 }
32
33 The format for individual items is `{JID, display-name}`. The
34 display-name can be omitted: `{JID}`.
35
36 Compatibility
37 =============
38
39 ----- -------------
40 0.8 Works
41 0.7 Works
42 0.6 Works
43 0.5 Should work
44 ----- -------------