<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="wordpress/2.3" -->
<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/"
	>

<channel>
	<title>Hon Dev</title>
	<link>http://dev.honewatson.com</link>
	<description>Hon Dev - Web Development Made Easy</description>
	<pubDate>Mon, 24 Mar 2008 00:36:50 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.3</generator>
	<language>en</language>
			<item>
		<title>FeedWordPress Mu Wordpress Multi User WPMU</title>
		<link>http://dev.honewatson.com/feedwordpress-mu-wordpress-multi-user-wpmu/</link>
		<comments>http://dev.honewatson.com/feedwordpress-mu-wordpress-multi-user-wpmu/#comments</comments>
		<pubDate>Mon, 24 Mar 2008 00:36:50 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Wordpress Development]]></category>

		<category><![CDATA[Wordpress MU Integration]]></category>

		<category><![CDATA[Wordpress Plugins]]></category>

		<guid isPermaLink="false">http://dev.honewatson.com/?p=25</guid>
		<description><![CDATA[FeedWordpress Mu Wordpress Object Cache Bug]]></description>
			<content:encoded><![CDATA[<p>I had an issue with Feedwordpress and WPMU.  The feeds were not appearing and neither were they syndicating posts.  Also when I added and deleted blog links they were still appearing.</p>
<p>I tried removing everything including plugins and upgrading to the latest MU Wordpress but <a href="http://projects.radgeek.com/2008/02/04/feedwordpress-0992-author-remapping-and-uri-bug-fix/">Feedwordpress 0.992</a> only started working properly after I removed the object cache in wp-config.php.</p>
<p><strong>Remove the following line from wp-config.php:</strong></p>
<p><code>define('ENABLE_CACHE', true);</code></p>
<p>Delete the folder /wp-content/cache/.</p>
]]></content:encoded>
			<wfw:commentRss>http://dev.honewatson.com/feedwordpress-mu-wordpress-multi-user-wpmu/feed/</wfw:commentRss>
		</item>
		<item>
		<title>BBPress Wordress MU Integration Nginx Pretty URL&#8217;s Rewrites</title>
		<link>http://dev.honewatson.com/bbpress-wordress-mu-integration-nginx-pretty-urls-rewrites/</link>
		<comments>http://dev.honewatson.com/bbpress-wordress-mu-integration-nginx-pretty-urls-rewrites/#comments</comments>
		<pubDate>Sat, 27 Oct 2007 03:58:02 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[BBPress]]></category>

		<category><![CDATA[Nginx]]></category>

		<category><![CDATA[Wordpress Development]]></category>

		<category><![CDATA[Wordpress MU Integration]]></category>

		<guid isPermaLink="false">http://dev.honewatson.com/?p=20</guid>
		<description><![CDATA[How to do your Nginx rewrites on a Multi User Wordpress Integrated with BBPress]]></description>
			<content:encoded><![CDATA[<p>Nginx rewrites are simple but there&#8217;s not as much documentation as there is with Apache2.  Here&#8217;s how I set up my rewrites on Nginx install of MU Wordpress and BBPress.</p>
<p> <a href="http://dev.honewatson.com/bbpress-wordress-mu-integration-nginx-pretty-urls-rewrites/#more-20" class="more-link">(more&#8230;)</a></p>
]]></content:encoded>
			<wfw:commentRss>http://dev.honewatson.com/bbpress-wordress-mu-integration-nginx-pretty-urls-rewrites/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Easy Ubuntu Screencasting Feisty Gutsy Gibbon USB Headset ffmpeg flv mp3</title>
		<link>http://dev.honewatson.com/easy-ubuntu-screencasting-feisty-gutsy-gibbon-usb-headset/</link>
		<comments>http://dev.honewatson.com/easy-ubuntu-screencasting-feisty-gutsy-gibbon-usb-headset/#comments</comments>
		<pubDate>Wed, 24 Oct 2007 06:31:28 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[GTK Record My Desktop]]></category>

		<category><![CDATA[Linux Screencasting]]></category>

		<category><![CDATA[Ubuntu Feisty]]></category>

		<category><![CDATA[Ubuntu Linux]]></category>

		<guid isPermaLink="false">http://dev.honewatson.com/easy-ubuntu-screencasting-feisty-gutsy-gibbon-usb-headset/</guid>
		<description><![CDATA[And the winner is GTK Record My Desktop Tricks and Tweaks - Record Sound Even gtk-recordMyDesktop - then export to flv mp3]]></description>
			<content:encoded><![CDATA[<p>I had a suck time trying to get Screencasting on Ubuntu Feisty working but I managed to get it working without any code hacks once I got on the the right software and instructions.  This <a href="http://ubuntu.wordpress.com/2006/06/08/how-to-create-a-screencast-in-ubuntu/">tutorial</a> ranks really high but has out of date information for my purposes.</p>
<p><a href="http://www.madpenguin.org/cms/?m=show&#038;id=7832">This article</a> was critical for getting my sound recording working easy on GTK Record My Desktop.  My correct audio setting was hw:1,0 and not hw:0,0 - yours may be different so have a read because it explains things.</p>
<p> <a href="http://dev.honewatson.com/easy-ubuntu-screencasting-feisty-gutsy-gibbon-usb-headset/#more-10" class="more-link">(more&#8230;)</a></p>
]]></content:encoded>
			<wfw:commentRss>http://dev.honewatson.com/easy-ubuntu-screencasting-feisty-gutsy-gibbon-usb-headset/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Google Coop Search Results Wordpress Template Theme</title>
		<link>http://dev.honewatson.com/google-coop-search-results-wordpress-template-theme/</link>
		<comments>http://dev.honewatson.com/google-coop-search-results-wordpress-template-theme/#comments</comments>
		<pubDate>Mon, 01 Oct 2007 03:30:07 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Google Coop]]></category>

		<category><![CDATA[Wordpress Development]]></category>

		<category><![CDATA[Wordpress Plugins]]></category>

		<guid isPermaLink="false">http://dev.honewatson.com/google-coop-search-results-wordpress-template-theme/</guid>
		<description><![CDATA[How to add Google Coop Search Results so they fit nice in your Wordpress Template Theme.]]></description>
			<content:encoded><![CDATA[<p>This is how I do it.</p>
<p><span id="more-12"></span></p>
<p>1.  Just take your standard page template (page.php) and save it as a new file coop search results. (coopsearchresults.php)</p>
<p>2.  Then add this in the very first line before</p>
<blockquote>
<p>&lt;?php</p>
<p>/*</p>
<p>Template Name: Google Coop Search Results</p>
<p>*/</p>
<p>?&gt;</p>
</blockquote>
<p>3. Right below the end of the first loop you need to add the google coop results code.</p>
<p>eg</p>
<blockquote><p>
&lt;?php endwhile; ?&gt;<br />
&lt;?php endif; ?&gt;<br />
**** Add Google Coop Code Here ****</p>
</blockquote>
<p>Make sure you change the width of the results frame so it will work in your template. I think it defaults to 700 wide or something like that.  You might have to change it to 500 if your content area is say 550px.</p>
<p>Upload this template to your themes folder.</p>
<p>4. Now create a new page in your wordpress admin and call it &#8216;Search Results&#8217; on the right hand side where it says page templates select your new template &#8216;googlecoopresults.php&#8217; then click save.</p>
<p>5. Now in Google Coop there is an option where you can select show results in your own site which is the second option in the Code area.  Select that option and where it says search results page add this line:</p>
<p>http://yourdomainname.com/search-results/</p>
<p>6. Select the search form code and copy and paste it into your searchform.php template.</p>
<p>7. If you haven&#8217;t already done so copy and paste your Google Coop Search Results code as outlined in step 3 into your new coopsearchresults.php template.</p>
]]></content:encoded>
			<wfw:commentRss>http://dev.honewatson.com/google-coop-search-results-wordpress-template-theme/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Profile Picture Plugin WPMU Crop Thumbnails</title>
		<link>http://dev.honewatson.com/profile-picture-plugin-wpmu-crop-thumbnails/</link>
		<comments>http://dev.honewatson.com/profile-picture-plugin-wpmu-crop-thumbnails/#comments</comments>
		<pubDate>Mon, 01 Oct 2007 03:28:26 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Gd Graphics Library]]></category>

		<category><![CDATA[Web Development]]></category>

		<category><![CDATA[Wordpress Development]]></category>

		<category><![CDATA[Wordpress Plugins]]></category>

		<category><![CDATA[php5-gd]]></category>

		<guid isPermaLink="false">http://dev.honewatson.com/profile-picture-plugin-wpmu-crop-thumbnails/</guid>
		<description><![CDATA[I made a few changes so that the Profile Picture Plugin would crop thumbnails from center]]></description>
			<content:encoded><![CDATA[<p>When you load up a profile pic using the <a href="http://geekgrl.net/2007/01/02/profile-pics-plugin-release/">geekgrl profile picture plugin</a> which is also basically the same plugin used by <a href="http://suleiman.hadithuna.com/wpmu-avatar-pack-release/">suleiman for wpmu</a> the gd graphics library php code in these plugins squash or stretches the thumbnails.</p>
<p>You can see what I mean below.</p>
<p>Here&#8217;s an orginal picture:</p>
<p><img src="http://dev.honewatson.com/wp-content/uploads/2007/08/honewatson.jpg" alt="original photo" /></p>
<p><span id="more-11"></span></p>
<p>Here&#8217;s the photo thumbnail with the original plugin code - squashed:</p>
<p><img src="http://dev.honewatson.com/wp-content/uploads/2007/08/squash-90x90.jpg" alt="squashed photo" /></p>
<p>Here&#8217;s the photo resized and cropped from the center with my code:</p>
<p><img src="http://dev.honewatson.com/wp-content/uploads/2007/08/croppedwell-90x90.jpg" alt="cropped" /></p>
<p>Here&#8217;s the code that you need to replace:</p>
<p>For a 64 thumbnail cropped from center replace the following:</p>
<blockquote><p> <code></p>
<p>$new_image = imagecreatetruecolor(64,64);<br />
imagecopyresampled($new_image, $image, 0, 0, 0, 0, 64, 0, $dimensions[0], $dimensions[1]);<br />
imagejpeg($new_image, &#8220;$medium_file_path&#8221;);<br />
imagedestroy($new_image);<br />
</code></p>
</blockquote>
<p>With this new code:</p>
<blockquote><p><code><br />
list($ow, $oh) = getimagesize($_FILES[&#8217;picture&#8217;][&#8217;tmp_name&#8217;]);<br />
$big = imagecreatefromjpeg($_FILES[&#8217;picture&#8217;][&#8217;tmp_name&#8217;]);<br />
$new_image = imagecreatetruecolor(64,64);</p>
<p>if ($ow &gt; $oh) {<br />
$off_w = ($ow-$oh)/2;<br />
$off_h = 0;<br />
$ow = $oh;<br />
} elseif ($oh &gt; $ow) {<br />
$off_w = 0;<br />
$off_h = ($oh-$ow)/2;</p>
<p>$oh = $ow;<br />
} else {<br />
$off_w = 0;<br />
$off_h = 0;<br />
}<br />
imagecopyresampled($new_image, $big, 0, 0, $off_w, $off_h, 64, 64, $ow, $oh);<br />
imagejpeg($new_image, &#8220;$medium_file_path&#8221;);<br />
imagedestroy($new_image);<br />
</code></p>
</blockquote>
]]></content:encoded>
			<wfw:commentRss>http://dev.honewatson.com/profile-picture-plugin-wpmu-crop-thumbnails/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Install RMagick Gem on Ubuntu Feisty 3 Steps</title>
		<link>http://dev.honewatson.com/install-rmagick-gem-on-ubuntu-feisty-3-steps/</link>
		<comments>http://dev.honewatson.com/install-rmagick-gem-on-ubuntu-feisty-3-steps/#comments</comments>
		<pubDate>Tue, 10 Jul 2007 08:37:31 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[ImageMagick]]></category>

		<category><![CDATA[RMagick Gem]]></category>

		<category><![CDATA[Ubuntu Feisty]]></category>

		<category><![CDATA[Ubuntu Linux]]></category>

		<guid isPermaLink="false">http://dev.honewatson.com/install-rmagick-gem-on-ubuntu-feisty-3-steps/</guid>
		<description><![CDATA[How to install RMagick Gem on Ubuntu Linux Feisty in 3 Steps]]></description>
			<content:encoded><![CDATA[<p>Trying to get RMagick Gem installed can be a pain in the butt on any system including Ubuntu Feisty.  Thankfully Sur figured out how to do it <a href="http://expressica.com/2007/07/04/how-to-install-rmagick-gem-on-linuxubuntu/">3 easy steps</a>.</p>
<p> <a href="http://dev.honewatson.com/install-rmagick-gem-on-ubuntu-feisty-3-steps/#more-7" class="more-link">(more&#8230;)</a></p>
]]></content:encoded>
			<wfw:commentRss>http://dev.honewatson.com/install-rmagick-gem-on-ubuntu-feisty-3-steps/feed/</wfw:commentRss>
		</item>
		<item>
		<title>wp_list_categories site wide categories tags</title>
		<link>http://dev.honewatson.com/wp_list_categories-site-wide-categories/</link>
		<comments>http://dev.honewatson.com/wp_list_categories-site-wide-categories/#comments</comments>
		<pubDate>Tue, 10 Jul 2007 07:53:58 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Web Development]]></category>

		<category><![CDATA[Wordpress Development]]></category>

		<guid isPermaLink="false">http://dev.honewatson.com/wp_list_categories-site-wide-categories/</guid>
		<description><![CDATA[How to change the URL structure in wp_list_categories for site wide categories tags]]></description>
			<content:encoded><![CDATA[<p>In /wp-includes/category-template.php change every line with >> href=&#8221;&#8216;</p>
<p> <a href="http://dev.honewatson.com/wp_list_categories-site-wide-categories/#more-6" class="more-link">(more&#8230;)</a></p>
]]></content:encoded>
			<wfw:commentRss>http://dev.honewatson.com/wp_list_categories-site-wide-categories/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Wordpress SVN Trunk</title>
		<link>http://dev.honewatson.com/wordpress-svn-trunk/</link>
		<comments>http://dev.honewatson.com/wordpress-svn-trunk/#comments</comments>
		<pubDate>Tue, 10 Jul 2007 07:42:22 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Subversion Repository]]></category>

		<category><![CDATA[Wordpress Development]]></category>

		<guid isPermaLink="false">http://dev.honewatson.com/wordpress-svn-trunk/</guid>
		<description><![CDATA[SVN Checkout the latest Wordpress Trunk]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s the latest subversion repository for wordpress</p>
<p><code>svn co http://svn.automattic.com/wordpress/trunk/</code></p>
]]></content:encoded>
			<wfw:commentRss>http://dev.honewatson.com/wordpress-svn-trunk/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
