Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2005-04-28 22:44:05

timjcoulter
New Member
From: Oregon, USA
Registered: 2005-03-19
Posts: 5
Website

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

#2 2005-04-29 00:20:12

Jeremie
Member
From: Provence, France
Registered: 2004-08-11
Posts: 1,578
Website

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="menowhere.com” linktext=“Email me” />@
works fine in articles, at least for me.

Offline

#5 2005-04-29 01:33:22

Jeremie
Member
From: Provence, France
Registered: 2004-08-11
Posts: 1,578
Website

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?

Offline

#7 2005-04-29 02:58:21

Jeremie
Member
From: Provence, France
Registered: 2004-08-11
Posts: 1,578
Website

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

#9 2005-10-12 03:27:47

Jeremie
Member
From: Provence, France
Registered: 2004-08-11
Posts: 1,578
Website

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=”&#109;&#97;&#105;&#108;&#116;&#111;&#58;&#109;&#101;&#64;&#104;&#101;&#114;&#101;&#46;&#99;&#111;&#109;”>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=”&#109;&#97;&#105;&#108;&#116;&#111;&#58;&#109;&#101;&#64;&#104;&#101;&#114;&#101;&#46;&#99;&#111;&#109;”>&#109;&#101;&#64;&#104;&#101;&#114;&#101;&#46;&#99;&#111;&#109;</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

Board footer

Powered by FluxBB