Browse the Ruby on Rails Community.

You are here: Browse Railsplugins Mephisto Obfuscate

Mephisto Obfuscate

MephistoObfuscate lets you obfuscate e-mail addresses (or any text you’d like) in order to prevent spam while keeping them readable by human beings.

It provides both a Liquid filter to use on templates and a macro filter to use within blog posts.

See http://scox.info/2007/4/23/mephisto-obfuscation-plugin for more informations.

Installation

Install the plugin:

script/plugin install http://svn.sig11.org/mephisto_obfuscate

After this, add the javascript include statements into your layout:

{{ 'obfuscate' | javascript }}

Usage

To obfuscate text on templates use the Liquid filter: {{ “email@address.com” | obfuscate }}

And for the blog posts, use the macro filter: <filter:obfuscate>email@address.com</filter:obfuscate>

License

(C) 2007 Andrea Luzzardi. http://scox.info Released under the terms of the MIT licence. http://www.opensource.org/licenses/mit-license.php

NOTE: This description has been extracted from the Plugin README and so the formatting may need updating to make browser friendly

Users


See all details


Membership

+ Join this railsplugin

Record Maintainer

'None'