Mercurial > prosody-modules
annotate mod_server_contact_info/README.markdown @ 2957:0f813e22e3fa
Merge commit
author | JC Brand <jc@opkode.com> |
---|---|
date | Tue, 27 Mar 2018 10:51:25 +0200 |
parents | 44e5adbb6ac0 |
children |
rev | line source |
---|---|
1803
4d73a1a6ba68
Convert all wiki pages to Markdown
Kim Alvefur <zash@zash.se>
parents:
1782
diff
changeset
|
1 --- |
4d73a1a6ba68
Convert all wiki pages to Markdown
Kim Alvefur <zash@zash.se>
parents:
1782
diff
changeset
|
2 labels: |
2321
d9c19ee16f2e
mod_server_contact_info/README: Update
Kim Alvefur <zash@zash.se>
parents:
1820
diff
changeset
|
3 - 'Stage-Beta' |
1803
4d73a1a6ba68
Convert all wiki pages to Markdown
Kim Alvefur <zash@zash.se>
parents:
1782
diff
changeset
|
4 summary: Contact Addresses for XMPP Services |
2321
d9c19ee16f2e
mod_server_contact_info/README: Update
Kim Alvefur <zash@zash.se>
parents:
1820
diff
changeset
|
5 --- |
1782 | 6 |
1803
4d73a1a6ba68
Convert all wiki pages to Markdown
Kim Alvefur <zash@zash.se>
parents:
1782
diff
changeset
|
7 Introduction |
4d73a1a6ba68
Convert all wiki pages to Markdown
Kim Alvefur <zash@zash.se>
parents:
1782
diff
changeset
|
8 ============ |
1782 | 9 |
2321
d9c19ee16f2e
mod_server_contact_info/README: Update
Kim Alvefur <zash@zash.se>
parents:
1820
diff
changeset
|
10 This module lets you advertise various contact addresses for your XMPP |
d9c19ee16f2e
mod_server_contact_info/README: Update
Kim Alvefur <zash@zash.se>
parents:
1820
diff
changeset
|
11 service via [XEP-0157]. |
1782 | 12 |
1803
4d73a1a6ba68
Convert all wiki pages to Markdown
Kim Alvefur <zash@zash.se>
parents:
1782
diff
changeset
|
13 Configuration |
4d73a1a6ba68
Convert all wiki pages to Markdown
Kim Alvefur <zash@zash.se>
parents:
1782
diff
changeset
|
14 ============= |
4d73a1a6ba68
Convert all wiki pages to Markdown
Kim Alvefur <zash@zash.se>
parents:
1782
diff
changeset
|
15 |
2321
d9c19ee16f2e
mod_server_contact_info/README: Update
Kim Alvefur <zash@zash.se>
parents:
1820
diff
changeset
|
16 Various types of contact addresses can be set via the single table |
d9c19ee16f2e
mod_server_contact_info/README: Update
Kim Alvefur <zash@zash.se>
parents:
1820
diff
changeset
|
17 option `contact_info`. Each field is either a string or a list of |
d9c19ee16f2e
mod_server_contact_info/README: Update
Kim Alvefur <zash@zash.se>
parents:
1820
diff
changeset
|
18 strings. Each string should be an URI. |
d9c19ee16f2e
mod_server_contact_info/README: Update
Kim Alvefur <zash@zash.se>
parents:
1820
diff
changeset
|
19 |
d9c19ee16f2e
mod_server_contact_info/README: Update
Kim Alvefur <zash@zash.se>
parents:
1820
diff
changeset
|
20 An example showing all possible fields: |
d9c19ee16f2e
mod_server_contact_info/README: Update
Kim Alvefur <zash@zash.se>
parents:
1820
diff
changeset
|
21 |
d9c19ee16f2e
mod_server_contact_info/README: Update
Kim Alvefur <zash@zash.se>
parents:
1820
diff
changeset
|
22 ``` {.lua} |
1820
8de50be756e5
Various README files: Correct indentation levels, fix syntax and other small fixes
Kim Alvefur <zash@zash.se>
parents:
1803
diff
changeset
|
23 contact_info = { |
8de50be756e5
Various README files: Correct indentation levels, fix syntax and other small fixes
Kim Alvefur <zash@zash.se>
parents:
1803
diff
changeset
|
24 abuse = { "mailto:abuse@shakespeare.lit", "xmpp:abuse@shakespeare.lit" }; |
8de50be756e5
Various README files: Correct indentation levels, fix syntax and other small fixes
Kim Alvefur <zash@zash.se>
parents:
1803
diff
changeset
|
25 admin = { "mailto:admin@shakespeare.lit", "xmpp:admin@shakespeare.lit" }; |
8de50be756e5
Various README files: Correct indentation levels, fix syntax and other small fixes
Kim Alvefur <zash@zash.se>
parents:
1803
diff
changeset
|
26 feedback = { "http://shakespeare.lit/feedback.php", "mailto:feedback@shakespeare.lit", "xmpp:feedback@shakespeare.lit" }; |
2797
44e5adbb6ac0
mod_server_contact_info/README: Fix example
Kim Alvefur <zash@zash.se>
parents:
2321
diff
changeset
|
27 sales = { "xmpp:bard@shakespeare.lit" }; |
44e5adbb6ac0
mod_server_contact_info/README: Fix example
Kim Alvefur <zash@zash.se>
parents:
2321
diff
changeset
|
28 security = { "xmpp:security@shakespeare.lit" }; |
1820
8de50be756e5
Various README files: Correct indentation levels, fix syntax and other small fixes
Kim Alvefur <zash@zash.se>
parents:
1803
diff
changeset
|
29 support = { "http://shakespeare.lit/support.php", "xmpp:support@shakespeare.lit" }; |
8de50be756e5
Various README files: Correct indentation levels, fix syntax and other small fixes
Kim Alvefur <zash@zash.se>
parents:
1803
diff
changeset
|
30 }; |
8de50be756e5
Various README files: Correct indentation levels, fix syntax and other small fixes
Kim Alvefur <zash@zash.se>
parents:
1803
diff
changeset
|
31 ``` |
1782 | 32 |
2321
d9c19ee16f2e
mod_server_contact_info/README: Update
Kim Alvefur <zash@zash.se>
parents:
1820
diff
changeset
|
33 If not set, the `admins` option will be used. |
1782 | 34 |
1803
4d73a1a6ba68
Convert all wiki pages to Markdown
Kim Alvefur <zash@zash.se>
parents:
1782
diff
changeset
|
35 Compatibility |
4d73a1a6ba68
Convert all wiki pages to Markdown
Kim Alvefur <zash@zash.se>
parents:
1782
diff
changeset
|
36 ============= |
1782 | 37 |
2321
d9c19ee16f2e
mod_server_contact_info/README: Update
Kim Alvefur <zash@zash.se>
parents:
1820
diff
changeset
|
38 ------ --------------- |
d9c19ee16f2e
mod_server_contact_info/README: Update
Kim Alvefur <zash@zash.se>
parents:
1820
diff
changeset
|
39 0.10 works |
d9c19ee16f2e
mod_server_contact_info/README: Update
Kim Alvefur <zash@zash.se>
parents:
1820
diff
changeset
|
40 0.9 works |
d9c19ee16f2e
mod_server_contact_info/README: Update
Kim Alvefur <zash@zash.se>
parents:
1820
diff
changeset
|
41 0.8 does not work |
d9c19ee16f2e
mod_server_contact_info/README: Update
Kim Alvefur <zash@zash.se>
parents:
1820
diff
changeset
|
42 ------ --------------- |