# HG changeset patch # User Kim Alvefur # Date 1475335231 -7200 # Node ID d9c19ee16f2ec83b09a5f47eb2a20c4b501015fe # Parent d6a3362ca2565ee3596f9d22d8ea451e48918971 mod_server_contact_info/README: Update diff -r d6a3362ca256 -r d9c19ee16f2e mod_server_contact_info/README.markdown --- a/mod_server_contact_info/README.markdown Sat Oct 01 17:16:39 2016 +0200 +++ b/mod_server_contact_info/README.markdown Sat Oct 01 17:20:31 2016 +0200 @@ -1,19 +1,25 @@ --- labels: -- 'Stage-Alpha' +- 'Stage-Beta' summary: Contact Addresses for XMPP Services -... +--- Introduction ============ -This module implements [XEP-0157: Contact Addresses for XMPP -Services](http://xmpp.org/extensions/xep-0157.html). +This module lets you advertise various contact addresses for your XMPP +service via [XEP-0157]. Configuration ============= -``` lua +Various types of contact addresses can be set via the single table +option `contact_info`. Each field is either a string or a list of +strings. Each string should be an URI. + +An example showing all possible fields: + +``` {.lua} contact_info = { abuse = { "mailto:abuse@shakespeare.lit", "xmpp:abuse@shakespeare.lit" }; admin = { "mailto:admin@shakespeare.lit", "xmpp:admin@shakespeare.lit" }; @@ -24,11 +30,13 @@ }; ``` -The default is based on the `admins` config variable. +If not set, the `admins` option will be used. Compatibility ============= - ------- ------- - trunk Works - ------- ------- + ------ --------------- + 0.10 works + 0.9 works + 0.8 does not work + ------ ---------------