Page 1 of 1
email in text and second website on same server
Posted: Wed Sep 15, 2010 2:05 pm
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.
Re: email in text and second website on same server
Posted: Wed Sep 15, 2010 2:55 pm
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.
Re: email in text and second website on same server
Posted: Wed Sep 15, 2010 5:13 pm
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
Re: email in text and second website on same server
Posted: Wed Sep 15, 2010 6:32 pm
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

Re: email in text and second website on same server
Posted: Wed Sep 15, 2010 8:51 pm
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

.