<?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>Matt Thiessen</title>
	<atom:link href="http://matt.thiessen.us/feed/" rel="self" type="application/rss+xml" />
	<link>http://matt.thiessen.us</link>
	<description>Cat fur to make chicken pants, thats what fur.</description>
	<lastBuildDate>Tue, 19 Jan 2010 01:15:45 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Making plans to retire in Tucson</title>
		<link>http://matt.thiessen.us/2009/11/04/making-plans-to-retire-in-tucson/</link>
		<comments>http://matt.thiessen.us/2009/11/04/making-plans-to-retire-in-tucson/#comments</comments>
		<pubDate>Thu, 05 Nov 2009 02:11:26 +0000</pubDate>
		<dc:creator>matt</dc:creator>
				<category><![CDATA[Travel]]></category>
		<category><![CDATA[Tucson]]></category>

		<guid isPermaLink="false">http://matt.thiessen.us/?p=304</guid>
		<description><![CDATA[Someday! Check back soon for an update.]]></description>
			<content:encoded><![CDATA[<div id="attachment_305" class="wp-caption alignleft" style="width: 310px"><a href="http://matt.thiessen.us/wp-content/uploads/2009/11/DSCN3600.JPG"><img src="http://matt.thiessen.us/wp-content/uploads/2009/11/DSCN3600-300x225.jpg" alt="Tucson, Arizona" title="Tucson, Arizona" width="300" height="225" class="size-medium wp-image-305" /></a><p class="wp-caption-text">Tucson, Arizona</p></div>
<p>Someday!<br />
<br clear="all" /><br />
<div id="attachment_306" class="wp-caption alignleft" style="width: 160px"><a href="http://matt.thiessen.us/wp-content/uploads/2009/11/DSCN3573.JPG"><img src="http://matt.thiessen.us/wp-content/uploads/2009/11/DSCN3573-150x150.jpg" alt="Tucson, Arizona" title="Tucson, Arizona" width="150" height="150" class="size-thumbnail wp-image-306" /></a><p class="wp-caption-text">Tucson, Arizona</p></div><br />
<div id="attachment_305" class="wp-caption alignleft" style="width: 160px"><a href="http://matt.thiessen.us/wp-content/uploads/2009/11/DSCN3600.JPG"><img src="http://matt.thiessen.us/wp-content/uploads/2009/11/DSCN3600-150x150.jpg" alt="Tucson, Arizona" title="Tucson, Arizona" width="150" height="150" class="size-thumbnail wp-image-305" /></a><p class="wp-caption-text">Tucson, Arizona</p></div></p>
<p><div id="attachment_308" class="wp-caption alignleft" style="width: 160px"><a href="http://matt.thiessen.us/wp-content/uploads/2009/11/DSCN3576.JPG"><img src="http://matt.thiessen.us/wp-content/uploads/2009/11/DSCN3576-150x150.jpg" alt="Tucson, Arizona" title="Tucson, Arizona" width="150" height="150" class="size-thumbnail wp-image-308" /></a><p class="wp-caption-text">Tucson, Arizona</p></div><br />
<br style="clear:both" /><br />
Check back soon for an update.</p>
]]></content:encoded>
			<wfw:commentRss>http://matt.thiessen.us/2009/11/04/making-plans-to-retire-in-tucson/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Pippy</title>
		<link>http://matt.thiessen.us/2009/09/20/pippy/</link>
		<comments>http://matt.thiessen.us/2009/09/20/pippy/#comments</comments>
		<pubDate>Sun, 20 Sep 2009 18:08:13 +0000</pubDate>
		<dc:creator>matt</dc:creator>
				<category><![CDATA[Dogs]]></category>

		<guid isPermaLink="false">http://matt.thiessen.us/?p=296</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[
<a href='http://matt.thiessen.us/2009/09/20/pippy/pippy2/' title='pippy2'><img width="150" height="150" src="http://matt.thiessen.us/wp-content/uploads/2009/09/pippy2-150x150.jpg" class="attachment-thumbnail" alt="pippy2" title="pippy2" /></a>
<a href='http://matt.thiessen.us/2009/09/20/pippy/pippy/' title='pippy'><img width="150" height="150" src="http://matt.thiessen.us/wp-content/uploads/2009/09/pippy-150x150.jpg" class="attachment-thumbnail" alt="pippy" title="pippy" /></a>
<a href='http://matt.thiessen.us/2009/09/20/pippy/zoe_pippy_sock/' title='zoe_pippy_sock'><img width="150" height="150" src="http://matt.thiessen.us/wp-content/uploads/2009/09/zoe_pippy_sock-150x150.jpg" class="attachment-thumbnail" alt="zoe_pippy_sock" title="zoe_pippy_sock" /></a>

]]></content:encoded>
			<wfw:commentRss>http://matt.thiessen.us/2009/09/20/pippy/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using grep to scrape web pages</title>
		<link>http://matt.thiessen.us/2009/09/18/using-grep-to-scrape-web-pages/</link>
		<comments>http://matt.thiessen.us/2009/09/18/using-grep-to-scrape-web-pages/#comments</comments>
		<pubDate>Fri, 18 Sep 2009 15:38:20 +0000</pubDate>
		<dc:creator>matt</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[grep]]></category>
		<category><![CDATA[scrape]]></category>

		<guid isPermaLink="false">http://matt.thiessen.us/?p=294</guid>
		<description><![CDATA[In preperation to scrape a number of web pages, I used grep to make a list of URLs I need to scrape.  The list of URLs was in an RSS file. grep -P &#8220;\&#60;link&#62;&#60;\![CDATA\[(.*?)]&#8221; hawkeye_stories.xml &#62; hawkeye_stories_links.txt]]></description>
			<content:encoded><![CDATA[<p>In preperation to scrape a number of web pages, I used grep to make a list of URLs I need to scrape.  The list of URLs was in an RSS file.</p>
<p>grep -P &#8220;\&lt;link&gt;&lt;\![CDATA\[(.*?)]&#8221; hawkeye_stories.xml &gt; hawkeye_stories_links.txt</p>
]]></content:encoded>
			<wfw:commentRss>http://matt.thiessen.us/2009/09/18/using-grep-to-scrape-web-pages/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Bash script to backup a WordPress web site</title>
		<link>http://matt.thiessen.us/2009/08/26/bash-script-to-backup-a-wordpress-web-site/</link>
		<comments>http://matt.thiessen.us/2009/08/26/bash-script-to-backup-a-wordpress-web-site/#comments</comments>
		<pubDate>Wed, 26 Aug 2009 15:31:27 +0000</pubDate>
		<dc:creator>matt</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Server Admin]]></category>
		<category><![CDATA[bash]]></category>

		<guid isPermaLink="false">http://matt.thiessen.us/?p=292</guid>
		<description><![CDATA[The script (backup_site.sh) for backing up a site has been modified.  It now accepts parameters. Parameter 1: domain Parameter 2: database [optional] Parameter 3: subdomain [optional] Run as root /home/root/sites/backup_site.sh gazlab.com matt_wp matt #!/bin/bash SITE=$1 SUBDOMAIN=$3 DBNAME=$2 if [ -z &#8230; <a href="http://matt.thiessen.us/2009/08/26/bash-script-to-backup-a-wordpress-web-site/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>The script (backup_site.sh) for backing up a site has been modified.  It now accepts parameters.</p>
<p>Parameter 1: <span style="color: #3366ff;">domain</span><br />
Parameter 2: <span style="color: #ff6600;">database</span> [optional]<br />
Parameter 3: <span style="color: #ff00ff;">subdomain</span> [optional]</p>
<p>Run as root</p>
<p>/home/root/sites/backup_site.sh <span style="color: #3366ff;">gazlab.com</span> <span style="color: #ff6600;">matt_wp</span> <span style="color: #ff00ff;">matt</span></p>
<p>#!/bin/bash</p>
<p>SITE=$1<br />
SUBDOMAIN=$3<br />
DBNAME=$2</p>
<p>if [ -z "$SUBDOMAIN" ]<br />
then<br />
if [ -z "$DBNAME" ]<br />
then<br />
mysqldump $DBNAME &gt; /var/www/vhosts/$SITE/httpdocs/$DBNAME.sql<br />
fi<br />
tar -czvf $SITE.httpdocs.tar.gz /var/www/vhosts/$SITE/httpdocs<br />
else<br />
if [ -z "$DBNAME" ]<br />
then<br />
mysqldump $DBNAME &gt; /var/www/vhosts/$SITE/subdomains/$SUBDOMAIN/httpdocs/$DBNAME.sql<br />
fi<br />
tar -czvf $SUBDOMAIN.$SITE.httpdocs.tar.gz /var/www/vhosts/$SITE/subdomains/$SUBDOMAIN/httpdocs<br />
fi</p>
<p>exit 0</p>
]]></content:encoded>
			<wfw:commentRss>http://matt.thiessen.us/2009/08/26/bash-script-to-backup-a-wordpress-web-site/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Saturday morning at Uncle Merlin&#8217;s lake</title>
		<link>http://matt.thiessen.us/2009/08/15/saturday-at-uncle-merlins-lake/</link>
		<comments>http://matt.thiessen.us/2009/08/15/saturday-at-uncle-merlins-lake/#comments</comments>
		<pubDate>Sat, 15 Aug 2009 11:31:40 +0000</pubDate>
		<dc:creator>matt</dc:creator>
				<category><![CDATA[Travel]]></category>

		<guid isPermaLink="false">http://matt.thiessen.us/2009/08/15/saturday-at-uncle-merlins-lake/</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<p><a href="http://matt.thiessen.us/wp-content/uploads/2009/08/l_1600_1200_00847CE1-2884-4716-84A3-BE9578272F41.jpeg"><img class="alignnone size-full wp-image-364" src="http://matt.thiessen.us/wp-content/uploads/2009/08/l_1600_1200_00847CE1-2884-4716-84A3-BE9578272F41.jpeg" alt="" width="300" height="225" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://matt.thiessen.us/2009/08/15/saturday-at-uncle-merlins-lake/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>is_home() not working in my WordPress plugin</title>
		<link>http://matt.thiessen.us/2009/08/04/is_home-not-working-in-my-wordpress-plugin/</link>
		<comments>http://matt.thiessen.us/2009/08/04/is_home-not-working-in-my-wordpress-plugin/#comments</comments>
		<pubDate>Tue, 04 Aug 2009 18:05:46 +0000</pubDate>
		<dc:creator>matt</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://matt.thiessen.us/?p=282</guid>
		<description><![CDATA[When using is_home(), is_category(), is_page() etc. in my WordPress plugin that displays category-based ads, they kept returning NULL. My problem was that I was calling this these function directly in my plugin. I resolved this by adding these call to &#8230; <a href="http://matt.thiessen.us/2009/08/04/is_home-not-working-in-my-wordpress-plugin/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>When using is_home(), is_category(), is_page() etc. in my WordPress plugin that displays category-based ads, they kept returning NULL.</p>
<p>My problem was that I was calling this these function directly in my plugin.  I resolved this by adding these call to my adHeaderSetup() function and setting the hook add_action(&#8216;wp_head&#8217;, &#8216;adHeaderSetup&#8217;);</p>
]]></content:encoded>
			<wfw:commentRss>http://matt.thiessen.us/2009/08/04/is_home-not-working-in-my-wordpress-plugin/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Belle Plaine outlaws Ultimate Fighting</title>
		<link>http://matt.thiessen.us/2009/06/15/belle-plaine-outlaws-ultimate-fighting/</link>
		<comments>http://matt.thiessen.us/2009/06/15/belle-plaine-outlaws-ultimate-fighting/#comments</comments>
		<pubDate>Mon, 15 Jun 2009 23:29:29 +0000</pubDate>
		<dc:creator>matt</dc:creator>
				<category><![CDATA[Fighting]]></category>
		<category><![CDATA[City council]]></category>

		<guid isPermaLink="false">http://matt.thiessen.us/?p=257</guid>
		<description><![CDATA[Image by Stefan Tell via Flickr My hometown, Belle Plaine, Iowa, had a bad experience after a recent show in the Legion Hall.&#160; I say too bad. The city council rushes to pass a new ordinance.]]></description>
			<content:encoded><![CDATA[<div class="zemanta-img" style="margin: 1em; display: block;">
<div>
<dl style="width: 170px;" class="wp-caption alignright">
<dt class="wp-caption-dt"><a href="http://www.flickr.com/photos/77578264@N00/2454617919"><img src="http://farm3.static.flickr.com/2410/2454617919_cecc909da2_m.jpg" alt="Fighting on the ground" title="Fighting on the ground" width="160" height="240"></a></dt>
<dd class="wp-caption-dd zemanta-img-attribution" style="font-size: 0.8em;">Image by <a href="http://www.flickr.com/photos/77578264@N00/2454617919">Stefan Tell</a> via Flickr</dd>
</dl>
</div>
</div>
<p>My hometown, <a class="zem_slink" href="http://maps.google.com/maps?ll=41.8966666667,-92.2775&amp;spn=0.1,0.1&amp;q=41.8966666667,-92.2775%20%28Belle%20Plaine%2C%20Iowa%29&amp;t=h" title="Belle Plaine, Iowa" rel="geolocation">Belle Plaine, Iowa</a>, had a bad experience after a recent show in the Legion Hall.&nbsp; I say too bad.</p>
<p>The <a href="http://www.belleplainenow.com/2009/05/19/bp-council-bans-ultimate-fighting/">city council rushes to pass</a> a <a href="http://www.belleplaineiowa.us/2009/05/20/amateur-fighting-and-boxing/">new ordinance</a>.</p>
<div style="margin-top: 10px; height: 15px;" class="zemanta-pixie"><a class="zemanta-pixie-a" href="http://reblog.zemanta.com/zemified/d1220025-bf5e-4642-8252-7bc83409cf63/" title="Reblog this post [with Zemanta]"><img style="border: medium none ; float: right;" class="zemanta-pixie-img" src="http://img.zemanta.com/reblog_e.png?x-id=d1220025-bf5e-4642-8252-7bc83409cf63" alt="Reblog this post [with Zemanta]"></a><span class="zem-script more-related pretty-attribution"><script type="text/javascript" src="http://static.zemanta.com/readside/loader.js" defer="defer"></script></span></div>
]]></content:encoded>
			<wfw:commentRss>http://matt.thiessen.us/2009/06/15/belle-plaine-outlaws-ultimate-fighting/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Don&#8217;t upgrade yet!</title>
		<link>http://matt.thiessen.us/2009/06/11/dont-upgrade-yet/</link>
		<comments>http://matt.thiessen.us/2009/06/11/dont-upgrade-yet/#comments</comments>
		<pubDate>Thu, 11 Jun 2009 13:23:14 +0000</pubDate>
		<dc:creator>matt</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Server Admin]]></category>

		<guid isPermaLink="false">http://matt.thiessen.us/?p=252</guid>
		<description><![CDATA[I know how tempting it is to press that upgrade button, but don&#8217;t do it without backing up those files. Backing up your files first is just too quick and easy to skip when doing it from the command line. &#8230; <a href="http://matt.thiessen.us/2009/06/11/dont-upgrade-yet/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I know how tempting it is to press that upgrade button, but don&#8217;t do it without backing up those files.  Backing up your files first is just too quick and easy to skip when doing it from the command line.  Here&#8217;s how:</p>
<p><strong>Backup your MySQL database</strong><br />
<span style="color: #3366ff;">DATE=`date | tr &#8221; &#8221; _`<br />
mysqldump -u root -p DatabaseName &gt; DatabaseName.$DATE.sql</span></p>
<p><strong>Backup your web directory</strong><br />
<span style="color: #3366ff;">tar cvzf new_filename.tar.gz /var/www/thiessen.us/httpdocs</span></p>
<p><strong>c</strong> = create<br />
<strong>v</strong> = verbose<br />
<strong>z</strong> = compress<br />
<strong>f</strong> = filename is being provided</p>
<p>If you need to restore these files</p>
<p><strong>Restore MySQL database<br />
</strong><span style="color: #3366ff;">mysql -u root -p DatabaseName &lt; DatabaseName.Thu_Jun_11_08:14:41_CDT_2009.sql</span></p>
<p><strong>Restore the web directory</strong></p>
<p><span style="color: #3366ff;">cd /var/www/thiessen.us</span> (change directory to the location of the web directory)</p>
<p><span style="color: #3366ff;">mv httpdocs httpdocs_bad</span> (rename the current web directory)</p>
<p><span style="color: #3366ff;">tar -xzvf httpdocs.tar.gz</span> (uncompress the backup)</p>
]]></content:encoded>
			<wfw:commentRss>http://matt.thiessen.us/2009/06/11/dont-upgrade-yet/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Create new ad content</title>
		<link>http://matt.thiessen.us/2009/06/09/create-new-ad-content/</link>
		<comments>http://matt.thiessen.us/2009/06/09/create-new-ad-content/#comments</comments>
		<pubDate>Wed, 10 Jun 2009 03:19:01 +0000</pubDate>
		<dc:creator>matt</dc:creator>
				<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://matt.thiessen.us/?p=250</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<p><code><br />
<object width="640" height="505"><param name="movie" value="http://www.youtube.com/v/kUw8CTacj-0&#038;hl=en&#038;fs=1&#038;"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/kUw8CTacj-0&#038;hl=en&#038;fs=1&#038;" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="640" height="505"></embed></object><br />
</code></p>
]]></content:encoded>
			<wfw:commentRss>http://matt.thiessen.us/2009/06/09/create-new-ad-content/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Committees and Board WordPress Plugin</title>
		<link>http://matt.thiessen.us/2009/05/13/committees-and-board-wordpress-plugin/</link>
		<comments>http://matt.thiessen.us/2009/05/13/committees-and-board-wordpress-plugin/#comments</comments>
		<pubDate>Thu, 14 May 2009 02:55:23 +0000</pubDate>
		<dc:creator>matt</dc:creator>
				<category><![CDATA[How-to]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://matt.thiessen.us/?p=239</guid>
		<description><![CDATA[Displaying the Committees View Members Edit Member Update Member Press the &#8220;add new member button&#8221; Add New Member]]></description>
			<content:encoded><![CDATA[<h3>Displaying the Committees</h3>
<p><a href="http://matt.thiessen.us/wp-content/uploads/2009/05/menu.gif"><img class="alignleft size-full wp-image-243" title="menu" src="http://matt.thiessen.us/wp-content/uploads/2009/05/menu.gif" alt="menu" width="260" height="359" /></a><br />
<br clear="all" /></p>
<h3>View Members</h3>
<p><a href="http://matt.thiessen.us/wp-content/uploads/2009/05/view_members.gif"><img src="http://matt.thiessen.us/wp-content/uploads/2009/05/view_members.gif" alt="view members" title="view members" width="481" height="304" class="alignleft size-full wp-image-245" /></a><br />
<br clear="all" /></p>
<h3>Edit Member</h3>
<p><a href="http://matt.thiessen.us/wp-content/uploads/2009/05/edit_member.gif"><img src="http://matt.thiessen.us/wp-content/uploads/2009/05/edit_member.gif" alt="edit member" title="edit member" width="562" height="313" class="alignleft size-full wp-image-244" /></a><br />
<br clear="all" /></p>
<h3>Update Member</h3>
<p><a href="http://matt.thiessen.us/wp-content/uploads/2009/05/update_member.gif"><img src="http://matt.thiessen.us/wp-content/uploads/2009/05/update_member.gif" alt="update member" title="update member" width="474" height="277" class="alignleft size-full wp-image-242" /></a><br />
<br clear="all" /></p>
<h3>Press the &#8220;add new member button&#8221;</h3>
<p><a href="http://matt.thiessen.us/wp-content/uploads/2009/05/add_new_member_button.gif"><img src="http://matt.thiessen.us/wp-content/uploads/2009/05/add_new_member_button.gif" alt="add new member button" title="add new member button" width="474" height="232" class="alignleft size-full wp-image-240" /></a><br />
<br clear="all" /></p>
<h3>Add New Member</h3>
<p><a href="http://matt.thiessen.us/wp-content/uploads/2009/05/new_member.gif"><img src="http://matt.thiessen.us/wp-content/uploads/2009/05/new_member.gif" alt="new member" title="new member" width="494" height="426" class="alignleft size-full wp-image-241" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://matt.thiessen.us/2009/05/13/committees-and-board-wordpress-plugin/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
