skip to navigation
skip to content

collective.geotransform 1.0a2

Gracefully email obfuscation for Plone

Downloads ↓

Introduction

GEO stands for "Gracefully E-mail Obfuscation". This package implements the solution exposed in this post of List Apart web site authored by Roel Van Gils:

http://www.alistapart.com/articles/gracefulemailobfuscation/

collective.geotransform uses plone.transformchain to transform the response output from Zope before it reaches your browser. It searches for all "mailto:" occurences inside the response and transform them into encoded harmless links. This codification is done via a simple base64 encoding, but enough to fool a spam robot. This is the form of the encoded mail link:

::<a rel="nofollow" href="contact/dmljdG9yLmZlcm5hbmRlejJAdXBjbmV0LmVz">mymail</a>

On the browser side, the encoded links are decoded to their original form by using a Javascript that restore them to normal "mailto:" links.

The text of the link is replaced by the full E-mail specified in the original mailto attribute.

Authenticated responses are NOT affected by this transform. Only anonymous responses are modified.

Requirements

Tested only in Plone 4 although is possible that it would run in Plone 3.

TODO

  • Accessibility form and validators
  • Integration tests
  • Further testing

Changelog

1.0a2 (2010-11-24)

  • Fixed broken uploaded file to pypi

1.0a1 (2010-10-22)

  • Initial release
 
File Type Py Version Uploaded on Size # downloads
collective.geotransform-1.0a2-py2.6.egg (md5) Python Egg 2.6 2010-11-24 44KB 385
collective.geotransform-1.0a2.tar.gz (md5) Source 2010-11-24 49KB 314