<?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>Crainbandy &#187; Programming</title>
	<atom:link href="http://www.crainbandy.com/tag/programming/feed" rel="self" type="application/rss+xml" />
	<link>http://www.crainbandy.com</link>
	<description>For Web Developers</description>
	<lastBuildDate>Tue, 25 May 2010 20:50:02 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>while (Code Quality == WTFs/Minute) { wtf(); }</title>
		<link>http://www.crainbandy.com/programming/while-code-quality-wtfsminute-wtf</link>
		<comments>http://www.crainbandy.com/programming/while-code-quality-wtfsminute-wtf#comments</comments>
		<pubDate>Fri, 15 May 2009 19:44:02 +0000</pubDate>
		<dc:creator>bryan</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Humour]]></category>

		<guid isPermaLink="false">http://www.crainbandy.com/?p=828</guid>
		<description><![CDATA[		
		
		
		
Any experienced coder can testify &#8212; sometimes it&#8217;s not the amount of time spent infront of the computer that gets the job done, it&#8217;s the amount of WTF&#8217;s per minute.
I love this comic.
Related reading

How to fix the __PHP_Incomplete_Class Object error in PHP $_SESSION&#8217;s (6)
Dr. Myspace Developers API Documentation (1)
Dr. Myspace &#8211; Create RSS Feeds From [...]]]></description>
		<wfw:commentRss>http://www.crainbandy.com/programming/while-code-quality-wtfsminute-wtf/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to fix the __PHP_Incomplete_Class Object error in PHP $_SESSION&#8217;s</title>
		<link>http://www.crainbandy.com/programming/php/how-to-fix-the-__php_incomplete_class-error-in-php-_sessions</link>
		<comments>http://www.crainbandy.com/programming/php/how-to-fix-the-__php_incomplete_class-error-in-php-_sessions#comments</comments>
		<pubDate>Wed, 13 May 2009 18:36:24 +0000</pubDate>
		<dc:creator>bryan</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Debugging]]></category>
		<category><![CDATA[Errors]]></category>
		<category><![CDATA[Fixes]]></category>
		<category><![CDATA[How To's]]></category>
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://www.crainbandy.com/?p=796</guid>
		<description><![CDATA[		
		
		
		I ran into a problem recently where I was instantiating an object and passing it login credentials in order to authenticate a user. If the users email address and password were correct my method will return me an object containing all of an individual users information that&#8217;s important to their $_SESSION so it can persist [...]]]></description>
		<wfw:commentRss>http://www.crainbandy.com/programming/php/how-to-fix-the-__php_incomplete_class-error-in-php-_sessions/feed</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Dr. Myspace Developers API Documentation</title>
		<link>http://www.crainbandy.com/programming/dr-myspace-developers-api-documentation</link>
		<comments>http://www.crainbandy.com/programming/dr-myspace-developers-api-documentation#comments</comments>
		<pubDate>Wed, 11 Feb 2009 08:21:29 +0000</pubDate>
		<dc:creator>bryan</dc:creator>
				<category><![CDATA[APIs]]></category>
		<category><![CDATA[Dr. Myspace]]></category>
		<category><![CDATA[Myspace]]></category>
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://www.crainbandy.com/?p=692</guid>
		<description><![CDATA[		
		
		
		If you haven&#8217;t yet, check out Dr. Myspace.
The Dr. Myspace Developers API
The API is extremely simple and these instructions will be brief as there isn&#8217;t that much to the API as of flexibility right now.

Send requests to: http://www.drmyspace.com/api.php
Sample requests URI: http://www.drmyspace.com/api.php?artists[0][artist_name]=The Killers&#38;artists[0][artist_id]=5789109

If you have any other questions please leave them below in the comments box. [...]]]></description>
		<wfw:commentRss>http://www.crainbandy.com/programming/dr-myspace-developers-api-documentation/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Dr. Myspace &#8211; Create RSS Feeds From Myspace Artist Tour Dates</title>
		<link>http://www.crainbandy.com/programming/introducing-drmyspacecom-create-rss-feeds-from-myspace-artist-tour-dates</link>
		<comments>http://www.crainbandy.com/programming/introducing-drmyspacecom-create-rss-feeds-from-myspace-artist-tour-dates#comments</comments>
		<pubDate>Wed, 11 Feb 2009 08:05:48 +0000</pubDate>
		<dc:creator>bryan</dc:creator>
				<category><![CDATA[Data Mining and Scraping]]></category>
		<category><![CDATA[Myspace]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Websites]]></category>
		<category><![CDATA[Dr. Myspace]]></category>

		<guid isPermaLink="false">http://www.crainbandy.com/?p=669</guid>
		<description><![CDATA[		
		
		
		If you haven&#8217;t read my post on using PHP and Simple HTML DOM parser to scrape artist tour dates off myspace then check that out first seeing as this post starts where that one ended. I&#8217;ve received countless emails and noticed in my Google Analytics a large percentage of visitors reach my site by searching [...]]]></description>
		<wfw:commentRss>http://www.crainbandy.com/programming/introducing-drmyspacecom-create-rss-feeds-from-myspace-artist-tour-dates/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Using PHP and Simple HTML DOM Parser to scrape artist tour dates off MySpace</title>
		<link>http://www.crainbandy.com/programming/using-php-and-simple-html-dom-parser-to-scrape-artist-tour-dates-off-myspace</link>
		<comments>http://www.crainbandy.com/programming/using-php-and-simple-html-dom-parser-to-scrape-artist-tour-dates-off-myspace#comments</comments>
		<pubDate>Tue, 10 Feb 2009 16:17:12 +0000</pubDate>
		<dc:creator>bryan</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[Data Mining and Scraping]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[iPhone]]></category>

		<guid isPermaLink="false">http://www.crainbandy.com/?p=450</guid>
		<description><![CDATA[		
		
		
		UPDATED 2/11/2009 &#8211; Check out the new post on creating RSS feeds from myspace artist tour dates and the launch of dr. myspace
Have you ever visited a web page and seen information that you&#8217;d like in another format or through a different medium, but you just don&#8217;t have that option? Lets take artist tour dates [...]]]></description>
		<wfw:commentRss>http://www.crainbandy.com/programming/using-php-and-simple-html-dom-parser-to-scrape-artist-tour-dates-off-myspace/feed</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Email Address Validation in PHP</title>
		<link>http://www.crainbandy.com/programming/email-address-validation-in-php</link>
		<comments>http://www.crainbandy.com/programming/email-address-validation-in-php#comments</comments>
		<pubDate>Wed, 12 Nov 2008 23:45:28 +0000</pubDate>
		<dc:creator>bryan</dc:creator>
				<category><![CDATA[Functions]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Validation]]></category>

		<guid isPermaLink="false">http://www.crainbandy.com/?p=520</guid>
		<description><![CDATA[		
		
		
		One of the most common values that needs validation in PHP is the email address. You use this to signup for about 95% of websites. Email address validation isn&#8217;t necessarily difficult but if you&#8217;re unfamiliar with regular expressions and aren&#8217;t currently using a pre-built validation class or some other type of validation library, it can [...]]]></description>
		<wfw:commentRss>http://www.crainbandy.com/programming/email-address-validation-in-php/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Crop an Image with PHP</title>
		<link>http://www.crainbandy.com/programming/crop-an-image-with-php</link>
		<comments>http://www.crainbandy.com/programming/crop-an-image-with-php#comments</comments>
		<pubDate>Fri, 07 Nov 2008 00:36:09 +0000</pubDate>
		<dc:creator>bryan</dc:creator>
				<category><![CDATA[Functions]]></category>
		<category><![CDATA[Interface]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://www.crainbandy.com/?p=434</guid>
		<description><![CDATA[		
		
		
		I spent a few minutes working on this function that lets me crop the center of an image by width and height. Sometimes you want to create a photo gallery and use album covers for the image that links to the gallery page. Most of the time you want these images to be of a [...]]]></description>
		<wfw:commentRss>http://www.crainbandy.com/programming/crop-an-image-with-php/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Humanized Enso &#8211; Command line meets GUI</title>
		<link>http://www.crainbandy.com/programming/humanized-enzo-launcher</link>
		<comments>http://www.crainbandy.com/programming/humanized-enzo-launcher#comments</comments>
		<pubDate>Wed, 05 Nov 2008 21:07:01 +0000</pubDate>
		<dc:creator>bryan</dc:creator>
				<category><![CDATA[Productivity]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Websites]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[Work]]></category>

		<guid isPermaLink="false">http://www.crainbandy.com/?p=402</guid>
		<description><![CDATA[		
		
		
		Humanized Enso
Last night as I was perusing the series of tubes I went to one of the sites I frequent, Mozilla Labs. I was looking for some design inspiration for Crainbandy, some inspiration, and I wanted to mix it with a little bit of bad ass. I was reading through the archives and that&#8217;s when [...]]]></description>
		<wfw:commentRss>http://www.crainbandy.com/programming/humanized-enzo-launcher/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Data sanitization in PHP</title>
		<link>http://www.crainbandy.com/programming/data-sanitization-in-php</link>
		<comments>http://www.crainbandy.com/programming/data-sanitization-in-php#comments</comments>
		<pubDate>Tue, 28 Oct 2008 16:20:27 +0000</pubDate>
		<dc:creator>bryan</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://www.crainbandy.com/?p=362</guid>
		<description><![CDATA[		
		
		
		I&#8217;m going to show you a simple, yet effective way to clean your data (sanitize it) before you attempt to insert into your database. I prefer using the $_REQUEST superglobal array instead of just $_POST or $_GET.
$_REQUEST encompasses $_GET, $_POST, and $_COOKIE inside one array.
We take the $_REQUEST array and do a foreach() loop over [...]]]></description>
		<wfw:commentRss>http://www.crainbandy.com/programming/data-sanitization-in-php/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Templates &amp; PHP together in harmony</title>
		<link>http://www.crainbandy.com/programming/templates-php-together-in-harmony</link>
		<comments>http://www.crainbandy.com/programming/templates-php-together-in-harmony#comments</comments>
		<pubDate>Wed, 30 Aug 2006 12:31:15 +0000</pubDate>
		<dc:creator>bryan</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">https://crainbandy.com/2006/08/22/templates-php-together-in-harmony/</guid>
		<description><![CDATA[		
		
		
		NOTE: There were a couple bugs in this code, but they&#8217;ve been fixed. Feel free to copy and paste this code (following the instructions), and test for yourself. The newly corrected code is in bold. 
So a lot of people ask me how I seperate &#8220;business logic&#8221; from &#8220;display logic&#8221; in my sites and just [...]]]></description>
		<wfw:commentRss>http://www.crainbandy.com/programming/templates-php-together-in-harmony/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>
