Integration Trackback and akismet
"Edgar Luna" <[email protected]>
| Newsgroups | gmane.comp.web.pyblosxom.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi, Since the last week I have been planing to add comment support (and trackback) to my blog but I had lots of spam problems before so I checked what is in the trunk in the contrib module in svn and read this thread http://thread.gmane.org/gmane.comp.web.pyblosxom.devel/2006 So basically I coded what Michael Guntsche suggest at some point. Makng asksmet plugin to use the dictionary that is sent to cb_comment_reject. This way even xmlrpc_pingback (that I can't test right now) must works without changes[1]. Is a small patch in http://linuxuanl.org/eald/code/trackback_spam.diff [1] I Could recommend changing 'author':'Pingback from %s' % source_page.title, to 'author': %source_page.title and send that to akismet, then reformat before calling writeComment. At least with the test string that I found everywhere adding another text (in this case Pingback from) didn't work well. Hope that helps somebody, if any question in addition to the list I'm in your irc channel as eald. Regards, -- Edgar A. Luna ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/