zblog Configuration reference
Please note, that these variables do not have default values.
Zblog does check a few of them, but not all. Please make sure you set
them to correct values, if you want zblog to work.
users
(associate array)
username=>email pairs.
passwords
(associate array)
username=>password pairs.
gpg_key
(string)
default gpg-key to use when decrypting emails.
gpg_passphrase
(string)
passphrase that is needed to decrypt mails with ${gpg_key}.
patch
(string)
full path to the unix patch binary.
gpg
(string)
full path to the gpg binary.
date
(string)
full path to the unix date binary.
com_file
(string)
full path to the unix file binary.
mime_unpack
(string)
full path to the munpack binary.
this can be found here:
mime_unpack_options
(string)
options to munpack.
blogurl
(string)
URI where the zblog based site lives.
eg: blogurl='http://www.microsotf.com/blog'
blogname
(string)
Short name for the blog.
blogdesc
(string)
Slightly longer blog description.
blogemail
(string)
Email address of the person in charge of the blog.
rootdir
(string)
Root directory of the blog (the part after the domainname).
Example: rootdir='/blog'
blogroot
(string)
Local path of the blog.
Example: blogroot='/var/www/users/ft/blog'
postsdir
(string)
The directory where you want the posts to be saved.
Example: postsdir='/var/www/users/ft/blog/posts'
template
(string)
Path of the template you want to use. Relative to the
blogs domain. Example: template="${rootdir}/templates/zblog0"
If you want 'http://www.microsotf.com/blog/templates/zblog0'.
logdir
(string)
Local path where zblog should put its logfiles.
mediadir
(string)
Local path where zblog should save the mediafiles it receives.
Note, that this directory must also be a directory that can be seen
from the web.
mediafiles
(array)
List of file extensions, zblog considers a mediafile.
blogstyle
(string)
Pathname to a .css that should be used by zblog.
This must be relative to the blogs domainname.
generatorurl
(string)
This will be used as a replacement in the blog's
atom feed's tag. This may become hardcoded in zblog
one day, I bother to put up a website about it.
listpath
(string)
Local path where the following three lists should be saved.
catlist
(string)
Filenname for Category list.
stickylist
(string)
Filename for Sticky Posts list.
recentlist
(string)
Filename for the Recent Posts list.
tmpdir
(string)
Local directory for temporary files.
zbloglib
(string)
Local name of the directory src/zblog-$version/lib.
This is not needed for normal operation.
recentcount
(integer)
How many files should be considered as "Recent Posts"?
This variable controls the {$recent_posts$} replacement.
index_posts
(integer)
How many posts should be put on the main index page?
arch_posts
(integer)
This controls the ${arch-pager$} replacement.
Example (arch_posts=3):
|< << 12 13 14 [15] 16 17 18 >> >|
arch_pages
(integer)
How many pages should be put on one page in the archive.
atomzone
(string)
Timezone string for the atom feed's tag.
Example: atomzone='+01:00'
atomurl
(string)
Full URL to the blog's atom feed.
Example: atomurl='http://www.mirosotf.com/blog/atom.xml'