<?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>jonnycarroll &#187; JavaScript</title>
	<atom:link href="http://www.jonnycarroll.co.uk/index.php/category/web-development/javascript/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.jonnycarroll.co.uk</link>
	<description>thoughts, opinions and tips from and for the web community (plus non work stuff)</description>
	<lastBuildDate>Tue, 07 Feb 2012 20:14:02 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>emailCloak 1.0: a simple jQuery plug-in</title>
		<link>http://www.jonnycarroll.co.uk/index.php/2009/10/11/jquery-emailcloak-1-0/</link>
		<comments>http://www.jonnycarroll.co.uk/index.php/2009/10/11/jquery-emailcloak-1-0/#comments</comments>
		<pubDate>Sun, 11 Oct 2009 11:18:07 +0000</pubDate>
		<dc:creator>Jonathan</dc:creator>
				<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[email cloak]]></category>
		<category><![CDATA[jQuery]]></category>

		<guid isPermaLink="false">http://blog.jonnycarroll.co.uk/?p=144</guid>
		<description><![CDATA[Something that comes up time and time again in my development is how to protect email addresses on websites from spam email harvesters. To solve it, I wrote a simple jQuery plug-in which takes a specifically formatted string and turns it into an email on the fly. I&#8217;ve found it terribly handy and hopefully, you [...]]]></description>
			<content:encoded><![CDATA[<p>Something that comes up time and time again in my development is how to protect email addresses on websites from spam email harvesters. To solve it, I wrote a simple jQuery plug-in which takes a specifically formatted string and turns it into an email on the fly. I&#8217;ve found it terribly handy and hopefully, you might find it useful too!</p>
<p>Usage is really simple, just referene the script (in the ZIP file) and include this bit of code at the bottom of your page:</p>
<pre><code>$(document).ready(function() {
    $('#id-of-element').uncloak({
        atSeparator: '[at]', (default)
        dotSeparator: '||', (default)
        altText: 'Contact this company'
    });
});</code></pre>
<p>And it&#8217;s expecting the element to conaint a string in the format of:</p>
<pre>user [at] example.com</pre>
<p>It&#8217;s unlicensed so feel free to do with it what you please. <img src='http://www.jonnycarroll.co.uk/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><a title="Download emailCloak 1.0" href="/wp-content/uploads/2009/10/jquery-emailCloak-1.0.zip">Download emailCloak 1.0</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.jonnycarroll.co.uk/index.php/2009/10/11/jquery-emailcloak-1-0/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

