summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorChristophe Romain <christophe.romain@process-one.net>2009-08-18 10:14:49 +0000
committerChristophe Romain <christophe.romain@process-one.net>2009-08-18 10:14:49 +0000
commitfd16591a2a7e6323056d1135de195641c5b59e8b (patch)
tree0e3507b9d5142fcc93f1c497ad1f66a5b0b700fe /doc
parentallow hometree pubsub plugin usage in default config, flat being default plug... (diff)
added mod_pubsub_odbc documentation
SVN Revision: 2498
Diffstat (limited to 'doc')
-rw-r--r--doc/guide.tex23
1 files changed, 19 insertions, 4 deletions
diff --git a/doc/guide.tex b/doc/guide.tex
index b869e860..024f11b7 100644
--- a/doc/guide.tex
+++ b/doc/guide.tex
@@ -85,6 +85,7 @@
\newcommand{\modprivateodbc}{\module{mod\_private\_odbc}}
\newcommand{\modproxy}{\module{mod\_proxy65}}
\newcommand{\modpubsub}{\module{mod\_pubsub}}
+\newcommand{\modpubsubodbc}{\module{mod\_pubsub\_odbc}}
\newcommand{\modregister}{\module{mod\_register}}
\newcommand{\modroster}{\module{mod\_roster}}
\newcommand{\modrosterodbc}{\module{mod\_roster\_odbc}}
@@ -2396,6 +2397,7 @@ The following table lists all modules included in \ejabberd{}.
\hline \ahrefloc{modprivate}{\modprivateodbc{}} & Private XML Storage (\xepref{0049}) & supported DB (*) \\
\hline \ahrefloc{modproxy}{\modproxy{}} & SOCKS5 Bytestreams (\xepref{0065}) & \\
\hline \ahrefloc{modpubsub}{\modpubsub{}} & Pub-Sub (\xepref{0060}), PEP (\xepref{0163}) & \modcaps{} \\
+ \hline \ahrefloc{modpubsub}{\modpubsubodbc{}} & Pub-Sub (\xepref{0060}), PEP (\xepref{0163}) & supported DB (*) and \modcaps{} \\
\hline \ahrefloc{modregister}{\modregister{}} & In-Band Registration (\xepref{0077}) & \\
\hline \ahrefloc{modroster}{\modroster{}} & Roster management (XMPP IM) & \\
\hline \ahrefloc{modroster}{\modrosterodbc{}} & Roster management (XMPP IM) & supported DB (*) \\
@@ -3554,19 +3556,32 @@ Options:
% This option allows to create additional pubsub virtual hosts in a single module instance.
\end{description}
-Example:
+Example of configuration that uses flat nodes as default, and allows use of flat, nodetree and pep nodes:
\begin{verbatim}
{modules,
[
...
{mod_pubsub, [
{access_createnode, pubsub_createnode},
- {plugins, ["default", "pep"]}
- ]}
+ {plugins, ["flat", "hometree", "pep"]}
+ ]},
+ ...
+ ]}.
+\end{verbatim}
+
+Using ODBC database requires use of dedicated plugins. The following example shows previous configuration
+with ODBC usage:
+\begin{verbatim}
+{modules,
+ [
+ ...
+ {mod_pubsub_odbc, [
+ {access_createnode, pubsub_createnode},
+ {plugins, ["flat_odbc", "hometree_odbc", "pep_odbc"]}
+ ]},
...
]}.
\end{verbatim}
-% {served_hosts, ["example.com", "example.org"]}
\makesubsection{modregister}{\modregister{}}
\ind{modules!\modregister{}}\ind{protocols!XEP-0077: In-Band Registration}\ind{public registration}