problems with trackback
Joseph Reagle <[email protected]>
| Newsgroups | gmane.comp.web.pyblosxom.user |
|---|---|
| Organization | MIT |
| Message-ID | <[email protected]> |
A year ago, when I installed 1.0 I stubbed my toe and couldn't get
trackbacks working [1].
[1] http://sourceforge.net/mailarchive/message.php?msg_id=8582673
Out of frustration with pyblosxom and spam, I just turned all the
comments/tb off. At the end of last year, I upgraded to 1.1 Today, I
thought I'd see if I could get comments/tb working given the approval
feature. Unfortunately, I have the *same* exact problem.
comments.py is stock, the one on my install and in the tar file just
downloaded into $HOME/tmp are the same:
urd:/home/reagle/data/2web/reagle.org/joseph>
diff /home/reagle/data/2web/pyblosxom-1.1/contrib/plugins/comments.py /home/reagle/tmp/contrib.1.1.1/contrib/plugins/comments/plugins/comments.py
as is trackback:
urd:/home/reagle/data/2web/reagle.org/joseph>
diff /home/reagle/data/2web/pyblosxom-1.1/contrib/plugins/trackback.py /home/reagle/tmp/contrib.1.1.1/contrib/plugins/comments/plugins/trackback.py
I have trackback loaded in config.py
[[[
py['plugin_dirs'] = ['/home/reagle/data/2web/pyblosxom-1.1/contrib/plugins',
'/home/reagle/data/2web/pyblosxom-1.1/contrib/entryparsers',]
py['load_plugins'] = ['comments', 'conditionalhttp', 'pyarchives',
'pycategories',
'breadcrumbs', 'trackback',
'txtl', 'htmlentryparser']
]]]
Trackback and plugin seems ok:
[[[
urd:/home/reagle/data/2web/reagle.org/joseph/pyblosxom.cgi
...
=== plugin: 'comments'
file: /home/reagle/data/2web/pyblosxom-1.1/contrib/plugins/comments.pyc
plugin has no version.
missing optional property: 'comment_ext'
PASS
...
=== plugin: 'trackback'
file: /home/reagle/data/2web/pyblosxom-1.1/contrib/plugins/trackback.pyc
plugin has no version.
PASS
]]]
When I try to autoping it I get nothing back
[[[
urd:/home/reagle/data/2web/reagle.org/joseph/content/technology/python>
autoping.py pyblosxom-1.0-upgrade.html
*** Trackback
http://reagle.org/joseph/blog/trackback/technology/python/setting-up-pyblosxom
url=http%3A%2F%2Freagle.org%2Fjoseph%2Fblog%2Ftechnology%2Fpython%2Fpyblosxom-1.0-upgrade.html&blog_name=Joseph+Reagle&excerpt=++++++++No+title+++++++Upgrading+to+Pyblosxom+1.0++Upgrading+my+pyblosxom+install+can+be+a+bit+tricky%3A++++%60kdiff3+pyblosxom.cgi+%7E%2Fdata%2F2web%2Freagle%2Fjoseph%2Fpyblosxom.cgi%60+++%60kdiff3+config.py+%7E%2Fdata%2F2web%2Fpyblosxom%2Fweb%2Fconfig.py%60+++copy+files+from+the+new+&title=Upgrading+to+Pyblosxom+1.0
]]]
and nothing is shows up in the log. If I simply de-reference the trackback,
I will get error msg 1 which shoes up in the lock, but any tb interface
(e.g., [2] I get nothing).
[2] http://www.aylwardfamily.com/content/tbping.asp
Any new ideas with the passing of time?
config.py
(application/x-python, 4.9 KB)
py = {}
###############
# Start Below #
###############
# If your PyBlosxom installation is in a funky place, uncomment
# this next line and point it to your PyBlosxom installation
# directory.
py["codebase"] = "/home/reagle/data/2web/pyblosxom-1.1"
# 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 author name and email?
py['blog_author'] = "Joseph Reagle [email protected]"
# 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/content"
# Where should PyBlosxom log files be kept?
py['logdir'] = "/home/reagle/logs/pyblosxom"
# 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?
py['num_entries'] = 20
py['comment_dir'] = "/home/reagle/data/2web/reagle.org/joseph/comments"
py['comment_draft_ext'] = 'wat'
py['flavourdir'] = "/home/reagle/data/2web/reagle.org/joseph/flavours"
# py['nospam_font'] = '/home/reagle/data/2web/pyblosxom-1.1/contrib/fonts'
py['trackback_urltrigger'] = "/trackback"
###########################
# Optional Configurations #
###########################
# What should this blog use as its base url?
# py['base_url'] = "http://www.some.host/weblog"
py['base_url'] = "http://reagle.org/joseph/blog"
# Default parser/preformatter. Defaults to plain (does nothing)
#py['parser'] = 'plain'
# 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['plugin_dirs'] = ['/opt', '/usr/bin']
#py['plugin_dirs'] = ['/path/to/my/plugins']
# py['plugin_dirs'] = ['/home/reagle/data/2web/pyblosxom/contrib/plugins',
# '/home/reagle/data/2web/pyblosxom/contrib/entryparsers',
# '/home/reagle/data/2web/pyblosxom/contrib/plugins/comments/plugins']
py['plugin_dirs'] = ['/home/reagle/data/2web/pyblosxom-1.1/contrib/plugins',
'/home/reagle/data/2web/pyblosxom-1.1/contrib/entryparsers',]
# 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'] = ['comments', 'conditionalhttp', 'pyarchives', 'pycategories',
'breadcrumbs', 'trackback',
'txtl', 'htmlentryparser']
# Doing static rendering? Static rendering essentially "compiles" your
# blog into a series of static html pages. For more details, read:
# http://wiki.subtlehints.net/moin/PyBlosxom_2fStaticRendering
#
# 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