From: Badlop Date: Wed, 19 Aug 2009 16:34:13 +0000 (+0000) Subject: Explain how client can specify Pubsub plugin when creating node (thanks to Christophe... X-Git-Tag: v2.1.0~18^2~107 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ea06dc92bc4b798acd2f10e2030b8f1702482c32;p=ejabberd Explain how client can specify Pubsub plugin when creating node (thanks to Christophe Romain) SVN Revision: 2504 --- diff --git a/doc/guide.html b/doc/guide.html index 2ade11ecc..c71fb4e9d 100644 --- a/doc/guide.html +++ b/doc/guide.html @@ -2757,7 +2757,10 @@ is replaced at start time with the real virtual host name. This option restricts which users are allowed to create pubsub nodes using ACL and ACCESS. The default value is pubsub_createnode.
{plugins, [ Plugin, ...]}
To specify which pubsub node plugins to use. -If not defined, the default pubsub plugin is always used: "flat". +The first one in the list is used by default. +If this option is not defined, the default plugins list is: ["flat"]. +PubSub clients can define which plugin to use when creating a node: +add type=’plugin-name’ attribute to the create stanza element.
{nodetree, Nodetree}
To specify which nodetree to use. If not defined, the default pubsub nodetree is used: "tree". diff --git a/doc/guide.tex b/doc/guide.tex index 32081dad9..036ec36ef 100644 --- a/doc/guide.tex +++ b/doc/guide.tex @@ -3532,7 +3532,10 @@ Options: ACL and ACCESS. The default value is \term{pubsub\_createnode}. % Not clear enough + do not use abbreviations. \titem{\{plugins, [ Plugin, ...]\}} \ind{options!plugins} To specify which pubsub node plugins to use. - If not defined, the default pubsub plugin is always used: "flat". + The first one in the list is used by default. + If this option is not defined, the default plugins list is: \term{["flat"]}. + PubSub clients can define which plugin to use when creating a node: + add \term{type='plugin-name'} attribute to the \term{create} stanza element. \titem{\{nodetree, Nodetree\}} \ind{options!nodetree} To specify which nodetree to use. If not defined, the default pubsub nodetree is used: "tree".