<?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>benwatts.ca &#187; download</title>
	<atom:link href="http://benwatts.ca/tag/download/feed/" rel="self" type="application/rss+xml" />
	<link>http://benwatts.ca</link>
	<description>Designer and Frontend Developer in Ottawa, Canada</description>
	<lastBuildDate>Fri, 22 Jul 2011 19:00:09 +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>Unleashing SecretSantaBot</title>
		<link>http://benwatts.ca/2009/unleashing-secretsantabot/</link>
		<comments>http://benwatts.ca/2009/unleashing-secretsantabot/#comments</comments>
		<pubDate>Sun, 06 Dec 2009 20:36:18 +0000</pubDate>
		<dc:creator>Ben</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[download]]></category>
		<category><![CDATA[oop]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[script]]></category>
		<category><![CDATA[secret santa]]></category>

		<guid isPermaLink="false">http://www.benwatts.ca/?p=522</guid>
		<description><![CDATA[About two years ago the occasion arose for a Secret Santa with people who, for whatever reason, couldn&#8217;t find themselves in the same room to draw names from a hat. Determined, I soldiered on and wrote a script to email all parties with a randomly selected name. It worked, it drives a slow trickle of [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.benwatts.ca/sandbox/secret-santa/"><img class="alignnone size-full wp-image-524" title="secretsantabot-banner" src="http://www.benwatts.ca/wp-content/uploads/2009/12/secretsantabot-banner1.jpg" alt="" width="560" height="153" /></a></p>
<p>About two years ago the occasion arose for a Secret Santa with people who, for whatever reason, couldn&#8217;t find themselves in the same room to draw names from a hat. Determined, I soldiered on and wrote a script to email all parties with a randomly selected name. It worked, it drives a slow trickle of traffic to the site every December.</p>
<p>I decided to give it a bit of an OOP makeover this year and go <em>ALL-OUT</em> and get in on the git action, too. What I have ended up with is bizarrely tacked-on front-end to an otherwise super straightforward SecretSantaBot class.</p>
<p>I&#8217;m going to set up a site in the future to forgo the need to have a web server in order to use the script. That&#8217;s not as fun, eh? For now, it&#8217;s targeted at the developer.</p>
<p><a href="http://github.com/benwatts/SecretSantaBot">Source @ Github</a> | <a href="http://www.benwatts.ca/sandbox/secret-santa/">Demo</a></p>
<p><small>Oh, I should mention that before you ream me &#8212; this is the first PHP class I&#8217;ve written, and I&#8217;m sure it&#8217;s not the most optimally written thing out there. <em>That&#8217;s what forking is for! Forking and reaming in the same sentence &#8230; </em></small></p>
]]></content:encoded>
			<wfw:commentRss>http://benwatts.ca/2009/unleashing-secretsantabot/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

