<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>TheGeek.de &#187; email</title>
	<atom:link href="http://thegeek.de/t/email/feed" rel="self" type="application/rss+xml" />
	<link>http://thegeek.de</link>
	<description>WordPress, PHP, JavaScript, Web 2.0, Gaming, Motorräder, Fotografie, Piratenpartei, Privates</description>
	<lastBuildDate>Tue, 07 Feb 2012 13:21:36 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>E-Mail Adresse vor Spam-Robots schützen</title>
		<link>http://thegeek.de/e-mail-adresse-vor-spam-robots-schutzen</link>
		<comments>http://thegeek.de/e-mail-adresse-vor-spam-robots-schutzen#comments</comments>
		<pubDate>Tue, 03 Nov 2009 12:16:39 +0000</pubDate>
		<dc:creator>Marc</dc:creator>
				<category><![CDATA[Coding]]></category>
		<category><![CDATA[email]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[spam]]></category>

		<guid isPermaLink="false">http://thegeek.de/e-mail-adresse-vor-spam-robots-schutzen</guid>
		<description><![CDATA[Wenn man mal eben fix eine E-Mail Adresse vor Spam-Robots sichern will, dann geht das ganz einfach mit ein wenig JavaScript. // Entweder so document.write( '&#60;a h'+'ref="ma'+'ilto'+':post'+'@'+'thegeek'+'.'+'de"&#62;post'+'@'+'thegeek'+'.'+'de&#60;/a&#62;' ); // Oder auch so [prototype] $('my_mail_adress').update( '&#60;a h'+'ref="ma'+'ilto'+':post'+'@'+'thegeek'+'.'+'de"&#62;post'+'@'+'thegeek'+'.'+'de&#60;/a&#62;' ); Wichtig ist noch folgendes: &#60;noscript&#62; post AT thegeek . de &#60;/noscript&#62; Sollte JavaScript nicht verfügbar sein, wird einfach [...]]]></description>
			<content:encoded><![CDATA[<p>Wenn man mal eben fix eine E-Mail Adresse vor Spam-Robots sichern will, dann geht das ganz einfach mit ein wenig JavaScript.</p>
<pre class="brush:js">
	// Entweder so
	document.write( '&lt;a h'+'ref="ma'+'ilto'+':post'+'@'+'thegeek'+'.'+'de"&gt;post'+'@'+'thegeek'+'.'+'de&lt;/a&gt;' );

	// Oder auch so [prototype]
	$('my_mail_adress').update( '&lt;a h'+'ref="ma'+'ilto'+':post'+'@'+'thegeek'+'.'+'de"&gt;post'+'@'+'thegeek'+'.'+'de&lt;/a&gt;' );
</pre>
<p>Wichtig ist noch folgendes:</p>
<pre class="brush:html">
	&lt;noscript&gt;
		post AT thegeek . de
	&lt;/noscript&gt;
</pre>
<p>Sollte JavaScript nicht verfügbar sein, wird einfach die E-Mail Adresse ohne &#8220;@&#8221;-Zeichen und Domain ausgegeben, was die Spam-Robots nicht dekodieren können.</p>
<p>Siehe hier (mit Protype umgesetzt, da document.write bei asynchron geladenem Content nicht sinnvoll ist):
<div id="my_mail_adress"></div>
<p><script type="text/javascript">
// <!--
	$('my_mail_adress').update( '<a h'+'ref="ma'+'ilto'+':post'+'@'+'thegeek'+'.'+'de">post'+'@'+'thegeek'+'.'+'de</a>' );
// -->
</script></p>
<p>PS: Die Mail-Adresse existiert nicht und wurde wirklich dynamisch mit JavaScript eingefügt. :-)</p>
]]></content:encoded>
			<wfw:commentRss>http://thegeek.de/e-mail-adresse-vor-spam-robots-schutzen/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

