Akismet Integration

What about an aKismet integration, using Akismet ruby API?
Should help with spam issue IMHO


http://www.blojsom.com/blog/nerdery/2005/12/02/Akismet-API-in-Ruby.html

Frederic

Frédéric de Villamil
“Quand tu veux chasser une belle fille, il vaut mieux commencer par
draguer sa copine moche” – précepte de go.
http://t37.net http://fredericdevillamil.com
[email protected] tel: +33 (0)6 62 19 1337

Hmm, I hadn’t seen the Ruby API before.

Scott

You know, code like this worries me:

def commentCheck(user_ip, user_agent, referrer, permalink,
comment_type, comment_author, comment_author_email,
comment_author_url, comment_content, other)
return callAkismet(‘comment-check’, user_ip, user_agent, referrer,
permalink, comment_type, comment_author, comment_author_email,
comment_author_url, comment_content, other)
end

Scott

On 28 Jun 2006, at 04:08, Scott L. wrote:

You know, code like this worries me:

def commentCheck(user_ip, user_agent, referrer, permalink,
comment_type, comment_author, comment_author_email,
comment_author_url, comment_content, other)
return callAkismet(‘comment-check’, user_ip, user_agent, referrer,
permalink, comment_type, comment_author, comment_author_email,
comment_author_url, comment_content, other)
end

That’s not the best Akismet support that I’ve seen. Mephisto has it
integrated, but to be honest with you I’d only like to see Akismet
hand in hand with comment moderation. We’ve got nothing like that
yet. Akismet improves by the amount of information that is submitted
into it … I haven’t looked into it but I’m not sure I’m entirely
comfortable with a raft of data being sent to the Akismet servers
every time a comment is submitted … doesn’t matter how well it’s
implemented. Ideally this would be a plugin (but we don’t have the
architecture for that) because I don’t see the terrible spam problem
that would need this in core.

Gary

On 28 Jun 2006, at 16:55, Scott L. wrote:

Comment moderation is one of those things that Typo kind of vaugely
supports, but offers no UI for. If comment.published == false,
then comments won’t be displayed. There are unit tests and
everything :-).

That’s not really moderation though - unless it’s checking against
the blacklists. Very vague :slight_smile:

I’ll try to cobble together a better comment admin page soon, and
we’ll see how it goes. The big problem is knowing where to stop–
all things considered, I’d be just as happy ripping the whole admin
interface out, but I’m not going to do it right now.

Oh I hate the admin interface and if I ever got the time I always
thought about a redesign. If somebody was a budding UI designer they
might think about doing that to make a bit of a name for themselves.

G

Comment moderation is one of those things that Typo kind of vaugely
supports, but offers no UI for. If comment.published == false, then
comments won’t be displayed. There are unit tests and everything :-).

I’ll try to cobble together a better comment admin page soon, and we’ll
see
how it goes. The big problem is knowing where to stop–all things
considered, I’d be just as happy ripping the whole admin interface out,
but
I’m not going to do it right now.

Scott

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs