view mod_server_contact_info/README.markdown @ 1806:4493c9566e45

mod_webpresence/README: Code block
author Kim Alvefur <zash@zash.se>
date Mon, 31 Aug 2015 16:37:39 +0200
parents 4d73a1a6ba68
children 8de50be756e5
line wrap: on
line source

---
labels:
- 'Stage-Alpha'
summary: Contact Addresses for XMPP Services
...

Introduction
============

This module implements [XEP-0157: Contact Addresses for XMPP
Services](http://xmpp.org/extensions/xep-0157.html).

Configuration
=============

    contact_info = {
        abuse = { "mailto:abuse@shakespeare.lit", "xmpp:abuse@shakespeare.lit" };
        admin = { "mailto:admin@shakespeare.lit", "xmpp:admin@shakespeare.lit" };
        feedback = { "http://shakespeare.lit/feedback.php", "mailto:feedback@shakespeare.lit", "xmpp:feedback@shakespeare.lit" };
        sales = "xmpp:bard@shakespeare.lit";
        security = "xmpp:security@shakespeare.lit";
        support = { "http://shakespeare.lit/support.php", "xmpp:support@shakespeare.lit" };
    };

The default is based on the `admins` config variable.

Compatibility
=============

  ------- -------
  trunk   Works
  ------- -------