diff options
author | Holger Weiss <holger@zedat.fu-berlin.de> | 2015-06-20 00:13:36 +0300 |
---|---|---|
committer | Holger Weiss <holger@zedat.fu-berlin.de> | 2015-06-20 00:13:36 +0300 |
commit | 73a0fb418cd7f2d7850e4e0d795dab4303dade17 (patch) | |
tree | 0766354c33958b653c9af1c6c2d27c027465aaa9 /src/node_mb.erl | |
parent | 4dc23a5d810cd8ef1cb9897778d8b4660caf290a (diff) |
Update comment that explains how to set up node_mb
Specify settings that make sense with current ejabberd versions, and use
the YAML configuration format. Also, specify the "urn:xmpp:microblog:0"
namespace, as that's the microblogging node name currently defined by
XEP-0277.
Diffstat (limited to 'src/node_mb.erl')
-rw-r--r-- | src/node_mb.erl | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/src/node_mb.erl b/src/node_mb.erl index e48fd7967..9dc4bf81f 100644 --- a/src/node_mb.erl +++ b/src/node_mb.erl @@ -31,13 +31,17 @@ -include("jlib.hrl"). %%% @doc The module <strong>{@module}</strong> is the pep microblog PubSub plugin. -%%% <p> To be used, mod_pubsub must be configured : -%%% {mod_pubsub, [ % requires mod_caps -%%% {access_createnode, pubsub_createnode}, -%%% {plugins, ["default", "pep","mb"]}, -%%% {pep_mapping, [{"urn:xmpp:microblog", "mb"}]} -%%% ]}, -%%% </p> +%%% <p>To be used, mod_pubsub must be configured:<pre> +%%% mod_pubsub: +%%% access_createnode: pubsub_createnode +%%% ignore_pep_from_offline: false +%%% plugins: +%%% - "flat" +%%% - "hometree" +%%% - "pep" # Requires mod_caps. +%%% pep_mapping: +%%% "urn:xmpp:microblog:0": "mb" +%%% </pre></p> %%% <p>PubSub plugin nodes are using the {@link gen_pubsub_node} behaviour.</p> -export([init/3, terminate/2, options/0, features/0, |