mod_storage_xmlarchive/README.markdown
author Kim Alvefur <zash@zash.se>
Tue, 19 Jan 2016 19:45:43 +0100
changeset 2030 8397008b4a26
parent 1973 e63dba236a2a
child 2031 d4227837cf06
permissions -rw-r--r--
mod_storage_xmlarchive/README: Point out the commit that breaks 0.9 support

---
labels:
- 'Stage-Beta'
- 'Type-Storage'
- ArchiveStorage
summary: XML 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    [Works before this commit](https://hg.prosody.im/prosody-modules/rev/e63dba236a2a)
  0.8    Does not work
  ------ ------------------------------------------------------------------------------------