<?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>Brett Terpstraphp - Brett Terpstra</title>
	<atom:link href="http://brettterpstra.com/tag/php/feed/" rel="self" type="application/rss+xml" />
	<link>http://brettterpstra.com</link>
	<description>Elegant solutions to complex problems.</description>
	<lastBuildDate>Fri, 03 Feb 2012 03:11:46 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
		<item>
		<title>HomeControl: Local Mac control for iPhone</title>
		<link>http://brettterpstra.com/homecontrol-local-mac-control-for-iphone/</link>
		<comments>http://brettterpstra.com/homecontrol-local-mac-control-for-iphone/#comments</comments>
		<pubDate>Sun, 03 Oct 2010 02:31:37 +0000</pubDate>
		<dc:creator>Brett</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Code]]></category>
		<category><![CDATA[Featured]]></category>
		<category><![CDATA[applescript]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[scripting]]></category>

		<guid isPermaLink="false">http://brettterpstra.com/?p=1041</guid>
		<description><![CDATA[<p>I put together this little web app today as a proof of concept (that got a little out of hand). It basically provides a full interface for volume control, application starting and stopping and many iTunes functions, including volume and EQ. All features provide interface feedback and update you with current info from your Mac.</p><p>Originally posted on <a href="http://brettterpstra.com" title="BrettTerpstra.com">BrettTerpstra.com</a> at <a href="http://brettterpstra.com/homecontrol-local-mac-control-for-iphone/">HomeControl: Local Mac control for iPhone</a></p>]]></description>
			<content:encoded><![CDATA[<p><img style=' float: right; padding: 4px; margin: 0 0 2px 7px;'  src="http://cdn2.brettterpstra.com/wp-content/uploads/2010/10/homecontrolpostimage.jpg?9d7bd4" alt="" title="homecontrolpostimage" width="300" height="264" class="alignright size-full wp-image-1047 colorbox-1041" />I tried out <a href="http://dashdingo.org/post/1075781336/mute-mac-osx-from-iphone">a tip</a> recently for controlling a Mac via Mobile Safari on your iPhone, and it got me thinking, which is often dangerous. I put together this little web app today as a proof of concept (that got a little out of hand). It basically provides a full interface for volume control, application starting and stopping and many iTunes functions, including volume and EQ. All features provide interface feedback and update you with current info from your Mac.</p>

<h3>Video preview</h3>

<p>httpv://www.youtube.com/watch?v=KTcISVU4Nf4</p>

<p><a href="http://www.youtube.com/watch?v=KTcISVU4Nf4&amp;fmt=21">YouTube Link…</a></p>

<p><span id="more-1041"></span></p>

<h3>Setting up your web server</h3>

<p>To run it, you need to run your local web server as your own user. This is, of course, a major security risk and completely inadvisable if your local web server is open to outsiders in any way. Mine’s not, so I didn’t put too much time into figuring out a more secure way to do this. If you have any clues in that area, let me know and I’ll post them.</p>

<p>To run your local web server as a different user, you need to edit <code>/etc/apache2/httpd.conf</code>. You’ll need to edit it as root, so use sudo to launch your text editor of choice (e.g. <code>sudo vi /etc/apache2/httpd.conf</code>). If you, like me, just use TextMate’s <code>mate</code> command, you’ll be prompted for a password when you save.</p>

<p>Locate the lines:</p>

<pre><code>User _www
Group _www
</code></pre>

<p>Change them to:</p>

<pre><code>User yourusername
Group staff
</code></pre>

<p>You’ll also need to enable PHP, if you haven’t already. If you haven’t, locate the line that starts with:</p>

<pre><code>#LoadModule php5_module
</code></pre>

<p>Just remove the hashmark at the beginning (#) to turn PHP on.</p>

<p>Now, at the command line, type <code>sudo apachectl graceful</code> to restart the server under the new user. If everything is in place, you’ll be able to run HomeControl without a hitch now. Turn on Web Sharing in System Preferences &gt; Sharing to keep the web server running through reboots and logouts.</p>

<h3>Installing HomeControl</h3>

<p>Just download the zip file at the end of this post and unzip it into your <code>~/Sites</code> folder. If you prefer to have it elsewhere, or have a custom folder set up for Apache, it will run just fine in any folder, as long as you can access it from a web browser on the local network.</p>

<p>Next, point your web browser to the folder. If you put the ‘homecontrol’ folder directly in <code>~/Sites</code>, you should be able to reach it at the url <code>http://computer_name.local/~Username/homecontrol</code>. You need to know the name of the computer it’s on (set in System Preferences &gt; Sharing, at the top), and your username on that system, substituting each in the appropriate place in the url.</p>

<p>Once you’ve loaded the page and tested it out, use the “+” icon at the bottom of Mobile Safari’s web browser to add an icon to your home screen which will take you directly there in the future, and will run the app full-screen.</p>

<h3>Customizing HomeControl</h3>

<p>Since I know not everybody who wants to try this out is going to be ready to hack into the jQuery and PHP, I made quite a few bits of the app modifiable with simple HTML edits. If you’re comfortable with that, you can change the list of applications and add iTunes features quite easily.</p>

<h4>Application launcher</h4>

<ul>
<li>Locate the div with the id “apps”</li>
<li>Find the unordered list (<code>&lt;ul&gt;</code>) inside of it</li>
<li>Edit or copy and edit existing lines by changing only the name of the application in the first span</li>
<li>Use the exact displayed name of the application you want to control, and HomeControl will pass it to the PHP exec function</li>
</ul>

<h4>iTunes functions</h4>

<ul>
<li>Locate the div with the id “itunes”</li>
<li>Find the unordered list inside of it with the id “itunescmd”</li>
<li>Add new features by copying an existing line and changing the rel attribute and the text of the link

<ul>
<li>The rel attribute passes the actual iTunes AppleScript command, which will be appended to a ‘<code>tell application "iTunes" to</code>’ line and passed to osascript</li>
<li>The text of the link is the title which will appear in the menu</li>
</ul></li>
</ul>

<h4>iTunes EQ Presets</h4>

<ul>
<li>Locate the div with the id “ituneseq”</li>
<li>Find the unordered list inside of it</li>
<li>Edit the text of the links in the list with the exact title of the preset you want to control</li>
<li>Add or remove list items as desired</li>
</ul>

<h4>Startup screen and icon</h4>

<ul>
<li>Edit <code>homecontrolicon.png</code> in the <code>homecontrol</code> folder to customize the app’s icon on the homescreen.</li>
<li>Edit <code>hc_startup.png</code> in the <code>homecontrol</code> folder to customize the startup screen.</li>
<li>If you’ve installed the web app, delete the icon and reinstall from Mobile Safari to see the new images.</li>
</ul>

<h4>Advanced customization</h4>

<p>If you’re handy with the jQuery, the PHP and the HTML, you can do a lot with the examples in the code. It’s very much a proof-of-concept, and intended to be a jumping point for more experimentation, so have at it.</p>

<p>The app currently uses the <a href="http://www.jqtouch.com/">jQTouch</a> library, but mostly for the CSS. It has very few dependencies on the API, so it should be a relatively trivial matter to switch to a different library. It does rely quite heavily on jQuery, though.</p>

<p>The main PHP/osascript calls are in <code>functions.php</code>. All functions are called using jQuery’s $.get function, which makes Ajax calls to the <code>functions.php</code> file in the background and receives updates on completion.</p>

<p>Have fun, hopefully my horrible waste of time will be someone else’s inspiration…</p>

<p><div id="attachment_1045" class="wp-caption alignleft" style="width: 160px;  border: 1px solid #dddddd; background-color: #f3f3f3; padding-top: 4px; margin: 10px; text-align:center; float: left;"><a href="http://cdn2.brettterpstra.com/wp-content/uploads/2010/10/homecontrolhomescreen.jpg?9d7bd4"><img src="http://cdn2.brettterpstra.com/wp-content/uploads/2010/10/homecontrolhomescreen-150x150.jpg?9d7bd4" alt="Screenshot of HomeControl Main Screen" title="HomeControl Main Screen" width="150" height="150" class="size-thumbnail wp-image-1045 colorbox-1041" /></a><p style=' padding: 0 4px 5px; margin: 0;'  class="wp-caption-text"> Main Screen</p></div>
<div id="attachment_1042" class="wp-caption alignleft" style="width: 160px;  border: 1px solid #dddddd; background-color: #f3f3f3; padding-top: 4px; margin: 10px; text-align:center; float: left;"><a href="http://cdn2.brettterpstra.com/wp-content/uploads/2010/10/homecontrolapplications.jpg?9d7bd4"><img src="http://cdn2.brettterpstra.com/wp-content/uploads/2010/10/homecontrolapplications-150x150.jpg?9d7bd4" alt="Screenshot of HomeControl Applications Screen" title="HomeControl Applications Screen" width="150" height="150" class="size-thumbnail wp-image-1042 colorbox-1041" /></a><p style=' padding: 0 4px 5px; margin: 0;'  class="wp-caption-text">Applications Screen</p></div>
<div id="attachment_1046" class="wp-caption alignleft" style="width: 160px;  border: 1px solid #dddddd; background-color: #f3f3f3; padding-top: 4px; margin: 10px; text-align:center; float: left;"><a href="http://cdn2.brettterpstra.com/wp-content/uploads/2010/10/homecontrolitunes.jpg?9d7bd4"><img src="http://cdn2.brettterpstra.com/wp-content/uploads/2010/10/homecontrolitunes-150x150.jpg?9d7bd4" alt="Screenshot of HomeControl iTunes controls" title="HomeControl iTunes controls" width="150" height="150" class="size-thumbnail wp-image-1046 colorbox-1041" /></a><p style=' padding: 0 4px 5px; margin: 0;'  class="wp-caption-text">iTunes controls</p></div></p>

<h3>Download</h3>

<div class="download_desc"><p class="download-icon"><a href="http://brettterpstra.com/downloads/homecontrol.0.10.zip?9d7bd4" title="Download HomeControl (1348)"><img class="colorbox-1041"  src="http://cdn2.brettterpstra.com/wp-content/uploads/downloads/thumbnails/2010/10/homecontrolicon.png?9d7bd4" alt="download image for HomeControl" width="64" /></a><br /><a href="http://brettterpstra.com/downloads/homecontrol.0.10.zip?9d7bd4" title="Download HomeControl (1348)" class="download-button">Download</a></p><p class="desc"><a href="http://brettterpstra.com/downloads/homecontrol.0.10.zip?9d7bd4" title="Download HomeControl (1348)">HomeControl</a> — A web app—designed to run on a local server and be accessed over the local network—which provides control over volume, iTunes features and application launching. This is a skeleton for further experimentation. <a href="http://brettterpstra.com/homecontrol-local-mac-control-for-iphone">More Info</a></p></div>


<p>Related posts:<ol>
<li><a href='http://brettterpstra.com/promptdown-for-ios-mobile-markdown-teleprompter/' rel='bookmark' title='PromptDown for iOS: Mobile Markdown Teleprompter'>PromptDown for iOS: Mobile Markdown Teleprompter</a></li>
<li><a href='http://brettterpstra.com/the-mac-and-ios-mind-mapping-app-extravaganza/' rel='bookmark' title='The Mac and iOS mind mapping app extravaganza'>The Mac and iOS mind mapping app extravaganza</a></li>
<li><a href='http://brettterpstra.com/promptdown-markdown-teleprompter/' rel='bookmark' title='Look, I made you a Markdown teleprompter'>Look, I made you a Markdown teleprompter</a></li>
</ol></p><p>Originally posted on <a href="http://brettterpstra.com" title="BrettTerpstra.com">BrettTerpstra.com</a> at <a href="http://brettterpstra.com/homecontrol-local-mac-control-for-iphone/">HomeControl: Local Mac control for iPhone</a></p>]]></content:encoded>
			<wfw:commentRss>http://brettterpstra.com/homecontrol-local-mac-control-for-iphone/feed/</wfw:commentRss>
		<slash:comments>41</slash:comments>
		</item>
		<item>
		<title>Evernote Site Memory tagger for WordPress</title>
		<link>http://brettterpstra.com/evernote-site-memory-tagger-for-wordpress/</link>
		<comments>http://brettterpstra.com/evernote-site-memory-tagger-for-wordpress/#comments</comments>
		<pubDate>Fri, 10 Sep 2010 10:06:52 +0000</pubDate>
		<dc:creator>Brett</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Code]]></category>
		<category><![CDATA[evernote]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://brettterpstra.com/?p=947</guid>
		<description><![CDATA[<p>Evernote introduced Site Memory today, providing an easy way to help people clip to Evernote from your site while maintaining control over how your content appears and is attributed. While some instructions are provided for WordPress, some of us will obviously want to customize things a little further. Brett Kelly posted a quick PHP script on the Evernote WordPress docs&#8230;</p><p>Originally posted on <a href="http://brettterpstra.com" title="BrettTerpstra.com">BrettTerpstra.com</a> at <a href="http://brettterpstra.com/evernote-site-memory-tagger-for-wordpress/">Evernote Site Memory tagger for WordPress</a></p>]]></description>
			<content:encoded><![CDATA[<p><img style=' display:none'  class="headerimg colorbox-947" src="http://cdn2.brettterpstra.com/wp-content/uploads/2010/09/evernotesitememoryheaderimage.jpg?9d7bd4" alt="Header image" /></p>

<p><a href="https://www.evernote.com/">Evernote</a> introduced <a href="http://www.evernote.com/about/developer/sitememory/">Site Memory</a> today, providing an easy way to help people clip to Evernote from your site while maintaining control over how your content appears and is attributed. While some instructions are <a href="http://www.evernote.com/about/developer/sitememory/wordpress.php">provided for WordPress</a>, some of us will obviously want to customize things a little further.</p>

<p><a href="http://brettkelly.org/">Brett Kelly</a> posted a quick PHP script on the Evernote WordPress docs to include the first three tags from your post as suggested tags in the clipper. I wanted to weight these, though, so here’s my version…</p>

<p><span id="more-947"></span></p>

<div markdown=0>
<pre><code>
&lt;a href=&quot;javascript:void()&quot; title=&quot;Clip to Evernote&quot; class=&quot;evernoteclip&quot; 
  onclick=&quot;Evernote.doClip({ title: &#x27;&lt;?php the_title_attribute(); ?&gt;&#x27;,
    providerName: &#x27;Brett Terpstra&#x27;,
    url: &#x27;&lt;?php the_permalink(); ?&gt;&#x27;,
    contentId: &#x27;post-&lt;?php the_ID(); ?&gt;-clip&#x27;,
    suggestTags: &#x27;&lt;?php
    if (get_post_meta($post-&gt;ID, &#x27;evernoteTags&#x27;, true)) {
      echo get_post_meta($post-&gt;ID, &#x27;evernoteTags&#x27;, true);
    } else {
      $posttags = get_the_tags();
      $out = array();
      if ($posttags) {
        foreach($posttags as $tag) {
          $out[trim($tag-&gt;name)] = intval($tag-&gt;count); 
        }
        ksort($out,SORT_NUMERIC);
        echo implode(array_keys(array_slice($out, 0, 3)),&#x27;,&#x27;);
      }
    }?&gt;&#x27;});return false;&quot;&gt;
&lt;img src=&quot;&lt;?php bloginfo(&#x27;template_url&#x27;); ?&gt;/images/evernoteclipper.png&quot; alt=&quot;Evernote Clipper Icon&quot;/&gt;
&lt;/a&gt;
</code></pre>
</div>

<p>It first checks for a custom field called “evernoteTags,” so you can override the whole thing by specifying up to three tags in a custom field in the post editor. The tags should be separated by commas, spaces aren’t important: “tag1,tag2,tag3”, no quotes. Moving on…</p>

<p>The rest of the code grabs all of the tags for the post and their use counts on your site, sorts by the use count and outputs the tag names. Pretty simple.</p>

<p>I should also note that the JavaScript library for the clipper weighs in at 33k compressed, so it’s not a lightweight addition to your blog. I grabbed the online source, minified it and am serving it from a CDN, so the hit was minimized, but still there. I’m also loading the clipper image from my CDN, just to avoid the extra offsite hit. I may eventually attempt to lazy load the script only when the link is clicked, but this works for now.</p>
<p>Related posts:<ol>
<li><a href='http://brettterpstra.com/antique-safari-reader-hack-update-with-evernote-goodness/' rel='bookmark' title='Antique Safari Reader hack update with Evernote goodness'>Antique Safari Reader hack update with Evernote goodness</a></li>
<li><a href='http://brettterpstra.com/a-better-os-x-system-service-for-evernote-notes-with-multimarkdown/' rel='bookmark' title='A better System Service for Evernote clipping — with MultiMarkdown'>A better System Service for Evernote clipping — with MultiMarkdown</a></li>
<li><a href='http://brettterpstra.com/taking-the-markdown-to-evernote-service-further/' rel='bookmark' title='Taking the Markdown to Evernote service further'>Taking the Markdown to Evernote service further</a></li>
</ol></p><p>Originally posted on <a href="http://brettterpstra.com" title="BrettTerpstra.com">BrettTerpstra.com</a> at <a href="http://brettterpstra.com/evernote-site-memory-tagger-for-wordpress/">Evernote Site Memory tagger for WordPress</a></p>]]></content:encoded>
			<wfw:commentRss>http://brettterpstra.com/evernote-site-memory-tagger-for-wordpress/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Visually differentiating your development site</title>
		<link>http://brettterpstra.com/visually-differentiating-your-development-site/</link>
		<comments>http://brettterpstra.com/visually-differentiating-your-development-site/#comments</comments>
		<pubDate>Sun, 20 Jun 2010 16:50:49 +0000</pubDate>
		<dc:creator>Brett</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Code]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[webdev]]></category>

		<guid isPermaLink="false">http://brettterpstra.com/?p=689</guid>
		<description><![CDATA[<p>I have most of the websites I work on set up with separate development (usually local1) and production/deployment servers. It’s pretty easy to keep straight when I’m first designing a site, but going back later and making changes can cause some confusion with all the refreshing and dealing with caches and all. So I’ve been using a trick to make&#8230;</p><p>Originally posted on <a href="http://brettterpstra.com" title="BrettTerpstra.com">BrettTerpstra.com</a> at <a href="http://brettterpstra.com/visually-differentiating-your-development-site/">Visually differentiating your development site</a></p>]]></description>
			<content:encoded><![CDATA[<p><img style=' display:none'  src="http://cdn2.brettterpstra.com/wp-content/uploads/2010/06/devdifferentheader.jpg?9d7bd4" alt="devdifferentheader.jpg" border="0" width="650" height="187" class="headerimg colorbox-689" /></p>

<p><a href="http://cdn2.brettterpstra.com/wp-content/uploads/2010/06/devbadgeonbrettterpstracomwithcallout.jpg?9d7bd4"><img style=' float: right; padding: 4px; margin: 0 0 2px 7px;'  src="http://cdn2.brettterpstra.com/wp-content/uploads/2010/06/devbadgeonbrettterpstracomwithcallout-300x205.jpg?9d7bd4" alt="" title="devbadgeonbrettterpstracomwithcallout" width="300" height="205" class="alignright size-medium wp-image-698 noshadow colorbox-689" /></a></p>

<p>I have most of the websites I work on set up with separate development (usually local<sup id="fnref:localdev"><a href="#fn:localdev" rel="footnote">1</a></sup>) and production/deployment servers. It’s pretty easy to keep straight when I’m first designing a site, but going back later and making changes can cause some confusion with all the refreshing and dealing with caches and all. So I’ve been using a trick to make it clear which version I’m loading at any given time.</p>

<p>All of my local development sites are mapped to .dev addresses, e.g. brettterpstra.dev. I use php to scan the current SERVER_NAME variable for .dev and insert an unobtrusive div at the top of the content if it’s found. At the very top of the page (in the header file, assuming the site is modular), I insert this line:</p>

<div markdown=0>
<pre><code>
&lt;?php $dev = preg_match(&quot;/\.dev/&quot;,$_SERVER[&#x27;SERVER_NAME&#x27;]) ? true : false; ?&gt;
</code></pre>
</div>

<p>As a side note for those not familiar with this syntax: it’s a ternary conditional operator, meaning that <code>$dev</code> is set to either true or false based on the result of the condition. The format here is [variable] = [condition] ? [evaluate true] : [evaluate false];. Think of the question mark as “if” and the colon as “else.” It’s just all on one nifty line.</p>

<p>Now we use the <code>$dev</code> variable to determine whether or not we’re inserting an extra element in the markup. Right after my body tag, I have this logic:</p>

<div markdown=0>
<pre><code>
&lt;?php if ($dev) {
    echo &quot;&lt;div id=\&quot;development\&quot;&gt;\n&quot;;
    echo &quot;&lt;/div&gt;\n&quot;;
} ?&gt;
</code></pre>
</div>

<p>Yep, it just inserts a div if the $dev is true (SERVER_NAME contained .div). You can change the condition above to find whatever differentiates your development server from your production and/or deployment servers.</p>

<p>Lastly, I style the div with some CSS:</p>

<div markdown=0>
<pre><code>
#development {
    position: fixed;
    bottom: 0;
    left: 0;
    background: transparent url(http://d33frhdcafae93.cloudfront.net/images/devsticker.png);
    text-indent: -99999px;
    width: 150px;
    height: 150px;
    z-index: 9999999;
}
</code></pre>
</div>

<p>That sticks a dogear image I made into the lower left corner of the site, in a fixed position that is always visible but rarely in the way (you’re welcome to <a href="http://brettterpstra.com/share/devsticker.png?9d7bd4">steal the image</a>, if you want it). It’s an easy trick, but I’ve found it saves me a lot of frustration when I get too obsessed with a minor detail to bother looking at the URL and realizing I’m not even refreshing the right version of the site. Maybe you never have that problem, in which case I applaud your level, collected personality. People like me, though, can always use a little extra help.</p>

<div class="footnotes">
<hr />
<ol>

<li id="fn:localdev">
<p>I run a full dev site in Snow Leopard with a custom build of PHP5 and MySQL. I use <a href="http://www.mamp.info/de/index.html">MAMP</a> or <a href="http://bitnami.org/stack/rubystack">RubyStack</a> when I need an alternate configuration, and map all of my dev addresses with <a href="http://clickontyler.com/virtualhostx/">VirtualHostX</a>. <a href="#fnref:localdev" rev="footnote">↩</a></p>
</li>

</ol>
</div>
<p>Related posts:<ol>
<li><a href='http://brettterpstra.com/evernote-site-memory-tagger-for-wordpress/' rel='bookmark' title='Evernote Site Memory tagger for WordPress'>Evernote Site Memory tagger for WordPress</a></li>
<li><a href='http://brettterpstra.com/watch-for-file-changes-and-refresh-your-browser-automatically/' rel='bookmark' title='Watch for file changes and refresh your browser automatically'>Watch for file changes and refresh your browser automatically</a></li>
<li><a href='http://brettterpstra.com/thanks-wwdc/' rel='bookmark' title='Thanks WWDC'>Thanks WWDC</a></li>
</ol></p><p>Originally posted on <a href="http://brettterpstra.com" title="BrettTerpstra.com">BrettTerpstra.com</a> at <a href="http://brettterpstra.com/visually-differentiating-your-development-site/">Visually differentiating your development site</a></p>]]></content:encoded>
			<wfw:commentRss>http://brettterpstra.com/visually-differentiating-your-development-site/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic (Feed is rejected)
Page Caching using disk: enhanced
Database Caching 10/47 queries in 0.184 seconds using xcache
Object Caching 1286/1331 objects using xcache
Content Delivery Network via cdn2.brettterpstra.com

Served from: brettterpstra.com @ 2012-02-04 08:46:05 -->
