Re: How to get comments.py work?
Joseph Reagle <[email protected]>
| Newsgroups | gmane.comp.web.pyblosxom.user |
|---|---|
| Organization | MIT |
| Message-ID | <[email protected]> |
On Wednesday 13 August 2003 16:39, Ted Leung wrote: > Did you just rename trackback.cgi to tb.cgi? Yes, that's what all the flavours used; I've now changed it back to trackback.cgi . > This code is leftovers from before we had our own trackback code. It > should probably be removed. The problem > with having trackbacks enabled is that you have to know how people are > setting up their rewrite rules or whatever way they are mapping the > URI's. I guess that we could just determine a mapping for people. Yes please. Feels like I've bumped into things a few times that those close to the code understand, but isn't quite as intuitive for newbies like me. Making sure it worked out of the box would force some integration/simplification. It's still not working for me, and I still don't grok whether I need trackback.cgi sitting somewhere just to use comments. I've attached my config.ini and opened up my "flavors" if someone could tell me what I've done wrong. http://reagle.org/joseph/weblog/
config.py
(text/x-python, 3.8 KB)
py = {}
xmlrpc = {}
###############
# Start Below #
###############
# What's this blog's title?
py['blog_title'] = "Joseph Reagle"
# What's this blog's description (for outgoing RSS feed)?
py['blog_description'] = "Open Communities, Media, Source, and Standards"
# What's this blog's primary language (for outgoing RSS feed)?
py['blog_language'] = "en"
# Encoding for output. Default is iso-8859-1.
py['blog_encoding'] = "iso-8859-1"
# Where are this blog's entries kept?
py['datadir'] = "/home/reagle/data/2web/reagle.org/joseph/weblog"
# What should this blog use as its base url?
py['base_url'] = "http://reagle.org/joseph/blog"
# 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?
py['num_entries'] = 10
###########################
# Optional Configurations #
###########################
# Default parser/preformatter. Defaults to plain (does nothing)
#py['parser'] = 'plain'
py['parser'] = 'textile'
# 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'] = ''
# 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['load_plugins'] = ['/opt', '/usr/bin']
#py['plugin_dirs'] = ['/path/to/my/plugins']
py['plugin_dirs'] = ['/home/reagle/data/2web/reagle.org/joseph/pyblosxom/contrib/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'] = []
py['load_plugins'] = ["conditionalhttp","pyarchives","pycategories",
"txtl", "breadcrumbs","comments"]
###################################
# XMLRPC Configuration parameters #
###################################
# XML-RPC data, if you use XMLRPC, then the information below needs to
# be set up
# Username and password to access this server, you can define one or more
#xmlrpc['usernames'] = {'someuser': 'somepassword'}
# See the infomation above for setting up the plugins for xmlrpc
#py['xmlrpc_plugin_dirs'] = ['/path/to/my/xmlrpc/plugins']
#py['load_xmlrpc_plugins'] = []
# maxrequest_length - How much data do you expect to send via XMLRPC?
# Default is 10KB, which should actually be enough for quite a large
# posting. This is added to avoid attacks
#xmlrpc['maxrequest_length'] = 10000
###########################
# Nothing to modify below #
###########################
__author__ = 'Wari Wahab <wari at wari dot per dot sg>'
__version__ = "0.8rc1"
__date__ = "$Date: 2003/07/23 15:19:11 $"
__revision__ = "$Revision: 1.3 $"
__copyright__ = "Copyright (c) 2003 Wari Wahab"
__license__ = "MIT License"
py['pyblosxom_version'] = __version__
py['pyblosxom_name'] = 'pyblosxom'