[PATCH] antispam attribute

View: New views
10 Messages — Rating Filter:   Alert me  

[PATCH] antispam attribute

by VMiklos-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

hi,

http://frugalware.org/~vmiklos/patches/antispam.diff

this simple patch allows one to use asciidoc -a antispam so that the
email address won't be shown directly in html pages.

opinions?

thanks
_______________________________________________
asciidoc-discuss mailing list
asciidoc-discuss@...
http://lists.metaperl.com/cgi-bin/mailman/listinfo/asciidoc-discuss

Re: [PATCH] antispam attribute

by VMiklos-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On 4/4/08, VMiklos <vmiklos@...> wrote:
> http://frugalware.org/~vmiklos/patches/antispam.diff
>
> this simple patch allows one to use asciidoc -a antispam so that the
> email address won't be shown directly in html pages.

Stuart, could you please commit it? :)

i think some kind of such antispam feature would be useful, but if you
would like a different implementation, i'm interested as well.

thanks
_______________________________________________
asciidoc-discuss mailing list
asciidoc-discuss@...
http://lists.metaperl.com/cgi-bin/mailman/listinfo/asciidoc-discuss

Re: [PATCH] antispam attribute

by VMiklos-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On 4/14/08, VMiklos <vmiklos@...> wrote:
> Stuart, could you please commit it? :)

err, i wanted to write 'comment', sorry.
_______________________________________________
asciidoc-discuss mailing list
asciidoc-discuss@...
http://lists.metaperl.com/cgi-bin/mailman/listinfo/asciidoc-discuss

Re: [PATCH] antispam attribute

by Stuart Rackham :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

VMiklos wrote:

> On 4/4/08, VMiklos <vmiklos@...> wrote:
>> http://frugalware.org/~vmiklos/patches/antispam.diff
>>
>> this simple patch allows one to use asciidoc -a antispam so that the
>> email address won't be shown directly in html pages.
>
> Stuart, could you please commit it? :)
>
> i think some kind of such antispam feature would be useful, but if you
> would like a different implementation, i'm interested as well.

Sorry I haven't been able to get back sooner. My first thought was (bear
in mind that I don't know much about spam) that any email address
harvester worth it's salt would already know how translate obfusticated
addresses. I'm more than happy to put the patch in if it's going to be
effective -- so I guess my question is is there any quantifiable
evidence out there that this technique would actually work?

Cheers, Stuart

>
> thanks
> _______________________________________________
> asciidoc-discuss mailing list
> asciidoc-discuss@...
> http://lists.metaperl.com/cgi-bin/mailman/listinfo/asciidoc-discuss
>
_______________________________________________
asciidoc-discuss mailing list
asciidoc-discuss@...
http://lists.metaperl.com/cgi-bin/mailman/listinfo/asciidoc-discuss

Re: [PATCH] antispam attribute

by Alex Efros-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi!

On Mon, Apr 14, 2008 at 08:01:10PM +0200, VMiklos wrote:
> > http://frugalware.org/~vmiklos/patches/antispam.diff
> >
> > this simple patch allows one to use asciidoc -a antispam so that the
> > email address won't be shown directly in html pages.

AFAIK spam robots able to process all email modified in such simple way.
So only change will be is making life more complex for normal users (they
will not be able to just copy&paste to send email).

If you wish to really hide email, you probably should play with JavaScript.
Such sort of protection will not hacked by spammers (yet) AFAIK.
But you'll have to decide what to do in case user doesn't have JavaScript
enabled.

--
                        WBR, Alex.
_______________________________________________
asciidoc-discuss mailing list
asciidoc-discuss@...
http://lists.metaperl.com/cgi-bin/mailman/listinfo/asciidoc-discuss

Re: [PATCH] antispam attribute

by Stuart Rackham :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Alex Efros wrote:

> Hi!
>
> On Mon, Apr 14, 2008 at 08:01:10PM +0200, VMiklos wrote:
>>> http://frugalware.org/~vmiklos/patches/antispam.diff
>>>
>>> this simple patch allows one to use asciidoc -a antispam so that the
>>> email address won't be shown directly in html pages.
>
> AFAIK spam robots able to process all email modified in such simple way.
> So only change will be is making life more complex for normal users (they
> will not be able to just copy&paste to send email).

Why not just explicitly specify your obfusticated address in the
document header? For example:

:email: me-at-mydomain-dot-com

or even (all one line):

:email:
{amp}#x61;{amp}#x40;{amp}#x62;{amp}#x2e;{amp}#x63;{amp}#x6f;{amp}#x6d;

This way the obfustication scheme is not hard wired into AsciiDoc and
the obfustication can be seen in the source document.

>
> If you wish to really hide email, you probably should play with JavaScript.
> Such sort of protection will not hacked by spammers (yet) AFAIK.
> But you'll have to decide what to do in case user doesn't have JavaScript
> enabled.
>

There a nice description of the basic techniques here:
http://labnol.blogspot.com/2006/03/hide-your-email-address-on-websites.html


Cheers, Stuart
_______________________________________________
asciidoc-discuss mailing list
asciidoc-discuss@...
http://lists.metaperl.com/cgi-bin/mailman/listinfo/asciidoc-discuss

Re: [PATCH] antispam attribute

by Alex Efros-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi!

On Tue, Apr 15, 2008 at 06:55:33PM +1200, Stuart Rackham wrote:
> Why not just explicitly specify your obfusticated address in the
> document header? For example:

Because that obfuscation isn't something I should think about while
writing documents. Robots should fight robots, not people.
One more reason - this obfuscation is usually needed only for one backend -
html.

So, it's much better behaviour when I write email in document as is, and
after converting to html I also see it in browser as is, able to
copy&paste it, able to click to execute mailto:... but at same time it's
hard for spam robots to find this email in html source.

Of course, if such feature will be added, it should be possible to use it
for any email in document body, not only author's email.

--
                        WBR, Alex.
_______________________________________________
asciidoc-discuss mailing list
asciidoc-discuss@...
http://lists.metaperl.com/cgi-bin/mailman/listinfo/asciidoc-discuss

Re: [PATCH] antispam attribute

by VMiklos-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On 4/15/08, Stuart Rackham <srackham@...> wrote:

> Why not just explicitly specify your obfusticated address in the
> document header? For example:
>
> :email: me-at-mydomain-dot-com
>
> or even (all one line):
>
> :email:
> {amp}#x61;{amp}#x40;{amp}#x62;{amp}#x2e;{amp}#x63;{amp}#x6f;{amp}#x6d;
>
> This way the obfustication scheme is not hard wired into AsciiDoc and
> the obfustication can be seen in the source document.

heh, good idea. somehow i remembered (incorrectly) about asciidoc does
some syntax check, so the email must be in a foo@... form. thanks
for pointing this out!
_______________________________________________
asciidoc-discuss mailing list
asciidoc-discuss@...
http://lists.metaperl.com/cgi-bin/mailman/listinfo/asciidoc-discuss

Re: [PATCH] antispam attribute

by Stuart Rackham :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

VMiklos wrote:

> On 4/15/08, Stuart Rackham <srackham@...> wrote:
>> Why not just explicitly specify your obfusticated address in the
>> document header? For example:
>>
>> :email: me-at-mydomain-dot-com
>>
>> or even (all one line):
>>
>> :email:
>> {amp}#x61;{amp}#x40;{amp}#x62;{amp}#x2e;{amp}#x63;{amp}#x6f;{amp}#x6d;
>>
>> This way the obfustication scheme is not hard wired into AsciiDoc and
>> the obfustication can be seen in the source document.
>
> heh, good idea. somehow i remembered (incorrectly) about asciidoc does
> some syntax check, so the email must be in a foo@... form. thanks
> for pointing this out!

The syntax check is only performed if you put the email address in the
header author line, if you use an attribute entry it's not checked.

Cheers, Stuart
_______________________________________________
asciidoc-discuss mailing list
asciidoc-discuss@...
http://lists.metaperl.com/cgi-bin/mailman/listinfo/asciidoc-discuss

Re: [PATCH] antispam attribute

by Stuart Rackham :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Alex Efros wrote:

> Hi!
>
> On Tue, Apr 15, 2008 at 06:55:33PM +1200, Stuart Rackham wrote:
>> Why not just explicitly specify your obfusticated address in the
>> document header? For example:
>
> Because that obfuscation isn't something I should think about while
> writing documents. Robots should fight robots, not people.
> One more reason - this obfuscation is usually needed only for one backend -
> html.
>
> So, it's much better behaviour when I write email in document as is, and
> after converting to html I also see it in browser as is, able to
> copy&paste it, able to click to execute mailto:... but at same time it's
> hard for spam robots to find this email in html source.
>
> Of course, if such feature will be added, it should be possible to use it
> for any email in document body, not only author's email.
>

I agree and I think the best place for these mechanisms is a separate
program i.e. a utility for post processing the html or in a Web server
plugin.

Cheers, Stuart
_______________________________________________
asciidoc-discuss mailing list
asciidoc-discuss@...
http://lists.metaperl.com/cgi-bin/mailman/listinfo/asciidoc-discuss