]> granicus.if.org Git - ejabberd/commitdiff
Explain how client can specify Pubsub plugin when creating node (thanks to Christophe...
authorBadlop <badlop@process-one.net>
Wed, 19 Aug 2009 16:34:13 +0000 (16:34 +0000)
committerBadlop <badlop@process-one.net>
Wed, 19 Aug 2009 16:34:13 +0000 (16:34 +0000)
SVN Revision: 2504

doc/guide.html
doc/guide.tex

index 2ade11ecc848ccec066479356154ea2c0f53657b..c71fb4e9dbec40bca7388d42b93cad6db0576bf7 100644 (file)
@@ -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 <TT>pubsub_createnode</TT>. </DD><DT CLASS="dt-description"><B><TT>{plugins, [ Plugin, ...]}</TT></B></DT><DD CLASS="dd-description"> 
 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: <TT>["flat"]</TT>.
+PubSub clients can define which plugin to use when creating a node:
+add <TT>type=&#X2019;plugin-name&#X2019;</TT> attribute to the <TT>create</TT> stanza element.
 </DD><DT CLASS="dt-description"><B><TT>{nodetree, Nodetree}</TT></B></DT><DD CLASS="dd-description"> 
 To specify which nodetree to use.
 If not defined, the default pubsub nodetree is used: "tree".
index 32081dad94a0cb029971083d15f24a5e3e670e2d..036ec36efeb7de74068609c13751decbc611a8a3 100644 (file)
@@ -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".