-------------------------
Config File Documentation
-------------------------
(Please have also a look at the jabber.xml manual page provided by jabberd14.)
-- and for special config
file manipulation. will insert an xml
file in place, where the tag is located.
NOTE: there are a few odities that should be mentioned here.
the xml from the new file is inserted into the parent tag
that has the tag in it. (the include tag
is removed). and the new file's xml data is inserted after
all the other children in the tag.
ALSO NOTE: if the parent tag does not match the root tag of
the inserted file, then the whole new xml file is inserted
into the first file, root tag and all. HOWEVER, if the
inserted file's root tag matches the parent tag of the include,
then only the data INSIDE the root tag is inserted. for example,
consider this file:
test.xml
...
-- test.xml --
...
in this case, since the root tag of test.xml is , and
matches the parent tag that has the tag in it,
the CONTENTS of the root tag are inserted, to create this file:
...
...
however, if you consider these two files:
test.xml
-- test.xml --
12.34.56.78
after test.xml is included, you end up with this xml file:
12.34.56.78
-- tag: The jabberd:cmdline tag can be used
to grab data off of the jabberd command line, and insert it
into the current tag. You can also use this tag to specify
a default value, if the commandline flag isn't given.
For example, consider the following config file:
localhost
if jabberd is run with the following line:
$ jabberd -h foo.com
The text inside of will be replaced with "foo.com",
so the resulting xml will be:
foo.com
However, if jabberd is run with this command:
$ jabberd
The tag will contain "localhost" (the default value from
above). You can specify any number of command line options. The
Only characters that have special meaning are -D, to enable debug
output, and -c, to specify a config file to use. (note that you
could use the tag to insert the name
of the config file into your config file.