diff options
author | Badlop <badlop@process-one.net> | 2009-08-19 16:34:13 +0000 |
---|---|---|
committer | Badlop <badlop@process-one.net> | 2009-08-19 16:34:13 +0000 |
commit | ea06dc92bc4b798acd2f10e2030b8f1702482c32 (patch) | |
tree | 58f98c6eccee267ef220fd35e9a24ce47393fe2a /doc | |
parent | Update Pubsub's nodetree documentation (thanks to Christophe Romain) (diff) |
Explain how client can specify Pubsub plugin when creating node (thanks to Christophe Romain)
SVN Revision: 2504
Diffstat (limited to 'doc')
-rw-r--r-- | doc/guide.html | 5 | ||||
-rw-r--r-- | doc/guide.tex | 5 |
2 files changed, 8 insertions, 2 deletions
diff --git a/doc/guide.html b/doc/guide.html index 2ade11ec..c71fb4e9 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 <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=’plugin-name’</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". diff --git a/doc/guide.tex b/doc/guide.tex index 32081dad..036ec36e 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". |