Gracefully email obfuscation for Plone
Project description
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for collective.geotransform-1.0a2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 49ecdc009c53e195a658868e10944cfc8be17b06403b1b948d0e427455492373 |
|
MD5 | 54d27efdd1d2a00df81337e574646aa2 |
|
BLAKE2b-256 | 22d092a94ed2b2350cb4cde033148013e2a802122ecd68d9d377cc082c7a2577 |
Hashes for collective.geotransform-1.0a2-py2.6.egg
Algorithm | Hash digest | |
---|---|---|
SHA256 | b486f286574920047ec56bc09c9e9883d60d18407409acd30d8eeae0fee36ec7 |
|
MD5 | a137bef790f7d11a1a4bf0680bc13440 |
|
BLAKE2b-256 | b1d7ad1f63d68350eeba7393176a22d6aeebd2b7348e637de59ed9902dab7c72 |