24
1
mirror of https://github.com/processone/ejabberd.git synced 2024-06-28 22:52:27 +02:00

Explain how client can specify Pubsub plugin when creating node (thanks to Christophe Romain)

SVN Revision: 2504
This commit is contained in:
Badlop 2009-08-19 16:34:13 +00:00
parent df30831421
commit ea06dc92bc
2 changed files with 8 additions and 2 deletions

View 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 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"> 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. 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"> </DD><DT CLASS="dt-description"><B><TT>{nodetree, Nodetree}</TT></B></DT><DD CLASS="dd-description">
To specify which nodetree to use. To specify which nodetree to use.
If not defined, the default pubsub nodetree is used: "tree". If not defined, the default pubsub nodetree is used: "tree".

View File

@ -3532,7 +3532,10 @@ Options:
ACL and ACCESS. The default value is \term{pubsub\_createnode}. % Not clear enough + do not use abbreviations. ACL and ACCESS. The default value is \term{pubsub\_createnode}. % Not clear enough + do not use abbreviations.
\titem{\{plugins, [ Plugin, ...]\}} \ind{options!plugins} \titem{\{plugins, [ Plugin, ...]\}} \ind{options!plugins}
To specify which pubsub node plugins to use. 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} \titem{\{nodetree, Nodetree\}} \ind{options!nodetree}
To specify which nodetree to use. To specify which nodetree to use.
If not defined, the default pubsub nodetree is used: "tree". If not defined, the default pubsub nodetree is used: "tree".