Akismet Comment Plugin for PyBlosxom

Current Version: 0.3

Overview

Akismet is a collaborative filtering system for weblog spam. You can read more about it at the Akismet homepage.

This plugin uses the Python API to Akismet developed by Michael Foord to make Askimet easily integrateable with PyBlosxom 1.3.

I have included a copy of Foord's library (akismet.py) in this package. To get the latest version of the library, please the website for the library.

Installation

This packages contains the following programmatic files:

To install akismet:

First, copy the files into the correct place in your PyBlosxom setup:

  1. Copy aksimetcomments.py to your plugins directory.
  2. Copy akismet.py either into your plugins directory or elsewhere in the Python path.
  3. Copy akismet_submit_spam.py into your PyBlosxom scripts directory. It currently assumes that config.py will be found either in ../ or elsewhere in your Python path.

To use the plugin, you will need to get a Wordpress.com API key. Information on retrieving a key is available at the wordpress website.

To use this key, you will need to put the following line into your config.py file:

py['akismet_api_key'] = 'MYKEYID'

Additionally, if you have you set it already, you will need to set:

py['base_url'] = 'mybaseurl'

If a comment is rejected, a message explaining this will saved in a variable. You can place this into your template using the standard $comment_message variable.

More Information

You can find the latest version of this plugin on my PyBlosxom hacks homepage here:

If you have questions, comments, bugs to report, or patches or improvements to send, please contact me at mako@atdot.cc or at any of the method listed on my contact page.

License

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

Look in the COPYING file for the text of the GNU GPL.

Authors

This plugin has been contributed to by:

It is currently maintained by Benjamin Mako Hill.