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:

.. more on sliding discounts... (1997) Occasional crashes with $remove (1997) PIXO (1997) WebCat2b13MacPlugIn - More limits on [include] (1997) RE: Price recalc based on quantity (1997) Append again (1999) Shipcost lookup? (1997) Separate server for jpg/gif files (1998) and more [shipcost].... (2001) Netscape Communicator 4 chops off URLs (was No Data) (1997) WebTen and WebCat (1997) [WebDNA] Is this safe? (2013) Multiple Users.db Possible? (1997) looking for developers with solutions (2000) RE: WebCatalog NT beta 18 now available (1997) Tax Troubles (2003) [WebDNA] TLS 1.2 and [tcpconnect] (2018) WebDNA Solutions ... sorry! (1997) [WebDNA] Old Problem, the exclamation point (2014) Server Load (2000)