<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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/" version="2.0">

<channel>
	<title>Steve Jamesson</title>
	
	<link>http://stevejamesson.com</link>
	<description>Blog on web development</description>
	<lastBuildDate>Thu, 02 Feb 2012 16:07:26 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/SteveJamesson" /><feedburner:info xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" uri="stevejamesson" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item>
		<title>Avoid conditionals in templates with template_include</title>
		<link>http://stevejamesson.com/2012/02/02/avoid-conditionals-in-templates-with-template_include/</link>
		<comments>http://stevejamesson.com/2012/02/02/avoid-conditionals-in-templates-with-template_include/#comments</comments>
		<pubDate>Thu, 02 Feb 2012 16:07:26 +0000</pubDate>
		<dc:creator>Steve Jamesson</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://stevejamesson.com/?p=1066</guid>
		<description><![CDATA[In WordPress, when creating custom templates, it&#8217;s common to end up duplicating code. I&#8217;m a huge proponent of the DRY principle, so it really bothers me when I have to duplicate code. Regarding templates, there&#8217;s a filter that&#8217;s quite often underused: template_include. Before coming across this filter I&#8217;ve often used a bunch of logic around [...]]]></description>
			<content:encoded><![CDATA[<p>In WordPress, when creating custom templates, it&#8217;s common to end up duplicating code. I&#8217;m a huge proponent of the <a href="http://en.wikipedia.org/wiki/Don't_repeat_yourself">DRY principle</a>, so it really bothers me when I have to duplicate code. <span id="more-1066"></span></p>

<p>Regarding templates, there&#8217;s a filter that&#8217;s quite often underused: template_include.</p>

<p>Before coming across this filter I&#8217;ve often used a bunch of logic around of get_template_parts&ndash;cleverly, sure&ndash;but not as efficient and clean as just using the template_include filter.</p>

<p>Check out these links for more info:</p>

<ul>
<li><a href="http://www.jaredatchison.com/2011/10/02/taking-advantage-of-the-template_include-filter/"><em>Taking advantage of the template_include filter</em> by Jared Atch</a></li>
<li><a href="http://www.billerickson.net/reusing-wordpress-theme-files/"><em>Reusing Template Files</em> by Bill Erickson</a></li>
</ul>
<img src="http://feeds.feedburner.com/~r/SteveJamesson/~4/7davC1h_m6g" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://stevejamesson.com/2012/02/02/avoid-conditionals-in-templates-with-template_include/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Snook’s SMACSS</title>
		<link>http://stevejamesson.com/2011/09/28/snooks-smacss/</link>
		<comments>http://stevejamesson.com/2011/09/28/snooks-smacss/#comments</comments>
		<pubDate>Wed, 28 Sep 2011 16:32:18 +0000</pubDate>
		<dc:creator>Steve Jamesson</dc:creator>
				<category><![CDATA[Code]]></category>

		<guid isPermaLink="false">http://stevejamesson.com/?p=1061</guid>
		<description><![CDATA[Snook&#8217;s Scalable and Modular Architecture for CSS]]></description>
			<content:encoded><![CDATA[<p>Snook&#8217;s <a href="http://smacss.com/book/" title="SMACSS">Scalable and Modular Architecture for CSS</a></p>
<img src="http://feeds.feedburner.com/~r/SteveJamesson/~4/dmoo6xT8xmw" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://stevejamesson.com/2011/09/28/snooks-smacss/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Adaptive Images</title>
		<link>http://stevejamesson.com/2011/09/01/adaptive-images/</link>
		<comments>http://stevejamesson.com/2011/09/01/adaptive-images/#comments</comments>
		<pubDate>Thu, 01 Sep 2011 12:46:01 +0000</pubDate>
		<dc:creator>Steve Jamesson</dc:creator>
				<category><![CDATA[Code]]></category>

		<guid isPermaLink="false">http://stevejamesson.com/?p=1058</guid>
		<description><![CDATA[Check out Adapative-Images.com for a great way to serve appropriately sized, responsive, cached images to mobile devices. Rad!]]></description>
			<content:encoded><![CDATA[<p>Check out <a href="http://adaptive-images.com/">Adapative-Images.com</a> for a great way to serve appropriately sized, responsive, cached images to mobile devices. Rad!</p>
<img src="http://feeds.feedburner.com/~r/SteveJamesson/~4/EO7-ofk9DDE" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://stevejamesson.com/2011/09/01/adaptive-images/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CSS-based ajax loader spin</title>
		<link>http://stevejamesson.com/2011/08/18/css-based-ajax-loader-spin/</link>
		<comments>http://stevejamesson.com/2011/08/18/css-based-ajax-loader-spin/#comments</comments>
		<pubDate>Thu, 18 Aug 2011 17:55:16 +0000</pubDate>
		<dc:creator>Steve Jamesson</dc:creator>
				<category><![CDATA[Code]]></category>

		<guid isPermaLink="false">http://stevejamesson.com/?p=1053</guid>
		<description><![CDATA[Check out spin.js, a CSS-based spinner image for ajax loading. No more image.]]></description>
			<content:encoded><![CDATA[<p><a href="http://fgnass.github.com/spin.js/">Check out spin.js</a>, a CSS-based spinner image for ajax loading. No more image.</p>
<img src="http://feeds.feedburner.com/~r/SteveJamesson/~4/5WKNkgrx4Kg" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://stevejamesson.com/2011/08/18/css-based-ajax-loader-spin/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>If you’re smart, you won’t use Internet Explorer</title>
		<link>http://stevejamesson.com/2011/07/29/if-youre-smart-you-wont-use-internet-explorer/</link>
		<comments>http://stevejamesson.com/2011/07/29/if-youre-smart-you-wont-use-internet-explorer/#comments</comments>
		<pubDate>Fri, 29 Jul 2011 17:00:12 +0000</pubDate>
		<dc:creator>Steve Jamesson</dc:creator>
				<category><![CDATA[Misc]]></category>
		<category><![CDATA[internet explorer]]></category>

		<guid isPermaLink="false">http://stevejamesson.com/?p=907</guid>
		<description><![CDATA[Recent study suggests that IE users are dumber than the rest of us: CNN Article]]></description>
			<content:encoded><![CDATA[<p>Recent study suggests that IE users are dumber than the rest of us: <a href="http://www.cnn.com/2011/TECH/web/07/29/internet.explorer.dumb/index.html?hpt=hp_p1&#038;iref=NS1">CNN Article</a></p>
<img src="http://feeds.feedburner.com/~r/SteveJamesson/~4/8a6AfRklBDA" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://stevejamesson.com/2011/07/29/if-youre-smart-you-wont-use-internet-explorer/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Chosen, a jQuery plugin to clean up select/dropdown lists</title>
		<link>http://stevejamesson.com/2011/07/18/chosen-a-jquery-plugin-to-clean-up-selectdropdown-lists/</link>
		<comments>http://stevejamesson.com/2011/07/18/chosen-a-jquery-plugin-to-clean-up-selectdropdown-lists/#comments</comments>
		<pubDate>Mon, 18 Jul 2011 16:15:31 +0000</pubDate>
		<dc:creator>Steve Jamesson</dc:creator>
				<category><![CDATA[Misc]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[plugin]]></category>

		<guid isPermaLink="false">http://stevejamesson.com/?p=892</guid>
		<description><![CDATA[Check out Chosen, Harvest&#8217;s new jQuery plugin that makes dropdown lists and select boxes much cleaner and more predictable.]]></description>
			<content:encoded><![CDATA[<p>Check out <a href="http://harvesthq.github.com/chosen/">Chosen</a>, Harvest&#8217;s new jQuery plugin that makes dropdown lists and select boxes much cleaner and more predictable.</p>
<img src="http://feeds.feedburner.com/~r/SteveJamesson/~4/OHjUIkWoE-E" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://stevejamesson.com/2011/07/18/chosen-a-jquery-plugin-to-clean-up-selectdropdown-lists/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Easy access to common Google CDN scripts</title>
		<link>http://stevejamesson.com/2011/07/18/easy-access-to-common-google-cdn-scripts/</link>
		<comments>http://stevejamesson.com/2011/07/18/easy-access-to-common-google-cdn-scripts/#comments</comments>
		<pubDate>Mon, 18 Jul 2011 13:49:47 +0000</pubDate>
		<dc:creator>Steve Jamesson</dc:creator>
				<category><![CDATA[Misc]]></category>
		<category><![CDATA[cdn]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[jqueryui]]></category>
		<category><![CDATA[script]]></category>

		<guid isPermaLink="false">http://stevejamesson.com/?p=897</guid>
		<description><![CDATA[ScriptSrc.net offers easy access to the most current scripts hosted by Google CDN. Thanks guys!]]></description>
			<content:encoded><![CDATA[<p><a href="http://scriptsrc.net/">ScriptSrc.net</a> offers easy access to the most current scripts hosted by Google CDN. Thanks guys!</p>
<img src="http://feeds.feedburner.com/~r/SteveJamesson/~4/lKffjDy3OV0" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://stevejamesson.com/2011/07/18/easy-access-to-common-google-cdn-scripts/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress Plugin: Clear Widget</title>
		<link>http://stevejamesson.com/2011/07/13/wordpress-plugin-clear-widget/</link>
		<comments>http://stevejamesson.com/2011/07/13/wordpress-plugin-clear-widget/#comments</comments>
		<pubDate>Wed, 13 Jul 2011 15:37:14 +0000</pubDate>
		<dc:creator>Steve Jamesson</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://stevejamesson.com/?p=866</guid>
		<description><![CDATA[A very simple WordPress plugin that outputs a clearing &#60;div&#62;. You may configure the CSS class and height and disable inline style output. Useful when you want to ensure that a widget clears its predecessor where the predecessor's contents are dynamic.]]></description>
			<content:encoded><![CDATA[<p>A very simple WordPress plugin that outputs a clearing &lt;div&gt;. You may configure the CSS class and height and disable inline style output. Useful when you want to ensure that a widget clears its predecessor where the predecessor&#8217;s contents are dynamic.</p>

<p><a href="http://wordpress.org/extend/plugins/clear-widget/">Available on WordPress.org &raquo;</a></p>

<h2>Compatibility</h2>

<ul>
    <li>Current Plugin Version: <strong>0.1</strong></li>
    <li>Written &amp; tested for <strong>WP 3.2.1</strong></li>
</ul>

<h2>Description</h2>

<p>Simply activate the plugin and visit Appearance &gt; Widgets to use. You may choose to disable the inline style output (if your CSS already has a clear rule). You may also specify height and the CSS class of the clear block. If not specified, the defaults are used:</p>

<ul>
    <li>Height: 0</li>
    <li>Class: &#8216;clear&#8217;</li>
</ul>

<h2>Screenshots</h2>

<p><img class="alignnone size-full wp-image-868" title="Clear Widget" src="http://stevejamesson.com/files/2011/07/screenshot-1.png" alt="Clear Widget" width="256" height="212" /></p>

<h2>Download</h2>

<p><a href="http://wordpress.org/extend/plugins/clear-widget/">Download from wordpress.org &raquo;</a></p>
<img src="http://feeds.feedburner.com/~r/SteveJamesson/~4/_Iy3GbwcBUA" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://stevejamesson.com/2011/07/13/wordpress-plugin-clear-widget/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Yoast SEO now allows import from All in One SEO and others</title>
		<link>http://stevejamesson.com/2011/06/19/yoast-seo-now-allows-import-from-all-in-one-seo-and-others/</link>
		<comments>http://stevejamesson.com/2011/06/19/yoast-seo-now-allows-import-from-all-in-one-seo-and-others/#comments</comments>
		<pubDate>Sun, 19 Jun 2011 14:52:34 +0000</pubDate>
		<dc:creator>Steve Jamesson</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[migration]]></category>
		<category><![CDATA[seo]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://stevejamesson.com/?p=862</guid>
		<description><![CDATA[I&#8217;ve been using All in One SEO for years, and Yoast&#8217;s SEO plugin is making some headway. I&#8217;d like to start using it, but haven&#8217;t taken the plunge since there was no way to easily migrate that data. Sure, I could&#8217;ve analyzed both plugins and done some database work or manually migrated the data. But [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been using All in One SEO for years, and Yoast&#8217;s SEO plugin is making some headway. I&#8217;d like to start using it, but haven&#8217;t taken the plunge since there was no way to easily migrate that data.</p>

<p>Sure, I could&#8217;ve analyzed both plugins and done some database work or manually migrated the data. But that wasn&#8217;t very inviting.</p>

<p>But Yoast has pushed an update to his plugin, allowing for easy migration of this data. Sweet, thanks Yoast! See <a href="http://yoast.com/all-in-one-seo-pack-migration/">Yoast&#8217;s post</a>.</p>
<img src="http://feeds.feedburner.com/~r/SteveJamesson/~4/5sjE1Hiv-X4" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://stevejamesson.com/2011/06/19/yoast-seo-now-allows-import-from-all-in-one-seo-and-others/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MODX Web Development – Second Edition</title>
		<link>http://stevejamesson.com/2011/06/13/modx-web-development-second-edition/</link>
		<comments>http://stevejamesson.com/2011/06/13/modx-web-development-second-edition/#comments</comments>
		<pubDate>Mon, 13 Jun 2011 20:50:28 +0000</pubDate>
		<dc:creator>Steve Jamesson</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[modx]]></category>
		<category><![CDATA[modxcms]]></category>
		<category><![CDATA[packt publishing]]></category>

		<guid isPermaLink="false">http://stevejamesson.com/?p=858</guid>
		<description><![CDATA[Packt Publishing has released a new edition of MODX Web Development &#8211; Second Edition. Though I rarely use MODX these days, I do still consider it a valuable and quality CMS. Clients have found it pretty intuitive, especially for basic edits and updates. If you&#8217;re interested in getting started with or just learning about MODX, [...]]]></description>
			<content:encoded><![CDATA[<p>Packt Publishing has released a new edition of <a href="http://www.packtpub.com/modx-web-development-second-edition/book" title="MODx Web Development - Second Edition Book &amp; eBook | Packt Publishing Technical &amp; IT Book and eBook Store">MODX Web Development &#8211; Second Edition</a>. Though I rarely use MODX these days, I do still consider it a valuable and quality CMS. Clients have found it pretty intuitive, especially for basic edits and updates.</p>

<p>If you&#8217;re interested in getting started with or just learning about MODX, I do recommend this book. It covers MODX <a href="http://modx.com/evolution/" title="Evolution | MODX">Evolution</a>, not <a href="http://modx.com/revolution/" title="Revolution | MODX">Revolution</a>. Personally, I still prefer Evolution over Revolution; it just seems to jive better to me, since I haven&#8217;t spent too much time with Revolution.</p>
<img src="http://feeds.feedburner.com/~r/SteveJamesson/~4/SB9LFIH1HCk" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://stevejamesson.com/2011/06/13/modx-web-development-second-edition/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss><!-- This Quick Cache file was built for (  stevejamesson.com/feed/ ) in 0.39155 seconds, on Feb 3rd, 2012 at 4:23 am UTC. --><!-- This Quick Cache file will automatically expire ( and be re-built automatically ) on Feb 3rd, 2012 at 5:23 am UTC --><!-- +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ --><!-- Quick Cache Is Fully Functional :-) ... A Quick Cache file was just served for (  stevejamesson.com/feed/ ) in 0.00060 seconds, on Feb 3rd, 2012 at 5:06 am UTC. -->

