Quick Nav:  Online Store   |   Login | Register

Cloak email addresses to avoid spam-spiders

Rate this topic:

Please Register to post a reply. Another benefit of registration is the ability to subscribe to and recieve notifications of new posts.
AuthorMessages
nicolo
<20 Posts
Posts:3


06/13/2007 3:22 AM  
Hello
Is it possible to introduce a function to cloak email addresses to avoid spam-spiders? DNN has a function named CloakText. More information here:
http://www.dotnetnuke.com/Community/Forums/tabid/795/forumid/118/threadid/117639/scope/posts/Default.aspx

Regards Nicolo
John Mitchell
Posts:3084


06/13/2007 8:00 AM  
Hi Nicolo,

This is possible already. You just need a regular expression to handle the job. I'll work on one and post it for you.
John Mitchell
Posts:3084


06/13/2007 10:39 AM  

Here is a mailto cloaker replacement rule.

 

<rule><ruleName>MailTo Cloaker</ruleName><searchFor>href=['"]?mailto:(\w+[a-zA-Z0-9.\-_]*)@(\w+)\.(\w+)['"]?</searchFor><replaceWith>href="window.location.replace('ma'+'ilto:'+'$1'+'@'+'$2'+'.$3')"</replaceWith></rule>
Please Register to post a reply. Another benefit of registration is the ability to subscribe to and recieve notifications of new posts.
Forums >Snapsis Product Support >PageBlaster > Cloak email addresses to avoid spam-spiders



ActiveForums 3.7
Powered by: Snapsis Software