Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Spam-proof e-mail in articles?
Is there a spam-proof way to use e-mail links in articles? I want to use something like <txp:email>, but in an article, not a page template, and Textile chokes on Textpattern tags. Is there a Textile equivalent?
Offline
Re: Spam-proof e-mail in articles?
Yes, link to a HTML form that send an email. That’s the only way.
Offline
#3 2005-04-29 00:52:24
- Kibitzer
- Member
- From: Melbourne, Australia
- Registered: 2004-05-24
- Posts: 44
Re: Spam-proof e-mail in articles?
I’ve placed a tag like this in an article, with no problems:
(txp:email email=“me@nowhere.com” linktext=“Email me”/)(round brackets used so it shows up in the forum)
Last edited by Kibitzer (2005-04-29 00:53:37)
VC200 Member #69 — VCTWO Member — Mixed Gorilla
“YES!” “That would be an ecumenical matter!”
Offline
#4 2005-04-29 01:05:59
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: Spam-proof e-mail in articles?
Yeah, the tag Kibitzer mentioned
<txp:email email="me
nowhere.com” linktext=“Email me” />@
works fine in articles, at least for me.
Offline
Re: Spam-proof e-mail in articles?
It’s not spam proof, it’s dumb spambots proof for the time being :)
If any kind of last-end user UA can handle the % encoding, why people might think a spambot can’t do the same ? That’s beyond me.
Offline
#6 2005-04-29 02:09:47
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: Spam-proof e-mail in articles?
Because spammers are lazy.
Offline
Re: Spam-proof e-mail in articles?
I know it, and as I said “it’s dumb spambots proof for the time being”. They are not as dumb as this, and it will not last.
Offline
#8 2005-10-07 16:18:19
- heikki74
- Member
- From: Finland
- Registered: 2004-08-17
- Posts: 100
Re: Spam-proof e-mail in articles?
It’s not spam-proof. I have an experiment going on and it seems that all (only two so far) emails have gone through.
Simple javascript encoder hasn’t failed yet. I wish there was more traffic, so I could really test this.
Does anyone else have real data related to this?
Offline
Re: Spam-proof e-mail in articles?
Only brain suffice. You’re welcome to use false encoding on your websites for your emails, but please don’t ask the dev team to implement something dangerous for our emails.
Offline
#10 2005-10-12 04:57:08
- heikki74
- Member
- From: Finland
- Registered: 2004-08-17
- Posts: 100
Re: Spam-proof e-mail in articles?
Danger is my middle name..
Seriously – maybe the text “Email link (spam-proof)” should be changed in txp -> presentation -> pages?
Results so far
Plain email link: 3
Txp style encoded link: 2
Simple javascript: 0
Final email link looks like this in all versions:
<code><a href=“mailto:me@here.com”>me@here.com</a></code>
Offline
#11 2005-10-12 06:58:07
- Niconemo
- Member
- From: Rhône-Alpes, France
- Registered: 2005-04-18
- Posts: 557
Re: Spam-proof e-mail in articles?
> heikki74 wrote:
> Final email link looks like this in all versions:
<code><a href=“mailto:me@here.com”>me@here.com</a></code>
What do you mean ? When I use txp in an article tag final email link looks like this :
<code><a href=”mailto:me@here.com”>Email me</a></code>
I know it is not the best protection but it does what it is supposed to do, no ?
Nico
Offline
#12 2005-10-12 08:53:37
- heikki74
- Member
- From: Finland
- Registered: 2004-08-17
- Posts: 100
Re: Spam-proof e-mail in articles?
Sorry.. it wasn’t very clear sentence. This is what I ment to say
What I did use for test was
Plain email link:
<code><a href=“mailto:me@here.com”>me@here.com</a></code>
Txp style encoded link (almost, except the link text is also encoded email address):
<code><a href=”mailto:me@here.com”>me@here.com</a></code>
Simple javascript:
<code><script language=“javascript”>
<!—
ML=“h<m\”@acfo =le.t>i:/r”;
MI=“1590C<7:325@;>8A2<40<C<=6823?2<40<C<=6821B5?”;
OT=”“;
for(j=0;j<MI.length;j++){
OT+=ML.charAt(MI.charCodeAt(j)-48);
}document.write(OT);
// —></script>
Last edited by heikki74 (2005-10-12 08:56:01)
Offline