You are here: TWiki> Plugins Web>EmailObfuscationPlugin (2006-08-21, MichaelDaum)
Tags:
email1Add my vote for this tag spam1Add my vote for this tag create new tag
, view all tags

EmailObfuscationPlugin

This plugin replaces characters in email address with their appropriate HTML entity references. This is intended to help prevent email harvesters from recognising addresses.

Syntax Rules

  • N/A

Examples

Plugin Settings

Plugin settings are stored as preferences variables. To reference a plugin setting write %<plugin>_<setting>%, i.e. %NEWPLUGIN_SHORTDESCRIPTION%

  • Set SHORTDESCRIPTION = Obstuficates e-mail addresses by characters to their HTML character entity references.

  • Debug plugin: (See output in data/debug.txt)
    • Set DEBUG = 0

  • Range of characters to encode (NOTE: Setting a bad range here can result in your TWiki not displaying content, please ensure that a correct range is used and that the Plugin topic is locked to TWikiAdminGroup):
    • Set ESCAPELIST = \000-\056\072-\100\133-\140\173-\177

Plugin Installation Instructions

Note: You do not need to install anything on the browser to use this plugin. The following instructions are for the administrator who installs the plugin on the TWiki server.

  • Ensure you have the HTML::Entities module installed from CPAN.
  • Download the ZIP file from the Plugin web (see below)
  • Unzip EmailObfuscationPlugin.zip in your twiki installation directory. Content:
File: Description:
data/TWiki/EmailObfuscationPlugin.txt Plugin topic
data/TWiki/EmailObfuscationPlugin.txt,v Plugin topic repository
lib/TWiki/Plugins/EmailObfuscationPlugin.pm Plugin Perl module
  • Configure the Plugin:
    • TWiki 4.0 and up: Run the configure script to enable the Plugin
    • Change the Plugin settings as needed

Plugin Info

Plugin Author: TWiki:Main.StephenGordon
Copyright: © 2006, TWiki:Main.StephenGordon
License: GPL (GNU General Public License)
Plugin Version: 2009-07-05 (V1.000)
Change History:  
2009-07-05: Initial version
TWiki Dependency: $TWiki::Plugins::VERSION 1.1
CPAN Dependencies: HTML::Entities
Other Dependencies: none
Perl Version: 5.005
Benchmarks: GoodStyle 98%, FormattedSearch 99%, EmailObfuscationPlugin 98%
Plugin Home: http://TWiki.org/cgi-bin/view/Plugins/EmailObfuscationPlugin
Feedback: http://TWiki.org/cgi-bin/view/Plugins/EmailObfuscationPluginDev
Appraisal: http://TWiki.org/cgi-bin/view/Plugins/EmailObfuscationPluginAppraisal

Related Topics: TWikiPlugins, DeveloperDocumentationCategory, AdminDocumentationCategory, TWikiPreferences

-- TWiki:Main.StephenGordon - 17 May 2006

Topic attachments
I Attachment Action Size Date Who Comment
zipzip EmailObfuscationPlugin.zip manage 5.5 K 2006-05-17 - 04:12 StephenGordon Initial release (updated spelling wink
Topic revision: r5 - 2006-08-21 - 15:03:08 - MichaelDaum
Plugins.EmailObfuscationPlugin moved from Plugins.EmailObstuficationPlugin on 2006-05-17 - 05:01 by PeterThoeny - put it back
 
TWIKI.NET
This site is powered by the TWiki collaboration platform
Ideas, requests, problems regarding TWiki? Send feedback
Copyright © 1999-2009 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.