-
Email encoding
Typolight uses the encodeEmail function in String.php to encode email addresses found in the content - but when encoded the "page source" looks like:
href="mailto:en ... etc
This is still fairly easy to search (i.e. scrape) for email addresses because the "mailto: bit is unencoded and any scraper just needs to search to the next double quote.
On other sites I have manually encoded email addresses with the mailto: part also encoded as mailto:
on these sites that have been around for ages I have had almost no spam leakage of the email addresses.
Is there any way through hooks etc that I could do a second pass on the encode looking for the href="mailto: and converting it to href="mailto: - or would I need to hack String.php - and if so how do I go about submitting a change
-
Re: Email encoding
The mailto links only work if the "mailto:" part is not encoded, I believe.
-
Re: Email encoding
That is not my experience - the email links on http://www.workflowconsulting.co.uk/contact.htm encode the mailto: part as well and work fine on Firefox, IE6-8, Opera under Windows (those are all I have specifically tested) .
-
Re: Email encoding
Then you should probably create a ticket :)
-
Re: Email encoding
probably this is of your interest
i did the same with a custom script
(in your sample the seperator was # in mine its a "\n" (bots hate this?))
http://www.biooffice.at/index.php/contact_us.html
you can find the encode/decode function too
greets