annotate mod_server_contact_info/README.markdown @ 2762:f2096c03428b

mod_mam: Fix traceback due to borked transplant from 0.10
author Kim Alvefur <zash@zash.se>
date Sun, 03 Sep 2017 13:28:28 +0200
parents d9c19ee16f2e
children 44e5adbb6ac0
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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
29f3d6b7ad16 Import wiki pages
Kim Alvefur <zash@zash.se>
parents:
diff changeset
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
29f3d6b7ad16 Import wiki pages
Kim Alvefur <zash@zash.se>
parents:
diff changeset
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
29f3d6b7ad16 Import wiki pages
Kim Alvefur <zash@zash.se>
parents:
diff changeset
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" };
8de50be756e5 Various README files: Correct indentation levels, fix syntax and other small fixes
Kim Alvefur <zash@zash.se>
parents: 1803
diff changeset
27 sales = "xmpp:bard@shakespeare.lit";
8de50be756e5 Various README files: Correct indentation levels, fix syntax and other small fixes
Kim Alvefur <zash@zash.se>
parents: 1803
diff changeset
28 security = "xmpp:security@shakespeare.lit";
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
29f3d6b7ad16 Import wiki pages
Kim Alvefur <zash@zash.se>
parents:
diff changeset
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
29f3d6b7ad16 Import wiki pages
Kim Alvefur <zash@zash.se>
parents:
diff changeset
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
29f3d6b7ad16 Import wiki pages
Kim Alvefur <zash@zash.se>
parents:
diff changeset
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 ------ ---------------