SitePoint Sponsor

User Tag List

Results 1 to 8 of 8
  1. #1
    SitePoint Enthusiast ShrimpChip80's Avatar
    Join Date
    Apr 2011
    Location
    United States
    Posts
    27
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Putting your e-mail on your page

    I don't want to put a link to it directly for obvious reasons. I considered maybe making an image with my e-mail in it but I hear that can be troublesome for screen readers. Any suggestions? I'm already working on a contact form.

  2. #2
    SitePoint Member
    Join Date
    Jun 2011
    Posts
    5
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Contact form would be my suggestion. Can you use someone else's form until you've finished yours?

    There's this one by Chris Coyier, I'm about to use it on a site I'm finishing up for work.

    http://css-tricks.com/139-nice-and-simple-contact-form/

    Sent from my NookColor using Tapatalk

  3. #3
    SitePoint Enthusiast ShrimpChip80's Avatar
    Join Date
    Apr 2011
    Location
    United States
    Posts
    27
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Certainly. So long as it's not using server-side scripting. I read on another forum that it's good to include both your e-mail and a contact form.

    I checked your link smutek. Unfortunately I have no experience with PHP. I'm thinking of going with a HTML based one for now.

  4. #4
    It's all Geek to me silver trophybronze trophy
    ralph.m's Avatar
    Join Date
    Mar 2009
    Location
    Melbourne, AU
    Posts
    23,614
    Mentioned
    413 Post(s)
    Tagged
    7 Thread(s)
    Quote Originally Posted by ShrimpChip80 View Post
    So long as it's not using server-side scripting. I'm thinking of going with a HTML based one for now.
    Without some scripting, the form data won't send. So an 'HTML-based' one is meaningless, I'm afraid.

    One thing you can do is to use a service to 'obfuscate' the raw email address. That is, you convert it into a mish-mash of code that a spam bot can't read, but which displays fine on screen. These can never be perfect, but they are pretty good. I often use this one, for example:

    Enkoder

  5. #5
    SitePoint Member ChicagoLimousine's Avatar
    Join Date
    Dec 2010
    Location
    Chicago
    Posts
    14
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Does inserting spaces into the email address help prevent spam?

  6. #6
    Robert Wellock silver trophybronze trophy xhtmlcoder's Avatar
    Join Date
    Apr 2002
    Location
    A Maze of Twisty Little Passages
    Posts
    6,316
    Mentioned
    60 Post(s)
    Tagged
    0 Thread(s)
    Most likely if you did insert spaces it would do however the e-mail will no longer act as a link: somebody @ somewhere .com (I am referring to source code and mailto: obviously - not browser view).

  7. #7
    Programming Since 1978 silver trophybronze trophy felgall's Avatar
    Join Date
    Sep 2005
    Location
    Sydney, NSW, Australia
    Posts
    16,607
    Mentioned
    24 Post(s)
    Tagged
    1 Thread(s)
    If the address in the web page or web page source is readable to anyone then if the spambots can't read it now either they will be able to eventually or if the spammer doesn't want to wait that long they'll employ someone cheap to capture it for them.

    A form that adds the address after submitting is the only way that will always work.
    Stephen J Chapman

    javascriptexample.net, Book Reviews, follow me on Twitter
    HTML Help, CSS Help, JavaScript Help, PHP/mySQL Help, blog
    <input name="html5" type="text" required pattern="^$">

  8. #8
    Mouse catcher silver trophy
    Stevie D's Avatar
    Join Date
    Mar 2006
    Location
    Yorkshire, UK
    Posts
    5,835
    Mentioned
    113 Post(s)
    Tagged
    1 Thread(s)
    Quote Originally Posted by felgall View Post
    If the address in the web page or web page source is readable to anyone then if the spambots can't read it now either they will be able to eventually or if the spammer doesn't want to wait that long they'll employ someone cheap to capture it for them.

    A form that adds the address after submitting is the only way that will always work.
    My experience is that using &#064; instead of @ (in both the href and the text) is fairly effective at preventing harvesting it isn't foolproof, but it leads to a tiny fraction of the spam that using @ gets.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •