# vim:ft=zsh ### ### set these variables. don't count on defaults being set. ### the code that checks the config will probably be in 0.2 ### ### ### of usernames, passwords and mailaddresses ### users=( 'username' 'mail@domain.tbl' ) passwords=( 'username' '__password__' ) ### ### configure used tools ### ### gpg_key (string) ### what key do we use to decrypt the input? gpg_key='0x000000' ### gpg_passphrase (string) ### passphrase that fits to gpg_key gpg_passphrase="Blogging is futile." ### tools (string variables, all of them) patch='/usr/bin/patch' gpg="/usr/bin/gpg" date="/bin/date" com_file="/usr/bin/file" mime_unpack="/usr/bin/munpack" ### and finally an options to munpack mime_unpack_options="-t" ### ### setup paths and names ### ### blogurl (string) ### this is the uri, you usually enter in your browser blogurl='http://127.0.0.1' ### blogname (string) blogname='fooblog' ### blogdesc (string) blogdesc='cult of teh flying chicken' ### blogemail (string) ### this guy is responsible for the blog blogemail='nobody@127.0.0.1' ### rootdir (string) ### where is the blog located below your domain. ### Example: rootdir='/blog/' ### if your blog is at http://www.domain.tbl/blog/ rootdir="/slash/" ### blogroot (string) ### local rootdir (where zblog should create its pages) blogroot="/var/www" ### postsdir (string) ### this is where the textual context goes postsdir="/var/www/input/p" ### template (string) ### define the directory of the template you want to use template="/var/www/templ/cotfc" ### logdir (string) ### where the logfiles dwell logdir="/var/log/blogs/zblog/" ### mediadir (string) ### attached media files got to go somewhere, right? mediadir="/var/www/media" ### mediafiles (array of strings) mediafiles=(mpg jpg png gif mpeg tif bz2 gz tar) ### blogstyle (string) ### what CSS to use blogstyle="${blogroot}/style666.css" ### pdfurl (string) pdfurl="${blogroot}/myblog.pdf" ### generatorurl (string) ### um, well, this is used in the std. atom template. ### I actually got no reasonable setting for zblog... generatorurl="http://worship.zblog.tbl" ### catlist (string) catlist="${blogroot}/lists/catlist" ### stickylist (string) stickylist="${blogroot}/lists/stickylist" ### recentlist (string) recentlist="${blogroot}/lists/recentlist" ### tmpdir (string) tmpdir="/var/run/zblog" ### zbloglib (string) zbloglib="/usr/lib/zblog/0.1/" ### ### layout ### ### recentcout (integer) ### how many postings are considered "recent" recentcount=5 ### index_posts (integer) ### how many postings on the frontpage? index_posts=12 ### arch_posts (integer) ### how many postings per archive page? arch_posts=20 ### arch_pages (integer) ### when creating the archive pager, if we got a _lot_ ### of subpages, how do you want on left and right? arch_pages=5 ### ### Atom ### ### atomzone (integer) ### timezone (atom-style) atomzone='+01:00' ### atomurl (string) ### where can it atom xml be found? atomurl="${blogroot}/atom.xml" ### ### hooks ### function post_update_hook() { ### this hook can be used to set up file permissions ### or to transfer the pages to a remote host, or whatever is needed. chmod 0644 ${postsdir}/**/*.html chmod 0644 ${mediadir}/*(.) chmod 0644 ${blogroot}/(index|archives-*).html } function post_atomize_hook() { chmod 0644 ${blogroot}/atom.xml } function post_pdfexport_hook() { chmod 0644 ${blogroot}/ftblog.pdf }