<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Andrew Burgess</title>
	<atom:link href="http://deceptacle.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://deceptacle.com</link>
	<description>It&#039;s my site, welcome to it</description>
	<lastBuildDate>Sun, 29 Jan 2012 22:19:00 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='deceptacle.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://0.gravatar.com/blavatar/8d01f737f9e392c18a36d9a1f071d46f?s=96&#038;d=http%3A%2F%2Fs2.wp.com%2Fi%2Fbuttonw-com.png</url>
		<title>Andrew Burgess</title>
		<link>http://deceptacle.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://deceptacle.com/osd.xml" title="Andrew Burgess" />
	<atom:link rel='hub' href='http://deceptacle.com/?pushpress=hub'/>
		<item>
		<title>Spotify Wallpaper</title>
		<link>http://deceptacle.com/2012/01/27/spotify-wallpaper/</link>
		<comments>http://deceptacle.com/2012/01/27/spotify-wallpaper/#comments</comments>
		<pubDate>Fri, 27 Jan 2012 17:20:14 +0000</pubDate>
		<dc:creator>Andrew Burgess</dc:creator>
				<category><![CDATA[Portfolio]]></category>
		<category><![CDATA[Various]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[spotify]]></category>
		<category><![CDATA[app]]></category>

		<guid isPermaLink="false">http://deceptacle.com/?p=258</guid>
		<description><![CDATA[I put this together real quick last night because I realized that I wouldn&#8217;t mind seeing some different things on my Spotify background instead of just a list of tracks. Check it out at https://github.com/andrewburgess/spotify-wallpaper<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=deceptacle.com&amp;blog=27795711&amp;post=258&amp;subd=deceptacle&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I put this together real quick last night because I realized that I wouldn&#8217;t mind seeing some different things on my Spotify background instead of just a list of tracks.</p>
<div id="attachment_259" class="wp-caption alignnone" style="width: 507px"><a href="http://deceptacle.files.wordpress.com/2012/01/spotify.jpg"><img class="size-full wp-image-259" title="Spotify Wallpaper" src="http://deceptacle.files.wordpress.com/2012/01/spotify.jpg?w=497&#038;h=320" alt="Screenshot of my Spotify Wallpaper app" width="497" height="320" /></a><p class="wp-caption-text">Daft Punk filling up the screen</p></div>
<p>Check it out at <a href="https://github.com/andrewburgess/spotify-wallpaper">https://github.com/andrewburgess/spotify-wallpaper</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/deceptacle.wordpress.com/258/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/deceptacle.wordpress.com/258/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/deceptacle.wordpress.com/258/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/deceptacle.wordpress.com/258/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/deceptacle.wordpress.com/258/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/deceptacle.wordpress.com/258/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/deceptacle.wordpress.com/258/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/deceptacle.wordpress.com/258/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/deceptacle.wordpress.com/258/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/deceptacle.wordpress.com/258/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/deceptacle.wordpress.com/258/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/deceptacle.wordpress.com/258/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/deceptacle.wordpress.com/258/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/deceptacle.wordpress.com/258/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=deceptacle.com&amp;blog=27795711&amp;post=258&amp;subd=deceptacle&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://deceptacle.com/2012/01/27/spotify-wallpaper/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/16f47985e3e66d4e592406b4acc2786f?s=96&#38;d=&#38;r=R" medium="image">
			<media:title type="html">akismet-50fc14aca5af259aaebda9890583e42f</media:title>
		</media:content>

		<media:content url="http://deceptacle.files.wordpress.com/2012/01/spotify.jpg" medium="image">
			<media:title type="html">Spotify Wallpaper</media:title>
		</media:content>
	</item>
		<item>
		<title>Accessing User Object in Spotify App API</title>
		<link>http://deceptacle.com/2012/01/08/accessing-user-object-in-spotify-app-api/</link>
		<comments>http://deceptacle.com/2012/01/08/accessing-user-object-in-spotify-app-api/#comments</comments>
		<pubDate>Mon, 09 Jan 2012 03:00:53 +0000</pubDate>
		<dc:creator>Andrew Burgess</dc:creator>
				<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Portfolio]]></category>
		<category><![CDATA[Various]]></category>
		<category><![CDATA[spotify]]></category>

		<guid isPermaLink="false">http://deceptacle.com/?p=253</guid>
		<description><![CDATA[I recently came across how to access the current user for the Spotify App API. To access, you need to include the following section in your manifest.json file "ApiPermissions": { "core": ["private"] } Then you can use which will return an User object<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=deceptacle.com&amp;blog=27795711&amp;post=253&amp;subd=deceptacle&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I recently came across how to access the current user for the Spotify App API.</p>
<p>To access, you need to include the following section in your <code>manifest.json</code> file</p>
<pre>
"ApiPermissions": {
	"core": ["private"]
}
</pre>
<p>Then you can use</p>
<p><pre class="brush: jscript;">
sp.core.user
</pre></p>
<p>which will return an <a href="http://developer.spotify.com/download/spotify-apps-api/reference/b75bee348d.html" target="_blank">User</a> object</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/deceptacle.wordpress.com/253/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/deceptacle.wordpress.com/253/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/deceptacle.wordpress.com/253/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/deceptacle.wordpress.com/253/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/deceptacle.wordpress.com/253/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/deceptacle.wordpress.com/253/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/deceptacle.wordpress.com/253/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/deceptacle.wordpress.com/253/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/deceptacle.wordpress.com/253/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/deceptacle.wordpress.com/253/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/deceptacle.wordpress.com/253/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/deceptacle.wordpress.com/253/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/deceptacle.wordpress.com/253/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/deceptacle.wordpress.com/253/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=deceptacle.com&amp;blog=27795711&amp;post=253&amp;subd=deceptacle&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://deceptacle.com/2012/01/08/accessing-user-object-in-spotify-app-api/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/16f47985e3e66d4e592406b4acc2786f?s=96&#38;d=&#38;r=R" medium="image">
			<media:title type="html">akismet-50fc14aca5af259aaebda9890583e42f</media:title>
		</media:content>
	</item>
		<item>
		<title>Simple CSV Parser</title>
		<link>http://deceptacle.com/2011/12/28/simple-csv-parser/</link>
		<comments>http://deceptacle.com/2011/12/28/simple-csv-parser/#comments</comments>
		<pubDate>Wed, 28 Dec 2011 15:17:23 +0000</pubDate>
		<dc:creator>Andrew Burgess</dc:creator>
				<category><![CDATA[C#]]></category>
		<category><![CDATA[Portfolio]]></category>
		<category><![CDATA[csv]]></category>
		<category><![CDATA[parsing]]></category>

		<guid isPermaLink="false">http://deceptacle.com/?p=250</guid>
		<description><![CDATA[I put together a quick CSV parser that will return a list of strings from a given line. Handles the cases of quoted entries containing both double quotes and commas within the particular cell<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=deceptacle.com&amp;blog=27795711&amp;post=250&amp;subd=deceptacle&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I put together a quick CSV parser that will return a list of strings from a given line. Handles the cases of quoted entries containing both double quotes and commas within the particular cell</p>
<p><pre class="brush: csharp; light: true;">
public static List&lt;string&gt; SplitCSVLine(string line)
{
	var ret = new List&lt;string&gt;();

	var quoted = false;
	var tokenQuoted = false;
	var currentToken = new StringBuilder();
	foreach (var c in line)
	{
		switch (c)
		{
			case '&quot;':
				if (quoted == false &amp;&amp; tokenQuoted == false)
				{
					quoted = true;
					tokenQuoted = true;
					break;
				}

				if (quoted &amp;&amp; tokenQuoted)
				{
					quoted = false;
					break;
				}

				if (quoted == false &amp;&amp; tokenQuoted)
				{
					currentToken.Append(c);
					quoted = true;
					break;
				}

				break;
			case ',':
				if (quoted)
				{
					currentToken.Append(c);
					break;
				}

				ret.Add(currentToken.ToString());
				currentToken = new StringBuilder();
				tokenQuoted = false;

				break;
			default:
				currentToken.Append(c);
				break;
		}
	}

	return ret;
}
</pre></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/deceptacle.wordpress.com/250/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/deceptacle.wordpress.com/250/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/deceptacle.wordpress.com/250/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/deceptacle.wordpress.com/250/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/deceptacle.wordpress.com/250/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/deceptacle.wordpress.com/250/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/deceptacle.wordpress.com/250/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/deceptacle.wordpress.com/250/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/deceptacle.wordpress.com/250/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/deceptacle.wordpress.com/250/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/deceptacle.wordpress.com/250/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/deceptacle.wordpress.com/250/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/deceptacle.wordpress.com/250/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/deceptacle.wordpress.com/250/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=deceptacle.com&amp;blog=27795711&amp;post=250&amp;subd=deceptacle&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://deceptacle.com/2011/12/28/simple-csv-parser/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/16f47985e3e66d4e592406b4acc2786f?s=96&#38;d=&#38;r=R" medium="image">
			<media:title type="html">akismet-50fc14aca5af259aaebda9890583e42f</media:title>
		</media:content>
	</item>
		<item>
		<title>Spotify App API: Some Things</title>
		<link>http://deceptacle.com/2011/12/26/spotify-app-api-some-things/</link>
		<comments>http://deceptacle.com/2011/12/26/spotify-app-api-some-things/#comments</comments>
		<pubDate>Tue, 27 Dec 2011 02:36:39 +0000</pubDate>
		<dc:creator>Andrew Burgess</dc:creator>
				<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Portfolio]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[spotify]]></category>

		<guid isPermaLink="false">http://deceptacle.com/?p=239</guid>
		<description><![CDATA[Spotify now has an application framework, yet the documentation is still fairly limited. Here are some things that aren&#8217;t in the documentation that will be helpful. (Note: I&#8217;m using jQuery in my application) Starting Things Off There are some imports and variables to declare in order to understand the examples below. Display a playlist using [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=deceptacle.com&amp;blog=27795711&amp;post=239&amp;subd=deceptacle&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><a href="http://spotify.com" target="_blank">Spotify</a> now has an <a href="http://www.spotify.com/us/about/apps/" target="_blank">application framework</a>, yet the documentation is still fairly limited. Here are some things that aren&#8217;t in the documentation that will be helpful. (Note: I&#8217;m using jQuery in my application)</p>
<h2>Starting Things Off</h2>
<p>There are some imports and variables to declare in order to understand the examples below.</p>
<p><pre class="brush: jscript; light: true;">
var sp = getSpotifyApi(1);
var views = sp.require(&quot;sp://import/scripts/api/views&quot;);
var models = sp.require(&quot;sp://import/scripts/api/models&quot;);
var ui = sp.require(&quot;sp://import/scripts/ui&quot;);
</pre></p>
<h2>Display a playlist using Spotify&#8217;s <a href="http://developer.spotify.com/download/spotify-apps-api/reference/2b81e9e135.html" target="_blank">List</a> item</h2>
<p><pre class="brush: jscript; light: true;">
var list = new views.List(playlist, function (track) {
	return new views.Track(track, views.Track.FIELD.STAR |
				views.Track.FIELD.SHARE |
				views.Track.FIELD.NAME |
				views.Track.FIELD.ARTIST |
				views.Track.FIELD.DURATION |
				views.Track.FIELD.ALBUM);
});
$(&quot;#playlist&quot;).append(list.node);
</pre></p>
<p>The constructor for the List class takes three arguments. In the above example, I only use the first two, which are: a playlist object to display, and a method for returning exactly how to display the tracks in the playlist. There are a number of different fields that can be added into the tail end of the views.Track() constructor, but the ones listed are a good start.</p>
<p><strong>To make the list use the light theme</strong></p>
<p><pre class="brush: jscript; light: true;">
list.node.classList.add(&quot;sp-light&quot;);
</pre></p>
<h2>Display Artist/Album Image</h2>
<p>The API includes a class for displaying images based on a URI that can be resized to fit a container.</p>
<p><pre class="brush: jscript; light: true;">
var track = sp.trackPlayer.getNowPlayingTrack().track;
var img = new ui.SPImage(track.album.cover);
$(&quot;album-cover&quot;).append(img.node);
</pre></p>
<p>If you want to include <a href="http://developer.spotify.com/download/spotify-apps-api/reference/ca28d10757.html" target="_blank">Player</a> controls over the image, use this:</p>
<p><pre class="brush: jscript; light: true;">
var player = new views.Player();
$(&quot;#album-cover&quot;).empty().append($(document.createElement(&quot;a&quot;)).attr(&quot;href&quot;, track.uri));
var img = new ui.SPImage(track.album.cover);
$(player.image).empty();
$(player.image).append(img.node);
$(&quot;#album-cover&quot;).children().append(player.node);
</pre></p>
<p>You can programmatically set the context/playing status of the player using <code>player.context = playlist.uri</code> and <code>player.playing = true</code>. You can also use the <code>player.play(track, playlist.uri)</code> method to start things off.</p>
<p>Hopefully these few things help, and I&#8217;ll be sure to add a new post with additional examples as I come across them</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/deceptacle.wordpress.com/239/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/deceptacle.wordpress.com/239/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/deceptacle.wordpress.com/239/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/deceptacle.wordpress.com/239/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/deceptacle.wordpress.com/239/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/deceptacle.wordpress.com/239/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/deceptacle.wordpress.com/239/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/deceptacle.wordpress.com/239/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/deceptacle.wordpress.com/239/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/deceptacle.wordpress.com/239/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/deceptacle.wordpress.com/239/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/deceptacle.wordpress.com/239/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/deceptacle.wordpress.com/239/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/deceptacle.wordpress.com/239/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=deceptacle.com&amp;blog=27795711&amp;post=239&amp;subd=deceptacle&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://deceptacle.com/2011/12/26/spotify-app-api-some-things/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/16f47985e3e66d4e592406b4acc2786f?s=96&#38;d=&#38;r=R" medium="image">
			<media:title type="html">akismet-50fc14aca5af259aaebda9890583e42f</media:title>
		</media:content>
	</item>
		<item>
		<title>Capitalizing Text in SQL Server</title>
		<link>http://deceptacle.com/2011/10/11/capitalizing-text-in-sql-server/</link>
		<comments>http://deceptacle.com/2011/10/11/capitalizing-text-in-sql-server/#comments</comments>
		<pubDate>Tue, 11 Oct 2011 20:15:17 +0000</pubDate>
		<dc:creator>Andrew Burgess</dc:creator>
				<category><![CDATA[Portfolio]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[data processing]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[sql server]]></category>

		<guid isPermaLink="false">http://deceptacle.com/?p=224</guid>
		<description><![CDATA[I recently had to scramble to put together a script to change a column of strings from being all UPPERCASE to being Capitalized. It wasn&#8217;t enough to just capitalize the first letter of the string because some of the strings were multiple words that all needed to be capitalized. Luckily I stumbled upon this function [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=deceptacle.com&amp;blog=27795711&amp;post=224&amp;subd=deceptacle&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I recently had to scramble to put together a script to change a column of strings from being all UPPERCASE to being Capitalized. It wasn&#8217;t enough to just capitalize the first letter of the string because some of the strings were multiple words that all needed to be capitalized.</p>
<p>Luckily I stumbled upon this function at <a href="http://www.sql-server-helper.com/functions/initcap.aspx" target="_blank">http://www.sql-server-helper.com/functions/initcap.aspx</a> which is an implementation of a built in function for Oracle, but is missing in MSSQL</p>
<p><pre class="brush: sql; light: true;">
CREATE FUNCTION [dbo].[InitCap] ( @InputString varchar(4000) ) 
RETURNS VARCHAR(4000)
AS
BEGIN

DECLARE @Index          INT
DECLARE @Char           CHAR(1)
DECLARE @PrevChar       CHAR(1)
DECLARE @OutputString   VARCHAR(255)

SET @OutputString = LOWER(@InputString)
SET @Index = 1

WHILE @Index &lt;= LEN(@InputString)
BEGIN
    SET @Char     = SUBSTRING(@InputString, @Index, 1)
    SET @PrevChar = CASE WHEN @Index = 1 THEN ' '
                         ELSE SUBSTRING(@InputString, @Index - 1, 1)
                    END

    IF @PrevChar IN (' ', ';', ':', '!', '?', ',', '.', '_', '-', '/', '&amp;', '''', '(')
    BEGIN
        IF @PrevChar != '''' OR UPPER(@Char) != 'S'
            SET @OutputString = STUFF(@OutputString, @Index, 1, UPPER(@Char))
    END

    SET @Index = @Index + 1
END

RETURN @OutputString

END
GO
</pre></p>
<p>I realized that I could leverage this function to aid in updating my dataset to set the strings to their proper casing. In order to accomplish this, I had to write another query which would let me update each individual row in the table with a different value.</p>
<p>The method I chose involved an <a href="http://www.sqlteam.com/article/temporary-tables" target="_blank">in-memory table</a> to store the capitalized names which I could then join to my <code>UPDATE</code> query to complete the process</p>
<p><pre class="brush: sql; light: true;">
DECLARE @Names TABLE (id INT, name NVARCHAR(100))
INSERT INTO @Names (id, name)
(SELECT [id], dbo.InitCap([name]) as name FROM Counties)

UPDATE Counties
SET name = (SELECT name FROM @Names as n WHERE n.id = Counties.id)
</pre></p>
<p>The temporary table has two columns, <code>id</code> and <code>name</code>. I insert the <code>id</code> from the base table, as well as the modified <code>name</code> which has the <code>InitCap</code> function applied to it.</p>
<p>Once the table is created, it&#8217;s attached to the <code>UPDATE</code> statement to select the correct data from the temporary table and store it to the linked column in the base table.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/deceptacle.wordpress.com/224/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/deceptacle.wordpress.com/224/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/deceptacle.wordpress.com/224/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/deceptacle.wordpress.com/224/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/deceptacle.wordpress.com/224/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/deceptacle.wordpress.com/224/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/deceptacle.wordpress.com/224/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/deceptacle.wordpress.com/224/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/deceptacle.wordpress.com/224/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/deceptacle.wordpress.com/224/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/deceptacle.wordpress.com/224/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/deceptacle.wordpress.com/224/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/deceptacle.wordpress.com/224/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/deceptacle.wordpress.com/224/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=deceptacle.com&amp;blog=27795711&amp;post=224&amp;subd=deceptacle&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://deceptacle.com/2011/10/11/capitalizing-text-in-sql-server/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/16f47985e3e66d4e592406b4acc2786f?s=96&#38;d=&#38;r=R" medium="image">
			<media:title type="html">akismet-50fc14aca5af259aaebda9890583e42f</media:title>
		</media:content>
	</item>
		<item>
		<title>Sitecore: Add Title To Images</title>
		<link>http://deceptacle.com/2011/10/03/sitecore-add-title-to-images/</link>
		<comments>http://deceptacle.com/2011/10/03/sitecore-add-title-to-images/#comments</comments>
		<pubDate>Mon, 03 Oct 2011 18:55:32 +0000</pubDate>
		<dc:creator>Andrew Burgess</dc:creator>
				<category><![CDATA[C#]]></category>
		<category><![CDATA[Portfolio]]></category>
		<category><![CDATA[Sitecore]]></category>
		<category><![CDATA[accessibility]]></category>

		<guid isPermaLink="false">http://deceptacle.com/?p=204</guid>
		<description><![CDATA[One of our projects needed the title attribute filled out automatically for image elements. I had originally thought that Sitecore handled this automatically, but apparently that is not the case, so I put together this Pipeline Processor (built off of a source that I have forgotten unfortunately, but will link to if I remember). The [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=deceptacle.com&amp;blog=27795711&amp;post=204&amp;subd=deceptacle&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>One of our projects needed the title attribute filled out automatically for image elements. I had originally thought that Sitecore handled this automatically, but apparently that is not the case, so I put together this Pipeline Processor (built off of a source that I have forgotten unfortunately, but will link to if I remember).</p>
<p>The first thing to do is put the following in your Web.config:</p>
<p><pre class="brush: xml;">
&lt;pipelines&gt;
  &lt;renderField&gt;
    &lt;processor type=&quot;Your.Namespace.AddTitleToImage, Your.Assembly&quot; /&gt;
  &lt;/renderField&gt;
&lt;/pipelines&gt;
</pre></p>
<p>After putting that in your Web.config, create the following class with the appropriate namespace/assembly information:</p>
<p><pre class="brush: csharp;">
public class AddTitleToImage
{
	public void Process(RenderFieldArgs args)
	{
		if (args.FieldTypeKey == &quot;image&quot;)
		{
			args.Parameters.Add(&quot;title&quot;, ((ImageField) args.GetField()).Alt);
			var renderer = new ImageRenderer();
			renderer.Item = args.Item;
			renderer.FieldName = args.FieldName;
			renderer.FieldValue = args.FieldValue;
			renderer.Parameters = args.Parameters;
			args.WebEditParameters.AddRange(args.Parameters);
 
			var result = renderer.Render();
			args.Result.FirstPart = result.FirstPart;
			args.Result.LastPart = result.LastPart;
		}
	}
}
</pre></p>
<p>This works on any image that Sitecore has to render in the page that is being produced, so you can be ensured that the title attribute will be set when using a Sitecore image.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/deceptacle.wordpress.com/204/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/deceptacle.wordpress.com/204/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/deceptacle.wordpress.com/204/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/deceptacle.wordpress.com/204/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/deceptacle.wordpress.com/204/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/deceptacle.wordpress.com/204/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/deceptacle.wordpress.com/204/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/deceptacle.wordpress.com/204/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/deceptacle.wordpress.com/204/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/deceptacle.wordpress.com/204/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/deceptacle.wordpress.com/204/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/deceptacle.wordpress.com/204/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/deceptacle.wordpress.com/204/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/deceptacle.wordpress.com/204/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=deceptacle.com&amp;blog=27795711&amp;post=204&amp;subd=deceptacle&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://deceptacle.com/2011/10/03/sitecore-add-title-to-images/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/16f47985e3e66d4e592406b4acc2786f?s=96&#38;d=&#38;r=R" medium="image">
			<media:title type="html">akismet-50fc14aca5af259aaebda9890583e42f</media:title>
		</media:content>
	</item>
		<item>
		<title>Project &#8211; Spotify Tools</title>
		<link>http://deceptacle.com/2011/08/03/project-spotify-tools/</link>
		<comments>http://deceptacle.com/2011/08/03/project-spotify-tools/#comments</comments>
		<pubDate>Wed, 03 Aug 2011 21:04:00 +0000</pubDate>
		<dc:creator>Andrew Burgess</dc:creator>
				<category><![CDATA[C#]]></category>
		<category><![CDATA[Portfolio]]></category>

		<guid isPermaLink="false">http://deceptacle.com/?p=122</guid>
		<description><![CDATA[I&#8217;ve been working occasionally on a project to help generate Spotify playlists using some of the various tools that are available (right now Last.FM and EchoNest). The repository is located here: https://andrewburgess.kilnhg.com/Repo/Miscellaneous/Group/Spotify-Tools At the moment, only the similar artist generators for Last.FM and EchoNest are working, but I&#8217;m hoping to add in additional functionality when I [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=deceptacle.com&amp;blog=27795711&amp;post=122&amp;subd=deceptacle&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been working occasionally on a project to help generate Spotify playlists using some of the various tools that are available (right now <a href="http://last.fm" target="_blank">Last.FM</a> and <a href="http://the.echonest.com" target="_blank">EchoNest</a>).</p>
<p>The repository is located here: <a href="https://andrewburgess.kilnhg.com/Repo/Miscellaneous/Group/Spotify-Tools">https://andrewburgess.kilnhg.com/Repo/Miscellaneous/Group/Spotify-Tools</a></p>
<p>At the moment, only the similar artist generators for Last.FM and EchoNest are working, but I&#8217;m hoping to add in additional functionality when I feel more motivated, as well as create a more intuitive interface.</p>
<p>If you decide to build the application for yourself, you&#8217;ll need to get a Spotify <a href="https://developer.spotify.com/en/libspotify/application-key/" target="_blank">API Key</a>, Last.FM <a href="http://www.last.fm/api/account" target="_blank">API Key</a>, and an EchoNest <a href="http://developer.echonest.com/account/register" target="_blank">API Key</a>, then create a new class in the project root called Keys, and assign the appropriate properties with the received keys.</p>
<p>You can open issues in my bug tracker here: <a href="https://andrewburgess.fogbugz.com/">https://andrewburgess.fogbugz.com/</a>. Just sign up for an account and click New Case on the main page.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/deceptacle.wordpress.com/122/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/deceptacle.wordpress.com/122/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/deceptacle.wordpress.com/122/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/deceptacle.wordpress.com/122/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/deceptacle.wordpress.com/122/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/deceptacle.wordpress.com/122/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/deceptacle.wordpress.com/122/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/deceptacle.wordpress.com/122/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/deceptacle.wordpress.com/122/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/deceptacle.wordpress.com/122/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/deceptacle.wordpress.com/122/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/deceptacle.wordpress.com/122/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/deceptacle.wordpress.com/122/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/deceptacle.wordpress.com/122/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=deceptacle.com&amp;blog=27795711&amp;post=122&amp;subd=deceptacle&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://deceptacle.com/2011/08/03/project-spotify-tools/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/16f47985e3e66d4e592406b4acc2786f?s=96&#38;d=&#38;r=R" medium="image">
			<media:title type="html">akismet-50fc14aca5af259aaebda9890583e42f</media:title>
		</media:content>
	</item>
		<item>
		<title>Simian Mobile Disco &#8211; Audacity of Huge</title>
		<link>http://deceptacle.com/2011/08/03/simian-mobile-disco-audacity-of-huge/</link>
		<comments>http://deceptacle.com/2011/08/03/simian-mobile-disco-audacity-of-huge/#comments</comments>
		<pubDate>Wed, 03 Aug 2011 20:52:55 +0000</pubDate>
		<dc:creator>Andrew Burgess</dc:creator>
				<category><![CDATA[Links]]></category>
		<category><![CDATA[Music]]></category>

		<guid isPermaLink="false">http://deceptacle.com/?p=120</guid>
		<description><![CDATA[Very catchy tune<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=deceptacle.com&amp;blog=27795711&amp;post=120&amp;subd=deceptacle&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><object width="497" height="280"><param name="movie" value="http://www.youtube.com/v/Ylu0ybj7DIg?version=3"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/Ylu0ybj7DIg?version=3" type="application/x-shockwave-flash" width="497" height="280" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
<p>Very catchy tune</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/deceptacle.wordpress.com/120/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/deceptacle.wordpress.com/120/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/deceptacle.wordpress.com/120/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/deceptacle.wordpress.com/120/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/deceptacle.wordpress.com/120/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/deceptacle.wordpress.com/120/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/deceptacle.wordpress.com/120/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/deceptacle.wordpress.com/120/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/deceptacle.wordpress.com/120/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/deceptacle.wordpress.com/120/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/deceptacle.wordpress.com/120/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/deceptacle.wordpress.com/120/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/deceptacle.wordpress.com/120/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/deceptacle.wordpress.com/120/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=deceptacle.com&amp;blog=27795711&amp;post=120&amp;subd=deceptacle&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://deceptacle.com/2011/08/03/simian-mobile-disco-audacity-of-huge/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/16f47985e3e66d4e592406b4acc2786f?s=96&#38;d=&#38;r=R" medium="image">
			<media:title type="html">akismet-50fc14aca5af259aaebda9890583e42f</media:title>
		</media:content>
	</item>
		<item>
		<title>Sesame Street Breaks it Down</title>
		<link>http://deceptacle.com/2011/07/20/sesame-street-breaks-it-down/</link>
		<comments>http://deceptacle.com/2011/07/20/sesame-street-breaks-it-down/#comments</comments>
		<pubDate>Thu, 21 Jul 2011 02:43:49 +0000</pubDate>
		<dc:creator>Andrew Burgess</dc:creator>
				<category><![CDATA[Links]]></category>
		<category><![CDATA[Videos]]></category>

		<guid isPermaLink="false">http://deceptacle.com/?p=104</guid>
		<description><![CDATA[<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=deceptacle.com&amp;blog=27795711&amp;post=104&amp;subd=deceptacle&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><iframe src="http://player.vimeo.com/video/26570444" width="497" height="373" frameborder="0" webkitAllowFullScreen allowFullScreen></iframe></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/deceptacle.wordpress.com/104/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/deceptacle.wordpress.com/104/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/deceptacle.wordpress.com/104/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/deceptacle.wordpress.com/104/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/deceptacle.wordpress.com/104/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/deceptacle.wordpress.com/104/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/deceptacle.wordpress.com/104/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/deceptacle.wordpress.com/104/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/deceptacle.wordpress.com/104/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/deceptacle.wordpress.com/104/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/deceptacle.wordpress.com/104/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/deceptacle.wordpress.com/104/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/deceptacle.wordpress.com/104/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/deceptacle.wordpress.com/104/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=deceptacle.com&amp;blog=27795711&amp;post=104&amp;subd=deceptacle&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://deceptacle.com/2011/07/20/sesame-street-breaks-it-down/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/16f47985e3e66d4e592406b4acc2786f?s=96&#38;d=&#38;r=R" medium="image">
			<media:title type="html">akismet-50fc14aca5af259aaebda9890583e42f</media:title>
		</media:content>
	</item>
		<item>
		<title>Netflix Cartoon</title>
		<link>http://deceptacle.com/2011/07/20/netflix-cartoon/</link>
		<comments>http://deceptacle.com/2011/07/20/netflix-cartoon/#comments</comments>
		<pubDate>Thu, 21 Jul 2011 02:34:33 +0000</pubDate>
		<dc:creator>Andrew Burgess</dc:creator>
				<category><![CDATA[Images]]></category>
		<category><![CDATA[Links]]></category>

		<guid isPermaLink="false">http://deceptacle.com/?p=102</guid>
		<description><![CDATA[<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=deceptacle.com&amp;blog=27795711&amp;post=102&amp;subd=deceptacle&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><a href="http://cache.gawker.com/assets/images/gizmodo/2011/07/netflixstudio720.jpg"><img class="aligncenter" title="Netflix" src="http://cache.gawker.com/assets/images/gizmodo/2011/07/netflixstudio720.jpg" alt="" width="495" /></a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/deceptacle.wordpress.com/102/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/deceptacle.wordpress.com/102/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/deceptacle.wordpress.com/102/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/deceptacle.wordpress.com/102/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/deceptacle.wordpress.com/102/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/deceptacle.wordpress.com/102/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/deceptacle.wordpress.com/102/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/deceptacle.wordpress.com/102/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/deceptacle.wordpress.com/102/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/deceptacle.wordpress.com/102/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/deceptacle.wordpress.com/102/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/deceptacle.wordpress.com/102/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/deceptacle.wordpress.com/102/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/deceptacle.wordpress.com/102/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=deceptacle.com&amp;blog=27795711&amp;post=102&amp;subd=deceptacle&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://deceptacle.com/2011/07/20/netflix-cartoon/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/16f47985e3e66d4e592406b4acc2786f?s=96&#38;d=&#38;r=R" medium="image">
			<media:title type="html">akismet-50fc14aca5af259aaebda9890583e42f</media:title>
		</media:content>

		<media:content url="http://cache.gawker.com/assets/images/gizmodo/2011/07/netflixstudio720.jpg" medium="image">
			<media:title type="html">Netflix</media:title>
		</media:content>
	</item>
	</channel>
</rss>
