|
Program Name: Ruby on Rails Akismet Plugin
Published By: files.rubyforge.vm.bytemark.co.uk License Type: Freeware
Date Released: April 21, 2012
|
Ruby on Rails Akismet Plugin v1 2 
Ruby on Rails Akismet Plugin Desciption:
Advertisements
This script allows you to submit arbitrary content to the Akismet spam service.
This plugin is refactored and the methods accept a minimal number of parameters.
Usage:
1) Aquire API key from Wordpress: homepage You don't need to sign up for a new blog, just get a username and they'll email you an API key.
2) Edit vendor/plugins/akismet/lib/akismet.yml Add your freshly acquired API key and the front page/home URL of your site.
3) In your controller: include Akismet
4) Your controller will now have access to 3 Akismet methods: is_spam?() Submits content to Akismet. Returns true if comment_content is spam; returns false if it is not spam. submit_spam() Submits comments that weren't marked as spam, but should have been. submit_ham() Submits comments that were marked as spam, but should not have been.
5) Minimum usage: is_spam?(:comment_content => content) submit_spam(:comment_content => content) submit_ham(:comment_content => content) Other parameters you can pass: :permalink => Permanent location of the entry the comment was submitted to :comment_type => May be blank, comment, trackback, pingback, or a made up value like "registration" :comment_author => Name submitted with the comment :comment_author_email => Email address submitted with the comment :comment_author_url => URL submitted with the comment :user_ip => IP address of the comment submitter, defaults to request.remote_ip :user_agent => User agent information, defaults to request.env['HTTP_USER_AGENT'] :blog => home URL of instance making this request, defaults to value set in akismet.yml :referrer (note spelling) => HTTP_REFERER header, defaults to request.env['HTTP_REFERER'] :other => Hash of other server environment variables you may want to pass for Akismet's reference
License: Freeware | Downloads (11)
Platform:
All
Language: Ruby
Term:
Akismet Plugin
- Ruby Rails - Rails Akismet - Ruby - Rails - Akismet - .mod Plugin
Ruby on Rails Akismet Plugin Copyright notice:
Pirated Software Hurts Software Developers. Using Ruby on Rails Akismet Plugin Free Download crack, warez, password, serial numbers, torrent, keygen, registration codes, key generators is illegal. We do not host any torrent files or links of Ruby on Rails Akismet Plugin from depositfiles.com, rapidshare.com, any file sharing sites.
|