<?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>WhyPad &#187; Miscellany</title>
	<atom:link href="http://www.whypad.com/category/miscellany/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.whypad.com</link>
	<description>Tips, tricks, and hacks for life and tech...</description>
	<lastBuildDate>Tue, 06 Jul 2010 15:21:22 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Mac OS X Snow Leopard &#8211; NotificationExec Pop Up Annoyance</title>
		<link>http://www.whypad.com/posts/mac-os-x-snow-leopard-notificationexec-pop-up-annoyance/732/</link>
		<comments>http://www.whypad.com/posts/mac-os-x-snow-leopard-notificationexec-pop-up-annoyance/732/#comments</comments>
		<pubDate>Thu, 03 Sep 2009 00:53:33 +0000</pubDate>
		<dc:creator>Byron Bennett</dc:creator>
				<category><![CDATA[Mac]]></category>
		<category><![CDATA[Miscellany]]></category>
		<category><![CDATA[Mac OS X]]></category>

		<guid isPermaLink="false">http://www.whypad.com/?p=732</guid>
		<description><![CDATA[Just installed Mac OS X 10.6 on my home iMac. It was truly a perfectly painless experience&#8230;click about 4 buttons and type your password and walk away for 45 minutes. The only thing that marred the experience was a nasty and undying popup for installing Rosetta so it could run NotificationExec. Click Not Now and [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.whypad.com/wp-content/uploads/snowleopard.png"><img class="alignleft size-full wp-image-734" title="snowleopard" src="http://www.whypad.com/wp-content/uploads/snowleopard.png" alt="snowleopard" width="143" height="146" /></a>Just installed Mac OS X 10.6 on my home iMac.  It was truly a perfectly painless experience&#8230;click about 4 buttons and type your password and walk away for 45 minutes.</p>
<p><span id="more-732"></span></p>
<p>The only thing that marred the experience was a nasty and undying popup for installing Rosetta so it could run NotificationExec.  Click Not Now and it just comes back a few seconds later.  Truly annoying!</p>
<p>A couple minutes on Google yielded this <a href="http://forums.macrumors.com/showthread.php?t=435236">form post</a> on MacRumors.</p>
<p>The answer for me was to navigate to /Library/Driver Support/ and to trash the NotificationExec.app in between the popups.</p>
<p>So, the steps are:</p>
<ol>
<li>Navigate to: /Library/Driver Support/   &#8211; you should see NotificationExec.app in that folder</li>
<li>Go to Force Quit (Apple menu) and make sure there aren&#8217;t any instances of the popup hanging out</li>
<li>Wait for the popup and click:  &#8220;Not Now&#8221;</li>
<li>Then trash:  NotificationExec.app</li>
<li>You may have to enter your admin password so you can change Finder</li>
<li>Empty trash and resume life!</li>
</ol>
<p>Hope that helps!</p>
<p>Cheers,<br />
Byron</p>
<img src="http://www.whypad.com/?ak_action=api_record_view&id=732&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://www.whypad.com/posts/mac-os-x-snow-leopard-notificationexec-pop-up-annoyance/732/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Dilbert &#8211; Successful Work Avoider</title>
		<link>http://www.whypad.com/posts/dilbert-successful-work-avoider/722/</link>
		<comments>http://www.whypad.com/posts/dilbert-successful-work-avoider/722/#comments</comments>
		<pubDate>Wed, 12 Aug 2009 15:31:35 +0000</pubDate>
		<dc:creator>Byron Bennett</dc:creator>
				<category><![CDATA[Miscellany]]></category>

		<guid isPermaLink="false">http://www.whypad.com/?p=722</guid>
		<description><![CDATA[My gosh, these are good!  Enjoy!]]></description>
			<content:encoded><![CDATA[<p>My gosh, these are good!  Enjoy!</p>
<p><a href="http://dilbert.com/strips/comic/2009-08-08/" title="Dilbert.com"><img src="http://dilbert.com/dyn/str_strip/000000000/00000000/0000000/000000/60000/3000/300/63348/63348.strip.gif" border="0" width='96%' alt="Dilbert.com" /></a></p>
<img src="http://www.whypad.com/?ak_action=api_record_view&id=722&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://www.whypad.com/posts/dilbert-successful-work-avoider/722/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Upgraded to WordPress 2.8.1</title>
		<link>http://www.whypad.com/posts/upgraded-to-wordpress-2-8-1/714/</link>
		<comments>http://www.whypad.com/posts/upgraded-to-wordpress-2-8-1/714/#comments</comments>
		<pubDate>Fri, 10 Jul 2009 04:55:35 +0000</pubDate>
		<dc:creator>Byron Bennett</dc:creator>
				<category><![CDATA[Miscellany]]></category>

		<guid isPermaLink="false">http://www.whypad.com/?p=714</guid>
		<description><![CDATA[I&#8217;ve upgraded three sites to WordPress 2.8.1.  None of them missed a beat.  Also, PhotoSmash seems completely unfazed by its new bedfellow. The auto-upgrade function/feature purely rocks.   It takes less than a minute, while FTP&#8217;ing the entire 2.2 MB to you server can take a dozen. Thanks for the smoothness, WP Heros! Cheers, Byron]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.whypad.com/wp-content/uploads/wp.png"><img class="alignleft size-thumbnail wp-image-715" title="wp" src="http://www.whypad.com/wp-content/uploads/wp-150x150.png" alt="wp" width="150" height="150" /></a>I&#8217;ve upgraded three sites to <a href="http://wordpress.org/development/2009/07/wordpress-2-8-1/">WordPress 2.8.1</a>.  None of them missed a beat.  Also, <a href="http://www.whypad.com/posts/photosmash-galleries-wordpress-plugin-released/507/">PhotoSmash</a> seems completely unfazed by its new bedfellow.</p>
<p><span id="more-714"></span></p>
<p>The auto-upgrade function/feature purely rocks.   It takes less than a minute, while FTP&#8217;ing the entire 2.2 MB to you server can take a dozen.</p>
<p>Thanks for the smoothness, WP Heros!</p>
<p>Cheers,</p>
<p>Byron</p>
<img src="http://www.whypad.com/?ak_action=api_record_view&id=714&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://www.whypad.com/posts/upgraded-to-wordpress-2-8-1/714/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Supple Forms &#8211; Quick Start Guide</title>
		<link>http://www.whypad.com/posts/supple-forms-quick-start-guide/590/</link>
		<comments>http://www.whypad.com/posts/supple-forms-quick-start-guide/590/#comments</comments>
		<pubDate>Sat, 14 Feb 2009 07:45:23 +0000</pubDate>
		<dc:creator>Byron Bennett</dc:creator>
				<category><![CDATA[Miscellany]]></category>

		<guid isPermaLink="false">http://www.whypad.com/?p=590</guid>
		<description><![CDATA[This is a quick start guide to get you up and running with Supple Forms as fast as humanly possible. Supple Forms is a CMS plugin for WordPress that lets you add custom data to posts and pages. It is both powerful and simple to use. If you need something like this, it might just [...]]]></description>
			<content:encoded><![CDATA[<p>This is a quick start guide to get you up and running with Supple Forms as fast as humanly possible. <a href="http://www.whypad.com/posts/supple-forms-a-wordpress-cms-plugin/566/"> Supple Forms</a> is a CMS plugin for WordPress that lets you add custom data to posts and pages.  It is both powerful and simple to use.  If you need something like this, it might just be what you&#8217;re looking for.</p>
<p><span id="more-590"></span></p>
<p>Please check out the overview on the <a href="http://www.whypad.com/posts/supple-forms-a-wordpress-cms-plugin/566/">Supple Forms Home Page</a> if you have not already done so.</p>
<p>Without further ado, here&#8217;s Part 1 to the Quick Start for Supple Forms:</p>
<p><object width="425" height="344" data="http://www.screentoaster.com/swf/STPlayer.swf" type="application/x-shockwave-flash"><param name="allowFullScreen" value="true" /><param name="allowScriptAccess" value="always" /><param name="flashvars" value="video=stUE5QQEZIR1pbRVRYU1JbU1RX" /><param name="src" value="http://www.screentoaster.com/swf/STPlayer.swf" /></object></p>
<div style="width: 425px; text-align: right;"><a href="http://www.screentoaster.com/">Record your screencast online</a></div>
<p>We are now ready to add fields to our form&#8230;here&#8217;s how in Part 2:</p>
<p><object width="425" height="344" data="http://www.screentoaster.com/swf/STPlayer.swf" type="application/x-shockwave-flash"><param name="allowFullScreen" value="true" /><param name="allowScriptAccess" value="always" /><param name="flashvars" value="video=stUE5QQEZIR1pbRVRbWlpZU1dc" /><param name="src" value="http://www.screentoaster.com/swf/STPlayer.swf" /></object></p>
<div style="width: 425px; text-align: right;"><a href="http://www.screentoaster.com/">Free online screencasting tool</a></div>
<h3>Written Guide for Supple Forms to Come</h3>
<p>I hope these videos have been helpful.  I will be adding a written guide for Supple Forms in the near future.  There are lots of capabilities with shortcodes that aren&#8217;t covered here.</p>
<p>Cheers!<br />
Byron</p>
<img src="http://www.whypad.com/?ak_action=api_record_view&id=590&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://www.whypad.com/posts/supple-forms-quick-start-guide/590/feed/</wfw:commentRss>
		<slash:comments>20</slash:comments>
		</item>
		<item>
		<title>Excel Spreadsheet of US States</title>
		<link>http://www.whypad.com/posts/excel-spreadsheet-of-us-states/583/</link>
		<comments>http://www.whypad.com/posts/excel-spreadsheet-of-us-states/583/#comments</comments>
		<pubDate>Fri, 13 Feb 2009 05:18:42 +0000</pubDate>
		<dc:creator>Byron Bennett</dc:creator>
				<category><![CDATA[ASP.NET/C#]]></category>
		<category><![CDATA[Blogging]]></category>
		<category><![CDATA[Miscellany]]></category>
		<category><![CDATA[Worksoft Certify]]></category>

		<guid isPermaLink="false">http://www.whypad.com/posts/excel-spreadsheet-of-us-states/583/</guid>
		<description><![CDATA[Here's a simple Excel spreadsheet of US States and their abbreviations.  I don't know how many times I've recreated this blooming thing.  But no more.  See full post for download.]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s a simple Excel spreadsheet of US States and their abbreviations.  I don&#8217;t know how many times I&#8217;ve recreated this blooming thing.  I just found myself, once again trying to find a decent table of states to put into my Supple Forms states drop down list, and after ten minutes and finally getting it into an nice Excel table, I figured it was time to memorialize it forever here.  So, no more hunting around.  Here you go:</p>
<p><span id="more-583"></span></p>
<p>Download:  <a href="http://www.whypad.com/wp-content/uploads/us_states.zip">US States</a></p>
<p>AK,ALASKA<br />
AL,ALABAMA<br />
AR,ARKANSAS<br />
AZ,ARIZONA<br />
CA,CALIFORNIA<br />
CO,COLORADO<br />
CT,CONNECTICUT<br />
DE,DELAWARE<br />
FL,FLORIDA<br />
GA,GEORGIA<br />
HI,HAWAII<br />
IA,IOWA<br />
ID,IDAHO<br />
IL,ILLINOIS<br />
IN,INDIANA<br />
KS,KANSAS<br />
KY,KENTUCKY<br />
LA,LOUISIANA<br />
MA,MASSACHUSETTS<br />
MD,MARYLAND<br />
ME,MAINE<br />
MI,MICHIGAN<br />
MN,MINNESOTA<br />
MO,MISSOURI<br />
MS,MISSISSIPPI<br />
MT,MONTANA<br />
NE,NEBRASKA<br />
NC,NORTH CAROLINA<br />
ND,NORTH DAKOTA<br />
NH,NEW HAMPSHIRE<br />
NJ,NEW JERSEY<br />
NM,NEW MEXICO<br />
NY,NEW YORK<br />
NV,NEVADA<br />
OH,OHIO<br />
OK,OKLAHOMA<br />
OR,OREGON<br />
PA,PENNSYLVANIA<br />
RI,RHODE ISLAND<br />
SC,SOUTH CAROLINA<br />
SD,SOUTH DAKOTA<br />
TN,TENNESSEE<br />
TX,TEXAS<br />
UT,UTAH<br />
VA,VIRGINIA<br />
VT,VERMONT<br />
WA,WASHINGTON<br />
WI,WISCONSIN<br />
WV,WEST VIRGINIA<br />
WY,WYOMING</p>
<img src="http://www.whypad.com/?ak_action=api_record_view&id=583&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://www.whypad.com/posts/excel-spreadsheet-of-us-states/583/feed/</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
		<item>
		<title>Hosting a Plugin on WordPress with Aptana and Subclipse- pt 3</title>
		<link>http://www.whypad.com/posts/hosting-a-plugin-on-wordpress-with-aptana-and-subclipse-pt-3/554/</link>
		<comments>http://www.whypad.com/posts/hosting-a-plugin-on-wordpress-with-aptana-and-subclipse-pt-3/554/#comments</comments>
		<pubDate>Tue, 27 Jan 2009 04:04:05 +0000</pubDate>
		<dc:creator>Byron Bennett</dc:creator>
				<category><![CDATA[Miscellany]]></category>

		<guid isPermaLink="false">http://www.whypad.com/?p=554</guid>
		<description><![CDATA[Welcome back to part 3&#8230;.and 4 of the video series on how to host a WordPress plugin using Aptana and Subclipse to accomplish the Subversion gymnastics.  If you haven&#8217;t already done so, check out Part 1 and Part 2 of this series now. At this point, you should already have an email from WordPress with [...]]]></description>
			<content:encoded><![CDATA[<p>Welcome back to part 3&#8230;.and 4 <img src='http://www.whypad.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' />  of the video series on how to host a WordPress plugin using Aptana and Subclipse to accomplish the Subversion gymnastics.  If you haven&#8217;t already done so, check out <a href="http://www.whypad.com/posts/host-plugin-on-wordpress-video-tuts/536/">Part 1</a> and <a href="http://www.whypad.com/posts/hosting-your-wp-plugin-with-aptana-and-subclipse-video-pt-2/545/">Part 2</a> of this series now.</p>
<p><span id="more-554"></span></p>
<p>At this point, you should already have an email from WordPress with a URL to your plugin&#8217;s WordPress SVN repository.  You should also have downloaded and installed Aptana and Subclipse.  If so, you&#8217;re now ready for the fun stuff&#8230;the basic steps from here on out are:</p>
<ol>
<li> Check out your &#8220;trunk&#8221; folder from your WordPress SVN repository</li>
<li>Create a local version of the repository</li>
<li>Import your plugin&#8217;s files into the local repository</li>
<li>Synchronize (Commit) your plugin files back to the remote repository</li>
</ol>
<p>I&#8217;ve had to break this last section of the video into 2 parts for 2 reasons, 1) Screen Toaster is having some issues right now and you&#8217;re limited to 4 minutes of audio; 2) apperantly, I&#8217;m long winded.</p>
<p>Really, it doesn&#8217;t get any easier than this.  I spent hours trying to figure this out, and you should be able to get the whole scoop in 16 minutes (four 4-minute videos <img src='http://www.whypad.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' />  )</p>
<h2>Checkout Trunk from your Remote WordPress SVN Repository</h2>
<p>Here&#8217;s part 3:</p>
<p><object width='425' height='344' type='application/x-shockwave-flash' data='http://www.screentoaster.com/swf/STPlayer.swf'><param name='movie' value='http://www.screentoaster.com/swf/STPlayer.swf'/><param name='allowFullScreen' value='true'/><param name='flashvars' value='video=stUE5QQEZIR1pcQF9aXFNZUVVR'/></object>
<div style='width: 425px; text-align: right;'><a href='http://www.screentoaster.com/'>Free online screen recorder</a></div>
<h2>Uploading your Plugin Files from the Local Repository</h2>
<p>Here&#8217;s the 4th and final part:</p>
<p><object width='425' height='344' type='application/x-shockwave-flash' data='http://www.screentoaster.com/swf/STPlayer.swf'><param name='movie' value='http://www.screentoaster.com/swf/STPlayer.swf'/><param name='allowFullScreen' value='true'/><param name='flashvars' value='video=stUE5QQEZIR1pcQF9UXVJcVVVT'/></object>
<div style='width: 425px; text-align: right;'><a href='http://www.screentoaster.com/'>Record your screencast online</a></div>
<img src="http://www.whypad.com/?ak_action=api_record_view&id=554&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://www.whypad.com/posts/hosting-a-plugin-on-wordpress-with-aptana-and-subclipse-pt-3/554/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>The American Dream</title>
		<link>http://www.whypad.com/posts/the-american-dream/530/</link>
		<comments>http://www.whypad.com/posts/the-american-dream/530/#comments</comments>
		<pubDate>Tue, 20 Jan 2009 06:46:06 +0000</pubDate>
		<dc:creator>Byron Bennett</dc:creator>
				<category><![CDATA[Miscellany]]></category>

		<guid isPermaLink="false">http://www.whypad.com/?p=530</guid>
		<description><![CDATA[This post departs from WhyPad&#8217;s usual fare, but when history is being made, you must wade into the river before it passes you by. Today, America and the world stand  together in the midst of economic, political, and social ruin.  It would be unfair to blame this on any one person, nation, religion, or lack [...]]]></description>
			<content:encoded><![CDATA[<p>This post departs from WhyPad&#8217;s usual fare, but when history is being made, you must wade into the river before it passes you by.</p>
<p>Today, America and the world stand  together in the midst of economic, political, and social ruin.  It would be unfair to blame this on any one person, nation, religion, or lack thereof.  We are all culpable to some extent, and it will take all of us to turn back this dark tide.  But also today, here in the midst of this dark time, America is holding out the epitome of the American dream with the inauguration of Barack Obama as our 44th president.</p>
<p><span id="more-530"></span></p>
<p>There are those who think Barack Obama will save the world, and that&#8217;s not hyperbole.  But to lay that expectation at his feet is just as unfair as saying that the current crises were caused by one man.  President Obama represents hope, not because he has the answers or power to do what must be done.  He represents hope because he represents the collective will of the American people to do what is right.  Anyone of us who abdicates his duty to do what is right in the time of need is abdicating his right to be American.  For where there is freedom, there is responsibility.</p>
<p>Let us hope that our leaders can rise above the political exigencies of re-elections and special interests and the myriad other temptations of political life, and rather follow the examples of men and women like those detailed in John F. Kennedy&#8217;s, <span style="text-decoration: underline;">Profiles in Courage</span>.</p>
<p>Let us stand together with the world to ensure that the American Dream is not just America&#8217;s dream, or Martin Luther King, Jr.&#8217;s dream, or my dream, or your dream, but that it is a dream for all peoples of the world.</p>
<p>May God bless Barack Obama.  May God bless America.  And may God bless the world, for we are truly citizens together, linked in ways we barely can imagine.</p>
<p>Byron</p>
<img src="http://www.whypad.com/?ak_action=api_record_view&id=530&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://www.whypad.com/posts/the-american-dream/530/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Happy 2009!</title>
		<link>http://www.whypad.com/posts/happy-2009/461/</link>
		<comments>http://www.whypad.com/posts/happy-2009/461/#comments</comments>
		<pubDate>Wed, 31 Dec 2008 21:11:05 +0000</pubDate>
		<dc:creator>Byron Bennett</dc:creator>
				<category><![CDATA[Miscellany]]></category>

		<guid isPermaLink="false">http://www.whypad.com/?p=461</guid>
		<description><![CDATA[Here&#8217;s wishing all WhyPad readers a happy, healthy, and prosperous 2009!  May we all make the world around us a little better next year. Cheers! Byron]]></description>
			<content:encoded><![CDATA[<div id="attachment_462" class="wp-caption alignleft" style="width: 343px"><img class="size-full wp-image-462" title="182155966_69ea7cb717" src="http://www.whypad.com/wp-content/uploads/182155966_69ea7cb717.jpg" alt="Fireworks over Friendship by snowrider on Flickr" width="333" height="500" /><p class="wp-caption-text">Fireworks over Friendship by snowrider on Flickr</p></div>
<p><span id="more-461"></span></p>
<p>Here&#8217;s wishing all WhyPad readers a happy, healthy, and prosperous 2009!  May we all make the world around us a little better next year.</p>
<p>Cheers!</p>
<p>Byron</p>
<img src="http://www.whypad.com/?ak_action=api_record_view&id=461&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://www.whypad.com/posts/happy-2009/461/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Congrats to WordPress Team &#8211; 2.7 &#8220;Coltrane&#8221; is Here</title>
		<link>http://www.whypad.com/posts/congrats-to-wordpress-team-27-coltrane-is-here/445/</link>
		<comments>http://www.whypad.com/posts/congrats-to-wordpress-team-27-coltrane-is-here/445/#comments</comments>
		<pubDate>Thu, 11 Dec 2008 16:12:49 +0000</pubDate>
		<dc:creator>Byron Bennett</dc:creator>
				<category><![CDATA[Miscellany]]></category>

		<guid isPermaLink="false">http://www.whypad.com/?p=445</guid>
		<description><![CDATA[I have been keeping an eye on the development of WordPress 2.7 which brings in several new and very cool features.  A lot of that is behind the scenes in the Admin section, but some of it will be readily available.  A new system for Comments is one of the features I&#8217;ve been excited about. So, [...]]]></description>
			<content:encoded><![CDATA[<p>I have been keeping an eye on the development of WordPress 2.7 which brings in several new and very cool features.  A lot of that is behind the scenes in the Admin section, but some of it will be readily available.  A new system for Comments is one of the features I&#8217;ve been excited about.</p>
<p>So, a big congratulations! to the WordPress Team!  Here&#8217;s their <a href="http://wordpress.org/development/2008/12/coltrane/">write-up on the release</a>.  They&#8217;ve worked really hard, and I&#8217;m jazzed to see what all it holds.  I&#8217;ll be upgrading soon.  This will also be a test to see if my first publicly released WordPress theme, <a href="http://www.whypad.com/posts/con-wordpress-theme-released/283/">Contender</a>, survives the upgrade without needing a fix <img src='http://www.whypad.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<p><span id="more-445"></span></p>
<p>Cheers!</p>
<p>Byron</p>
<img src="http://www.whypad.com/?ak_action=api_record_view&id=445&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://www.whypad.com/posts/congrats-to-wordpress-team-27-coltrane-is-here/445/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP: Capture Included File Contents to Variable</title>
		<link>http://www.whypad.com/posts/php-capture-included-file-contents-to-variable/206/</link>
		<comments>http://www.whypad.com/posts/php-capture-included-file-contents-to-variable/206/#comments</comments>
		<pubDate>Sun, 20 Jul 2008 20:06:46 +0000</pubDate>
		<dc:creator>Byron Bennett</dc:creator>
				<category><![CDATA[Miscellany]]></category>

		<guid isPermaLink="false">http://www.whypad.com/?p=206</guid>
		<description><![CDATA[I banged my head against several walls on this a while back and finally gave up.  Today I found this post over at bin-co.com describing how to capture the contents of an include file to a variable.  Here&#8217;s the code&#8230;thanks Binny! &#124; &#124; &#124; &#124; The code: $string = getIncludeContents('template.php'); function getIncludeContents($filename) { if (is_file($filename)) [...]]]></description>
			<content:encoded><![CDATA[<p>I banged my head against several walls on this a while back and finally gave up.  Today I found this <a href="http://www.bin-co.com/php/articles/include_file_output_cature.php">post</a> over at bin-co.com describing how to capture the contents of an include file to a variable.  Here&#8217;s the code&#8230;thanks Binny!</p>
<p><span id="more-206"></span></p>
<p>|</p>
<p>|</p>
<p>|</p>
<p>| The code:</p>
<pre><code>$string = getIncludeContents('template.php');

function getIncludeContents($filename) {
    if (is_file($filename)) {
        ob_start();
        include $filename;
        $contents = ob_get_contents();
        ob_end_clean();
        return $contents;
    }
    return false;
}
</code></pre>
<img src="http://www.whypad.com/?ak_action=api_record_view&id=206&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://www.whypad.com/posts/php-capture-included-file-contents-to-variable/206/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
