Re: Email Obfuscation Function

This WebDNA talk-list message is from

2008


It keeps the original formatting.
numero = 70256
interpreted = N
texte = Hi, The method you are using is not good enough for all spam bots, I use this in the globals folder- [text show=f]coded_email=[convertchars db=^ascii.db][email][/convertchars][/text] with this db fromto a97, b98, c99, d100, e101, f102, g103, h104, i105, j106, k107, l108, m109, n110, o111, p112, q113, r114, s115, t116, u117, v118, w119, x120, y121, z122, A65, B66, C67, D68, E69, F70, G71, H72, I73, J74, K75, L76, M77, N78, O79, P80, Q81, R82, S83, T84, U85, V86, W87, X88, Y89, Z90, _95, -45, ..46, @64, %2032, 048, 149, 250, 351, 452, 553, 654, 755, 856, 957, /47, "34, '39, <60, =61, >62, ?63, &38, :58, |38, #35, &38, ;59, (40, )41,  and wherever I need an email link I use [include file=^email.inc&email=me@my.com] You can add class=, subject= and link= to the include command to customize it It is important not to get stray returns or spaces in the code so I have put a copy in plain text here- http://www.idealinternet.co.uk/email.txt Regards, Colin Dana Keil wrote: > Hey Clint, > > Looks good, thanks for sharing it. The one thing that I notice is that > (I think) the numeric character references, etc, should end with a > semi-colon. > > (A minute later) -- Checking a couple of browsers, it looks like they > display OK without the semi-colon, but it doesn't verify as correct > HTML, so to be safe I would put them in. > > -- > Dana > > On May 15, 2008, at 2:46 PM, Clint Davis wrote: > >> Here's what I came up with in case it helps anyone else: >> >> //=====================// >> MyPage.tpl Code >> //=====================// >> [include file=func.inc] >> [getEmail emailAddress=[EMAIL]&linkText=[EMAIL]] >> >> >> //=====================// >> Func.inc Code >> //=====================// >> [function name=getEmail] >> [text]myEmail=[getOrdString string=[emailAddress]][/text] >> [text]myLabel=[getOrdString string=[linkText]][/text] >> [text]myMailto=[getOrdString string=mailto:][/text] >> [return][myLabel][/return] >> [/function] >> [function name=getOrdString] >> [text]output=[convertwords >> table=ascii&case=T&word=ss][url][string][/url][/convertwords][/text] >> [return][output][/return] >> [/function] >> [table name=ascii&fields=from,to] >> %20 >> %21 ! >> %22 " >> %23 # >> %24 $ >> %25 % >> %26 & >> %27 ' >> %28 ( >> %29 ) >> %2A * >> %2B + >> %2C , >> - - >> . . >> 0 0 >> 1 1 >> 2 2 >> 3 3 >> 4 4 >> 5 5 >> 6 6 >> 7 7 >> 8 8 >> 9 9 >> %3A : >> %3B ; >> %3C < >> %3D = >> %3E > >> %3F ? >> %40 @ >> A A >> B B >> C C >> D D >> E E >> F F >> G G >> H H >> I I >> J J >> K K >> L L >> M M >> N N >> O O >> P P >> Q Q >> R R >> S S >> T T >> U U >> V V >> W W >> X X >> Y Y >> Z Z >> %5B [ >> %5C \ >> %5D ] >> %5E ^ >> _ _ >> %60 ` >> a a >> b b >> c c >> d d >> e e >> f f >> g g >> h h >> i i >> j j >> k k >> l l >> m m >> n n >> o o >> p p >> q q >> r r >> s s >> t t >> u u >> v v >> w w >> x x >> y y >> z z >> %7B { >> %7C | >> %7D } >> %7E ~[/table] >> > > ------------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to > > Web Archive of this list is at: http://webdna.smithmicro.com/ > ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: Email Obfuscation Function ( Colin Sidwell 2008)
  2. Re: Email Obfuscation Function ( Dana Keil 2008)
  3. Re: Email Obfuscation Function ( Clint Davis 2008)
  4. Re: Email Obfuscation Function ( Donovan Brooke 2008)
  5. Re: Email Obfuscation Function ( Clint Davis 2008)
  6. Re: Email Obfuscation Function ( "Michael A. DeLorenzo" 2008)
  7. Re: Email Obfuscation Function ( Dana Keil 2008)
  8. Email Obfuscation Function ( Clint Davis 2008)
Hi, The method you are using is not good enough for all spam bots, I use this in the globals folder- [text show=f]coded_email=[convertchars db=^ascii.db][email][/convertchars][/text] with this db fromto a97, b98, c99, d100, e101, f102, g103, h104, i105, j106, k107, l108, m109, n110, o111, p112, q113, r114, s115, t116, u117, v118, w119, x120, y121, z122, A65, B66, C67, D68, E69, F70, G71, H72, I73, J74, K75, L76, M77, N78, O79, P80, Q81, R82, S83, T84, U85, V86, W87, X88, Y89, Z90, _95, -45, ..46, @64, %2032, 048, 149, 250, 351, 452, 553, 654, 755, 856, 957, /47, "34, '39, <60, =61, >62, ?63, &38, :58, |38, #35, &38, ;59, (40, )41,  and wherever I need an email link I use [include file=^email.inc&email=me@my.com] You can add class=, subject= and link= to the include command to customize it It is important not to get stray returns or spaces in the code so I have put a copy in plain text here- http://www.idealinternet.co.uk/email.txt Regards, Colin Dana Keil wrote: > Hey Clint, > > Looks good, thanks for sharing it. The one thing that I notice is that > (I think) the numeric character references, etc, should end with a > semi-colon. > > (A minute later) -- Checking a couple of browsers, it looks like they > display OK without the semi-colon, but it doesn't verify as correct > HTML, so to be safe I would put them in. > > -- > Dana > > On May 15, 2008, at 2:46 PM, Clint Davis wrote: > >> Here's what I came up with in case it helps anyone else: >> >> //=====================// >> MyPage.tpl Code >> //=====================// >> [include file=func.inc] >> [getEmail emailAddress=[EMAIL]&linkText=[EMAIL]] >> >> >> //=====================// >> Func.inc Code >> //=====================// >> [function name=getEmail] >> [text]myEmail=[getOrdString string=[emailAddress]][/text] >> [text]myLabel=[getOrdString string=[linkText]][/text] >> [text]myMailto=[getOrdString string=mailto:][/text] >> [return][myLabel][/return] >> [/function] >> [function name=getOrdString] >> [text]output=[convertwords >> table=ascii&case=T&word=ss][url][string][/url][/convertwords][/text] >> [return][output][/return] >> [/function] >> [table name=ascii&fields=from,to] >> %20 >> %21 ! >> %22 " >> %23 # >> %24 $ >> %25 % >> %26 & >> %27 ' >> %28 ( >> %29 ) >> %2A * >> %2B + >> %2C , >> - - >> . . >> 0 0 >> 1 1 >> 2 2 >> 3 3 >> 4 4 >> 5 5 >> 6 6 >> 7 7 >> 8 8 >> 9 9 >> %3A : >> %3B ; >> %3C < >> %3D = >> %3E > >> %3F ? >> %40 @ >> A A >> B B >> C C >> D D >> E E >> F F >> G G >> H H >> I I >> J J >> K K >> L L >> M M >> N N >> O O >> P P >> Q Q >> R R >> S S >> T T >> U U >> V V >> W W >> X X >> Y Y >> Z Z >> %5B [ >> %5C \ >> %5D ] >> %5E ^ >> _ _ >> %60 ` >> a a >> b b >> c c >> d d >> e e >> f f >> g g >> h h >> i i >> j j >> k k >> l l >> m m >> n n >> o o >> p p >> q q >> r r >> s s >> t t >> u u >> v v >> w w >> x x >> y y >> z z >> %7B { >> %7C | >> %7D } >> %7E ~[/table] >> > > ------------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to > > Web Archive of this list is at: http://webdna.smithmicro.com/ > ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ Colin Sidwell

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

Authentication on NT server (2000) docs for WebCatalog2 (1997) Rotating photo gallery (2004) Resume Catalog ? (1997) maximu values for sendmail! (1997) Displaying photo attached to first record (1997) Request for page test (2003) More on the email templates (1997) Associative lookup style? (1997) [WebDNA] [OT] Steve Jobs (2011) test (2004) Word Break (1999) Has anyone built this already? (2003) [BULK] [WebDNA] abstraction code can be tricky... (2012) Webmerchant (1999) shownext (1997) upgrading (1997) More Applescript (1997) RE: Netscape v. IE (1997) Validation (2000)