mod_storage_xmlarchive/README.markdown
author Kim Alvefur <zash@zash.se>
Tue, 10 Oct 2017 00:50:40 +0200
changeset 2794 5163f7905371
parent 2363 33e85070dc60
child 2819 d48d4d9ccae7
permissions -rw-r--r--
mod_profile: Update get_pep_service() signature to match recent changes to mod_pep_plus (in trunk)

---
labels:
- 'Stage-Beta'
- 'Type-Storage'
- ArchiveStorage
summary: XML file based archive storage
...

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

This module implements stanza archives using files, similar to the
default "internal" storage.

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

To use this with [mod\_mam] add this to your config:

``` lua
storage = {
    archive2 = "xmlarchive"
}
```

To use it with [mod\_mam\_muc] or [mod\_http\_muc\_log]:

``` lua
storage = {
    muc_log = "xmlarchive"
}
```

Refer to [Prosodys data storage documentation][doc:storage] for more
information.

Note that this module does not implement the "keyval" storage method and
can't be used by anything other than archives.

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

  ------ ---------------
  0.10   Works
  0.9    Should work
  0.8    Does not work
  ------ ---------------