in a "mailto" link. I guess they do this in order to make it more difficult for address harvesters to pick up their e-mail.
In order to do the same for my wife's web site at http://pilatesinsightstudio.com I found the following couple of tricks:
- The "mailto" link is encoded using:
perl -e 'use URI::Escape; print uri_escape("the@email.address", "\0-\377"), "\n";'
- The title of the link, which I wanted to contain the e-mail address in HTML, was created simply by using the HTML Encoder from CodeHouse
No comments:
Post a Comment