# HG changeset patch # User Kim Alvefur # Date 1450367446 -3600 # Node ID cc29ec49776d11207abb4f86c2de950afcf49bd1 # Parent cd36e5bf00b3223f9c253426f0ed816fce9f6147 mod_http_muc_log/README: Replace text that seems to have been copied from mod_muc_log_http diff -r cd36e5bf00b3 -r cc29ec49776d mod_http_muc_log/README.markdown --- a/mod_http_muc_log/README.markdown Thu Dec 17 16:48:11 2015 +0100 +++ b/mod_http_muc_log/README.markdown Thu Dec 17 16:50:46 2015 +0100 @@ -8,41 +8,40 @@ ============ This module provides a built-in web interface to view chatroom logs -stored by [mod\_mam\_muc](mod_mam_muc.html). +stored by [mod\_mam\_muc]. Installation ============ -Just copy the folder muc\_log\_http as it is, into the modules folder of -your Prosody installation. +Same as any other module, be sure to include the HTML template +`http_muc_log.html` alongside `mod_http_muc_log.lua`. -Configuration Details -===================== +Configuration +============= -You need to add muc\_log\_http to your global modules\_enabled, and the -configuration options similarly must be put into your global -(server-wide) options section: +For example: - Component "conference.example.com" "muc" - modules_enabled = { - ..... - "mam_muc"; - "http_muc_log"; - ..... - } - storage = { - muc_log = "sql"; -- for example - } +``` lua +Component "conference.example.com" "muc" +modules_enabled = { + "mam_muc"; + "http_muc_log"; +} +storage = { + muc_log = "sql"; -- for example +} +``` The web interface would then be reachable at the address: http://conference.example.com:5280/muc_log/ -See [the page about Prosodys HTTP server](http://prosody.im/doc/http) -for info about the address. +See [the page about Prosodys HTTP server][doc:http] for info about the +address. Compatibility ============= Requires Prosody 0.10 or above and a storage backend with support for -stanza archives. +stanza archives. See [mod\_storage\_muc\_log] for using legacy data from +[mod\_muc\_log].