Re: Getting comments working
Ryan Barrett <pyblosxom-6sb6M7qyT/[email protected]>
| Newsgroups | gmane.comp.web.pyblosxom.user |
|---|---|
| Message-ID | <[email protected]> |
> On 3/28/07, Steve Clark <[email protected]> wrote: >> >> it talks about the comment_reject callback. I have the Akismet plug-in >> installed, but I'm not sure if I need to do anything else for it to be >> called. I've looked at the documentation, but still feel I'm missing >> something. the akismet plugin needs a wordpress key and a couple settings in config.py. from the akismetcomments.py file comment: To use this plugin, you must also install akismet.py in your python path (in the PyBlosxom plugin directory is fine): http://www.voidspace.org.uk/python/modules.shtml#akismet Additionally, you will need to get a Wordpress.com API key: http://faq.wordpress.com/2005/10/19/api-key/ Then, use this key to put put the following line into your config.py file: py['akismet_api_key'] = 'MYKEYID' Additionally, if you haven't set it already, you will need to set: py['base_url'] = 'mybaseurl' there are more detailed instructions in the manual, but the version on pyblosxom.sf.net hasn't been updated to include them. will, that's probably a (low-priority) todo item for us! > I don't know offhand if the akismet plugin verifies that it is installed and > configured correctly. If it does, then run this at the command line: yup! it does verify that it's installed ok. if it's not, it will print an error to stderr. speaking of which, steve, you're probably already doing this...but just in case, you might want to set the 'log_level' config.py setting to 'DEBUG' and monitor your log file, as well as your web server's error log, e.g. /var/log/httpd/error.log or /var/log/apache2/error.log. -Ryan -- http://snarfed.org/ ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV