1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185
|
# =============================================================
# This is the config file for PyBlosxom. You should go through
# the file and fill in values for the various properties. This
# affects the behavior of your blog.
#
# The PyBlosxom documentation has additional information on
# configuration variables.
# =============================================================
# Don't touch this next line.
py = {}
# Codebase configuration
# ======================
# If you did not install PyBlosxom as a library (i.e. python setup.py install)
# then uncomment this next line and point it to your PyBlosxom installation
# directory.
# Note, this should be the directory that holds the "Pyblosxom"
# directory (note the case--uppercase P lowercase b!).
#py["codebase"] = "/path/to/pyblosxom/installation"
# Blog configuration
# ==================
# What is the locale for this blog? This is used when formatting dates
# and other locale-sensitive things. Make sure the locale is valid for
# your system. See the PyBlosxom documentation for details.
#py["locale"] = "en_US.iso-8859-1"
# What is the title of this blog?
py["blog_title"] = "Another pyblosxom blog"
# What is the description of this blog?
py["blog_description"] = "blosxom with a touch of python"
# Who are the author(s) of this blog?
py["blog_author"] = "name"
# What is the email address through which readers of the blog may contact
# the authors?
py["blog_email"] = "email@blah.com"
# What is this blog's primary language (for outgoing RSS feed)?
py["blog_language"] = "en"
# Encoding for output. This defaults to iso-8859-1.
py["blog_encoding"] = "iso-8859-1"
# These are the rights you give to others in regards to the content
# on your blog. Generally, this is the copyright information.
# This is used in the Atom feeds. Leaving this blank or not filling
# it in correctly could result in a feed that doesn't validate.
py["blog_rights"] = "Copyright 2005 Joe Bobb"
# Where is this blog geographically located? This is used by geocoding
# (aka geotagging crawlers) and sites like http://geourl.org/ .
py["blog_icbm"] = '37.448089,-122.159259'
# Where are this blog's entries kept?
py["datadir"] = "/path/to/blog/entries"
# List of strings with directories that should be ignored (e.g. "CVS")
# ex: py['ignore_directories'] = ["CVS", "temp"]
py["ignore_directories"] = []
# Should I stick only to the datadir for items or travel down the directory
# hierarchy looking for items? If so, to what depth?
# 0 = infinite depth (aka grab everything)
# 1 = datadir only
# n = n levels down
py["depth"] = 0
# How many entries should I show on the home page and category pages?
# If you put 0 here, then I will show all pages.
# Note: this doesn't affect date-based archive pages.
py["num_entries"] = 5
# What should the default flavour you want used be?
py["default_flavour"] = "html"
# Logging configuration
# =====================
# Where should PyBlosxom write logged messages to?
# If set to "NONE" log messages are silently ignored.
# Falls back to sys.stderr if the file can't be opened for writing.
#py["log_file"] = "/path/to/pyblosxom.log"
# At what level should we log to log_file?
# One of: "critical", "error", "warning", "info", "debug"
# For production, "warning" or "error' is recommended.
#py["log_level"] = "warning"
# This lets you specify which channels should be logged.
# If specified, only messages from the listed channels are logged.
# Each plugin logs to it's own channel, therefor channelname == pluginname.
# Application level messages are logged to a channel named "root".
# If you use log_filter and ommit the "root" channel here, app level messages
# are not logged! log_filter is mainly interesting to debug a specific plugin.
#py["log_filter"] = ["root", "plugin1", "plugin2"]
# ======================
# Optional Configuration
# ======================
# What should this blog use as its base url?
#py["base_url"] = "http://www.some.host/weblog"
# Default parser/preformatter. Defaults to plain (does nothing)
#py["parser"] = "plain"
# Plugin configuration
# ====================
# Plugin directories:
# You can now specify where you plugins all lives, there are two types
# of plugindirectories, the standard pyblosxom plugins, and the xmlrpc
# plugins. You can list out as many directories you want, but they
# should only contain the related plugins.
# Example: py['plugin_dirs'] = ["/opt", "/usr/bin"]
#py["plugin_dirs"] = ["/path/to/my/plugins"]
# There are two ways for PyBlosxom to load plugins. The first is the
# default way which involves loading all the plugins in the lib/plugins
# directory in alphanumeric order. The second is by specifying a
# "load_plugins" key here. Doing so will cause us to load only the
# plugins you name and we will load them in the order you name them.
# The "load_plugins" key is a list of strings where each string is
# the name of a plugin module (i.e. the filename without the .py at
# the end).
# ex: py["load_plugins"] = ["pycalendar", "pyfortune", "pyarchives"]
#py["load_plugins"] = []
# Caching configuration
# =====================
# Using Caching? Caching speeds up rendering the page that is going to be
# shown. Even if you are not using pyblosxom special features, caching can
# improve rendering speed of certain flavours that can show a large number of
# files at one time. Choose a cache mechanism you'd like, see the
# Pyblosxom/cache/ directory, and read the source on how to enable caching with
# the particular cache driver, you need to set two variables:
#py["cacheDriver"] = "xxxx"
#py["cacheConfig"] = ""
# Static rendering
# ================
# Doing static rendering? Static rendering essentially "compiles" your
# blog into a series of static html pages. For more details, read:
# http://pyblosxom.sourceforge.net/1.3.1/manual/c797.html
#
# What directory do you want your static html pages to go into?
#py["static_dir"] = "/path/to/static/dir"
# What flavours should get generated?
#py["static_flavours"] = ["html"]
# What other paths should we statically render?
# This is for additional urls handled by other plugins like the booklist
# and plugin_info plugins. If there are multiple flavours you want
# to capture, specify each:
# ex: py["static_urls"] = ["/booklist.rss", "/booklist.html"]
#py["static_urls"] = ["/path/to/url1", "/path/to/url2"]
# Whether (1) or not (0) you want to create date indexes using month
# names? (ex. /2004/Apr/01) Defaults to 1 (yes).
#py["static_monthnames"] = 1
# Whether (1) or not (0) you want to create date indexes using month
# numbers? (ex. /2004/04/01) Defaults to 0 (no).
#py["static_monthnumbers"] = 0
|