email in text and second website on same server

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
Post Reply
kingofsicily
Regular
Posts: 30
Joined: Thu Jul 29, 2010 4:12 pm
Location: Arnhem, Netherlands

email in text and second website on same server

Post by kingofsicily »

Hi there,

Is it safe to write your emailaddress in the text of your webpages? Or in a html-nugget? I mean, will robots from spammers identify it as an address with loads of spam in your inbox as a result?

How can I show the address (in the html-nugget) so that one can click on it and an emailprogram opens ready to write a message? (http://www.woordvoorwoord.com)

Although I have made 3 websites with Serendipity sofar, I'm still new to the program. I have my own site, but I would like to have a seperate (offline if possible) website so I can experiment. How do I have to do that? Make a new database? Install Serendipity again somewhere in a different directory on my server?

Thanks for your help in advance.

Roger.
sonichouse
Regular
Posts: 196
Joined: Sun May 11, 2008 2:53 am
Contact:

Re: email in text and second website on same server

Post by sonichouse »

kingofsicily wrote:Is it safe to write your emailaddress in the text of your webpages? Or in a html-nugget? I mean, will robots from spammers identify it as an address with loads of spam in your inbox as a result?

How can I show the address (in the html-nugget) so that one can click on it and an emailprogram opens ready to write a message? (http://www.woordvoorwoord.com)
Have a read through of How to avoid spambots there are several methods available to you there.
Steve is occasionally blogging here
Don Chambers
Regular
Posts: 3652
Joined: Mon Feb 13, 2006 2:40 am
Location: Chicago, IL, USA
Contact:

Re: email in text and second website on same server

Post by Don Chambers »

kingofsicily wrote:How can I show the address (in the html-nugget) so that one can click on it and an emailprogram opens ready to write a message? (http://www.woordvoorwoord.com)
Like this:

Code: Select all

<a href="http:://mailto:youraddress@yourdomain.com?subject=whatever-you-want">Send me email</a>
kingofsicily wrote:I have my own site, but I would like to have a seperate (offline if possible) website so I can experiment. How do I have to do that? Make a new database? Install Serendipity again somewhere in a different directory on my server?
This is what I use:

http://www.apachefriends.org/en/xampp.html
=Don=
kingofsicily
Regular
Posts: 30
Joined: Thu Jul 29, 2010 4:12 pm
Location: Arnhem, Netherlands

Re: email in text and second website on same server

Post by kingofsicily »

Many thanks!

I am already using an image for my emailaddress, but this gives some more options.

Since my address is quite long the following code would be ideal for me.

Code: Select all

<a href="http:://mailto:youraddress@yourdomain.com?subject=whatever-you-want">Send me email</a>
But do I understand correctly that the code can still be read by spambots? It isn't javascript as described in How to avoid spambots, is it?

So would the following code be safe?

Code: Select all

<script type='text/javascript'>var a = new Array('ityrules','serendip','@example','.com');document.write("<a href='mailto:"+a[1]+a[0]+a[2]+a[3]+"'>"send me email"</a>");</script>
Carefully treading the path of programming... yours truly :wink:
sonichouse
Regular
Posts: 196
Joined: Sun May 11, 2008 2:53 am
Contact:

Re: email in text and second website on same server

Post by sonichouse »

kingofsicily wrote:Many thanks!
I am already using an image for my emailaddress, but this gives some more options.
...
In general AFAIK spambots do not parse the javascript so that approach is better than having plain text addresses in your html.

I prefer to direct them to my contact form which has recaptcha set to deter non-humans. I know this is probably not the friendliest approach, but I get very little spam this way - YMMV :).
Steve is occasionally blogging here
Post Reply