[mso] Re: E-mail addresses in Front Page

Essentially, you want to create an HREF Mailto link that, while displaying
text that appears correctly, is not readily harvestable as an email
address, correct? You can do this by using HTML special characters. For
instance, the @ symbol is represented by &#64 and the period (.) is
represented by &#46. These values closely follow the ascii character codes
so they are essentially the &# HTML escape characters placed in front of
the ascii value of each character.

Were I to write this as script, I would feed the desired addresses to a
converter (VBScript ASP Example):

<%
strEmail=ConvertedEmail("nobody@xxxxxxxxxxx")
Response.Write "<A HREF="mailto:"; & strEmail & ">" & _
strEmail & "</A>"
">"

'======================================
Function ConvertedEmail(strAddressToConvert)

For i=1 to Len(strAddressToConvert)
 strResult = strResult & "&#" & _
        Asc(Mid(strAddressToConvert,I,1))
Next

ConvertedEmail=strResult

End Function
'======================================

Feeding the script an email address like "nobody@xxxxxxxxxxx" results in
strEmail holding this value:
&#110&#111&#98&#111&#100&#121&#64&#110&#111&#119&#104&#101&#114&#101&#46&#
99&#111&#109

Which would display the link properly as "nobody@xxxxxxxxxxx"

If you don't want to create your own script for this, you can also use
this free converter I found with a Google search at
http://www.siteup.com/encoder.html

I haven't checked it out but you might take a look at the subscription and
see if it treats your address similarly.

Greg Chapman
http://www.mousetrax.com
"Counting in binary is as easy as 01, 10, 11!
With thinking this clear, is coding really a good idea?"


> -----Original Message-----
> From: mso-bounce@xxxxxxxxxxxxx
> [mailto:mso-bounce@xxxxxxxxxxxxx] On Behalf Of Rocky Fithian
> Sent: Monday, November 24, 2003 3:29 PM
> To: mso@xxxxxxxxxxxxx
> Subject: [mso] Re: E-mail addresses in Front Page
>
>
> No, it was not an addon to FP, but it would make the code to put in
> the page to hide the e-mail address.
> Thanks
> Rocky
>
> On 24 Nov 2003 at 17:09, Tina Clarke wrote:
>
> >
> > > Before a crash I had a program or web site that would write you a
> > > coded line to use in FP to hide an e-mail address on a web page so
> > > it couldn't be harvested and used, but if you clicked on the coded
> > > link you could write to the address.  Does anyone know of what I'm
> > > talking about? Rocky
> >
> > Yes but I can't think of a FrontPage Add-on that does ....
> >
> > There are other third party one's .. do a search in google....
> >
> > If the application worked from within FrontPage then it's
> an addon ...
> >
> > if the application makes code which you insert into FrontPage then
> > it's a third party application.
> >
> > If you the one you had was a addon I'd be quite glad to find it...
> >
> > Try looking at websunlimted.com and other javascript frontpage addon
> > sites (check through my addon section it's out of date and someone
> > might have made one but most of the names are there thats
> > accessfp.net/   the mall section ... and also on
> > anyfrontpage.com/bytes I've listed all the latest one's
> there and not
> > put them into my site for a good many months...
> >
> > Please let me know if it was an addon .. but there are
> plenty of third
> > pary one's around...
> >
> > hth Tina
> >
> > http://accessfp.net/ - FrontPage Resource Centre
> > http://anyfrontpage.com/bytes/ - Free E-books
> > http://artdoodle.com/  - Original Art
> > http://addonfp.com  - FrontPage Add-ons
> >
> >
> > *************************************************************
>
> *************************************************************
> You are receiving this mail because you subscribed to
> mso@xxxxxxxxxxxxx or MicrosoftOffice@xxxxxxxxxxxxxxxx
>
> To send mail to the group, simply address it to mso@xxxxxxxxxxxxx
>
> To Unsubscribe from this group, send an email to
> mso-request@xxxxxxxxxxxxx with the word "unsubscribe"
> (without the quotes) in the subject line.
>
> Or, visit the group's homepage and use the dropdown menu.
> This will also allow you to change your email settings to
> digest or vacation (no mail).
> http://www.freelists.org/webpage/mso
>
> To be able to use the files section for sharing files with
> the group, send a request to mso-moderators@xxxxxxxxxxxxx and
> you will be sent an invitation with instructions.  Once you
> are a member of the files group, you can go here to
> upload/download files:
> http://www.smartgroups.com/vault/msofiles
> *************************************************************
>
>

*************************************************************
You are receiving this mail because you subscribed to mso@xxxxxxxxxxxxx or 
MicrosoftOffice@xxxxxxxxxxxxxxxx

To send mail to the group, simply address it to mso@xxxxxxxxxxxxx

To Unsubscribe from this group, send an email to 
mso-request@xxxxxxxxxxxxx with the word "unsubscribe" (without the quotes) in 
the subject line.

Or, visit the group's homepage and use the dropdown menu.  This will also allow 
you to change your email settings to digest or vacation (no mail).
http://www.freelists.org/webpage/mso

To be able to use the files section for sharing files with the group, send a 
request to mso-moderators@xxxxxxxxxxxxx and you will be sent an invitation with 
instructions.  Once you are a member of the files group, you can go here to 
upload/download files:
http://www.smartgroups.com/vault/msofiles
*************************************************************

Other related posts: