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.geo 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.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.0a1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | cb183e27b4ae14a1889095f427a50749f1432d48b0e3738dc13d387b130cf40a |
|
MD5 | 732fae99b66bf27ed57d04fca934fa9b |
|
BLAKE2b-256 | 93731420d64970c158baa6d1faff1acefaaf0d86ca1f3afebddac7c20e6d075b |
Hashes for collective.geotransform-1.0a1-py2.6.egg
Algorithm | Hash digest | |
---|---|---|
SHA256 | c1d17c916c4a87a0343d1ec9cb7b55aff8e141102431e1dad831bb7cb4f68a5d |
|
MD5 | 6917f2227c998473c104f705268b7052 |
|
BLAKE2b-256 | 8d10dec094b65cade8242c6f73a08f64bf22e0b155a4d32e57b86100dfa4f59a |