Comparison

mod_storage_xmlarchive/README.markdown @ 1940:453eee191e18

mod_storage_xmlarchive/README: Add example configuration
author Kim Alvefur <zash@zash.se>
date Wed, 28 Oct 2015 16:16:59 +0100
parent 1803:4d73a1a6ba68
child 1969:e63dba236a2a
comparison
equal deleted inserted replaced
1939:54f9e8663139 1940:453eee191e18
10 ============ 10 ============
11 11
12 This module implements stanza archives using files, similar to the 12 This module implements stanza archives using files, similar to the
13 default "internal" storage. 13 default "internal" storage.
14 14
15 Details 15 Configuration
16 ======= 16 =============
17
18 To use this with [mod\_mam] add this to your config:
19
20 ``` lua
21 storage = {
22 archive2 = "xmlarchive"
23 }
24 ```
25
26 To use it with [mod\_mam\_muc] or [mod_http_muc_log]:
27
28 ``` lua
29 storage = {
30 muc_log = "xmlarchive"
31 }
32 ```
17 33
18 Refer to [Prosodys data storage 34 Refer to [Prosodys data storage
19 documentation](https://prosody.im/doc/storage). 35 documentation](https://prosody.im/doc/storage) for more information.
20 36
21 Note that this module does not implement the "keyval" storage method and 37 Note that this module does not implement the "keyval" storage method and
22 can't be used by anything other than archives, eg MAM and MUC logs. 38 can't be used by anything other than archives.
23 39
24 Compatibility 40 Compatibility
25 ============= 41 =============
26 42
27 --------- ------------- 43 ------ ---------------
28 \>=0.10 Should work 44 0.10 Works
29 --------- ------------- 45 0.9 Maybe
46 0.8 Does not work
47 ------ ---------------