Software /
code /
prosody-modules
Changeset
2589:89a3f049689f
mod_http_muc_log/README: Add some text about the HTML template
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Wed, 01 Mar 2017 20:29:07 +0100 |
parents | 2588:69d3e0037435 |
children | 2590:63dd3e525f13 |
files | mod_http_muc_log/README.markdown |
diffstat | 1 files changed, 11 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/mod_http_muc_log/README.markdown Tue Feb 28 17:04:30 2017 +0100 +++ b/mod_http_muc_log/README.markdown Wed Mar 01 20:29:07 2017 +0100 @@ -39,6 +39,17 @@ See [the page about Prosodys HTTP server][doc:http] for info about the address. +## Styling + +The default HTML template lives in `http_muc_log.html` in the same +directory as the module, but can be changed by setting +`http_muc_log_template` to point to a different file. The same template, +with different input is used for every view. + +The module uses [util.interpolation][doc:developers:util:interpolation] +for rendering templates, with the pattern `"%b{}"` and HTML / XML +escaping enabled. + Compatibility =============