Mercurial > hg > werc / sites/werc.cat-v.org/apps/blagh/index.md
1.1--- a/sites/werc.cat-v.org/apps/blagh/index.md Tue Jan 19 00:31:55 2010 +0000
1.2+++ b/sites/werc.cat-v.org/apps/blagh/index.md Tue Jan 19 00:32:33 2010 +0000
1.3@@ -17,7 +17,7 @@
1.7-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.
1.8+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`. This script will, optionally, take a file as an argument using the `-f` switch. It will open that file in your `$EDITOR` or create a new temporary file if the `-f` switch is omitted. When you have finished editing the file, the script will call `ispell` (so you may want to install that as well) to check for spelling errors. Once that has completed a new directory structure will be created in your blog's root directory as a hidden folder named after the current year (as detected by `date`). You can inspect this directory structure for continuity and `mv` it to unhide it when you are satisfied. You are encouraged to read the source of that very simple script, and you shall see that it is trivial to create new posts by simply using `mkdir` and `echo`.
1.10 Configuration options
1.12@@ -40,9 +40,19 @@
1.14 This is optional and by default set to the 'blog-editors' group.
1.18+This option may be added using the patch linked bellow. It defaults to `6` which **should** only include the page heading and the first two paragraphs of each post on the main blogroll(?) page. This is far from complete, but works for me. See it in action at <http://blog.senet.us>
1.20+[blagh-91a4597480a7-conf\_max\_lines\_per\_post.diff](http://senet.us/blagh-91a4597480a7-conf_max_lines_per_post.diff) (1.2K) (20100114)
1.22+**Author**: J Thigpen (cdarwin) <firstname.lastname@example.org>
1.24 See also:
1.26 * To edit blog posts you can use the functionality provided by [the dirdir app](../dirdir/).
1.27 * Commenting can be handled by [the bridge app](../bridge/).