25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-30 16:36:29 +01:00

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.
This commit is contained in:
Holger Weiss 2015-06-19 23:13:36 +02:00
parent 4dc23a5d81
commit 73a0fb418c

View File

@ -31,13 +31,17 @@
-include("jlib.hrl"). -include("jlib.hrl").
%%% @doc The module <strong>{@module}</strong> is the pep microblog PubSub plugin. %%% @doc The module <strong>{@module}</strong> is the pep microblog PubSub plugin.
%%% <p> To be used, mod_pubsub must be configured : %%% <p>To be used, mod_pubsub must be configured:<pre>
%%% {mod_pubsub, [ % requires mod_caps %%% mod_pubsub:
%%% {access_createnode, pubsub_createnode}, %%% access_createnode: pubsub_createnode
%%% {plugins, ["default", "pep","mb"]}, %%% ignore_pep_from_offline: false
%%% {pep_mapping, [{"urn:xmpp:microblog", "mb"}]} %%% plugins:
%%% ]}, %%% - "flat"
%%% </p> %%% - "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> %%% <p>PubSub plugin nodes are using the {@link gen_pubsub_node} behaviour.</p>
-export([init/3, terminate/2, options/0, features/0, -export([init/3, terminate/2, options/0, features/0,