Documentation updates.

This commit is contained in:
uriel 2009-03-03 12:32:39 +00:00
parent 2a6f78ec4e
commit 3df8d389bb
3 changed files with 44 additions and 2 deletions

View File

@ -14,3 +14,35 @@ Some features include:
Possible alternative names: Blag, Blah, Bragg.
Posting
-------
New pots can be created in at least two different ways: using the web interface (if you have logged in and your user or groups are in `$conf_blog_editors`) or from the command line using the script at bin/aux/bpst.rc, as you can see from the source of that very simple script, it is trivial to create new posts by simply using mkdir and echo.
Configuration options
---------------------
This are options you can set in your _werc/config
### `conf_enable_blog` *[blog dirs]*
Setup a blog in this dir. By default the blog contents will only include posts stored in this dir, if you pass any arguments the posts in the various dirs will be aggregated in this feed.
Examples:
# This will setup a blog in this dir that includes only posts in this dir.
conf_enable_blog
# This will create a blog that aggregates all the posts in all blog dirs in any users/ sub dir.
conf_enable_blog users/*/blog
### `conf_blog_editors`=(*groups or users that will be allowed to make new blog posts*)
This is optional and by default set to the 'blog-editors' group.
See also:
* To edit blog posts you can use the functionality provided by [the dirdir app](../dirdir/).
* Commenting can be handled by [the bridge app](../bridge/).

View File

@ -3,3 +3,11 @@ Bridge
Bridge is a comments/forum application for werc, which lets people post comments related to any existing document/element.
Configuration options
---------------------
### `conf_enable_comments` [-n] [*users and groups allowed to comment*]
This will enable comments in this directory and all sub-directories. `-n` enables commenting by unregistered users (their posts will be set aside for review and approval by administrators).

View File

@ -1,5 +1,5 @@
Nhttpd config for werc
======================
Nhttpd/Nostromo Web Server Configuration for Werc
==================================================
Contributed by nsz, thanks!
@ -54,3 +54,5 @@ To solve this problem just add a
SERVER_NAME=$HTTP_HOST
line somewhere at the top of `werc.rc`.