So you guys may not have thought of this, or it's too complex... but it would be great if you added a section editor attribute called 'encrypted email'. So when the CMSB user enters an email address, that address is encoded so spammers cannot use. I have a client that displays ALL company email addresses for use of public, but has gotten hammered with spam.. here's an example of code that I currently use. (if you have an alternate fix for this that can be used within CMSB, that would be great... maybe a plugin?)
Email: <script type="text/javascript" language="javascript">
<!--
// Email obfuscator script 2.1 by Tim Williams, University of Arizona
// Random encryption key feature by Andrew Moulden, Site Engineering Ltd
// This code is freeware provided these four comment lines remain intact
// A wizard to generate this code is at http://www.jottings.com/obfuscator/
{ coded = "8FZuGFuuCgVZB9@gGBQFaBEVBPlWj.LEw"
key = "S0KLdQ9f1GUb8WVCABru2X5aYDzOgxZkoHvs7jhRPcniyJeIpq4ElTMNFt3m6w"
shift=coded.length
link=""
for (i=0; i<coded.length; i++) {
if (key.indexOf(coded.charAt(i))==-1) {
ltr = coded.charAt(i)
link += (ltr)
}
else {
ltr = (key.indexOf(coded.charAt(i))-shift+key.length) % key.length
link += (key.charAt(ltr))
}
}
document.write("<a href='mailto:"+link+"'>"+link+"</a>")
}
//-->
</script>
John Tedesco
Creative Director
JAM Graphics