<?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>Brian Cribb</title>
	
	<link>http://www.briancribb.com</link>
	<description>Front-end Web Developer</description>
	<lastBuildDate>Sun, 13 May 2012 01:10:19 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/briancribb" /><feedburner:info xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" uri="briancribb" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item>
		<title>Solving the Extra 10 Pixels in WordPress Captions with JavaScript</title>
		<link>http://www.briancribb.com/solving-the-extra-10-pixels-in-wordpress-captions-with-javascript/</link>
		<comments>http://www.briancribb.com/solving-the-extra-10-pixels-in-wordpress-captions-with-javascript/#comments</comments>
		<pubDate>Sat, 12 May 2012 11:51:18 +0000</pubDate>
		<dc:creator>Brian</dc:creator>
				<category><![CDATA[Tips]]></category>
		<category><![CDATA[captions]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://www.briancribb.com/?p=470</guid>
		<description><![CDATA[First of all, here&#8217;s the JavaScript code: function correctCaptionWidth() { // Kills the stupid extra 10 pixels added by WordPress. $(".wp-caption").width(function() { return jQuery('img', this).width(); }); // This allows it to be responsive. $(".wp-caption").css('max-width', '100%'); correctCaptionWidth(); // Calls the function. &#8230; <a href="http://www.briancribb.com/solving-the-extra-10-pixels-in-wordpress-captions-with-javascript/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>First of all, here&#8217;s the JavaScript code:</p>
<pre>function correctCaptionWidth() {
    // Kills the stupid extra 10 pixels added by WordPress.
    $(".wp-caption").width(function() {
        return jQuery('img', this).width();
    });
    // This allows it to be responsive.
    $(".wp-caption").css('max-width', '100%');

    correctCaptionWidth(); // Calls the function.
}</pre>
<p>Lots of folks get steamed over WordPress captions, because they&#8217;re designed to be ten pixels wider than the photo they&#8217;re placed under. There&#8217;s actually a good reason for the extra space, but for some designs it can be a problem. I&#8217;ll explain how I got rid of it, but first I&#8217;d like to tell you why things are that way in the first place.</p>
<p>HTML elements, by default, expand to the size of their containers. To change this, some kind of width needs to be applied. Images are a little different because they actually have a real width of their own. By default, a photo will be its own regular size. To make a caption, WordPress wraps an image inside an HTML element. The image can be left aligned or whatever, but that caption container is going to run all the way to the end if we don&#8217;t do something. For this reason, WordPress looks at the photo and assigns a width to the containing div tag. They chose ten pixels because&#8230; well, because they wanted to. It goes well with the default design that comes with WordPress.</p>
<p>But there are problems if your design requires certain kinds of alignment, and especially if your design is responsive. An inline style is extremely specific, so it tends to override anything else you do. Even worse, it&#8217;s a set number and therefore refuses to scale down for responsive themes. <em>(I&#8217;m assuming that you&#8217;re building your own theme here. Pre-built commercial or free themes might have solutions in place already.)&nbsp;</em>The ten pixels really needs to be changed right there at the div, and there are two ways to do it:</p>
<ol>
<li><strong>PHP</strong>: You could either place a filter in functions.php or build a small plugin.</li>
<li><strong>JavaScript</strong>: Add a small function to update the width of the caption container.</li>
</ol>
<p>I decided to go with JavaScript since I&#8217;m a little stronger there, and because jQuery makes it really easy to target things. You&#8217;ll notice in the code that my first move is to target all of the WordPress captions on the page, and set their widths to a function. I could have grabbed the image width first, assigned a variable and then jumped up one level to the container before assigning the width, but this is much cleaner. The function takes care of the targeting for us. For each caption, we find out the width of the image it contains, and set the width to that value. Done.</p>
<p>But we&#8217;re still in trouble where responsive themes are concerned. We&#8217;ve killed the extra 10 pixels, but it&#8217;s still a set value. To solve this, an extra line is added to assign a max-width to the div. Since the max-width is inline, it carries the same specificity as the width attribute. We no longer need to worry about the hard number overriding our nice responsive styles.</p>
<h2>Finer Points</h2>
<p>I could have just tossed these lines of code into the&nbsp;$(document).ready function, but I chose to enclose them within their own function as a matter of policy. Maybe I&#8217;ll want to use a function when the browser window changes or put it on a timer or something. Or maybe I want a function to be called more than once, or with different arguments for different situations. For these reasons, I like to keep my code in functions for the most part. And besides, it makes the&nbsp;$(document).ready function easier to read. If a task takes more than a line or two, I tend to put it into a function.</p>
<p>And one last point about JavaScript variables. I used&nbsp;$(&#8220;.wp-caption&#8221;) twice in the code above. This means that jQuery had to go looking through the DOM twice to find all the elements with that class attached. There&#8217;s a pretty good argument for a variable here. I could have written it like this:</p>
<pre>var wpCaption = $(".wp-caption");</pre>
<p>This way, jQuery will go through the DOM once, and remember the elements that it found. When you should do this is a bit of a judgement call. Once doesn&#8217;t justify a variable. Twice may or may not make a difference in performance, depending upon how much jQuery has to look for. Three times, however, and you&#8217;re definitely in variable country.</p>
<p>This won&#8217;t make much of a difference in lighter sites with jut a bit of JavaScript, but if you have a lot going on then you&#8217;ll be glad for the savings in performance. And you&#8217;ll be <em>especially</em> glad if you&#8217;re messing around with the <a title="From Flash to Canvas" href="http://www.briancribb.com/from-flash-to-canvas/">HTML5 canvas element</a>.</p>
<p>Hopefully this will help you with your design, especially if your theme is responsive. If you have a better idea about how to adjust WordPress captions, please drop in for a comment. I&#8217;m always looking for a better mousetrap.</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.briancribb.com/solving-the-extra-10-pixels-in-wordpress-captions-with-javascript/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>4 Handy WordPress Starter Themes</title>
		<link>http://www.briancribb.com/4-handy-wordpress-starter-themes/</link>
		<comments>http://www.briancribb.com/4-handy-wordpress-starter-themes/#comments</comments>
		<pubDate>Sun, 06 May 2012 13:43:09 +0000</pubDate>
		<dc:creator>Brian</dc:creator>
				<category><![CDATA[Blog]]></category>

		<guid isPermaLink="false">http://www.briancribb.com/?p=458</guid>
		<description><![CDATA[To speed up the various personal and professional projects that all web developers take on, it helps to identify all the things that we do every time, and set those up in a starter theme. Lots of great developers in &#8230; <a href="http://www.briancribb.com/4-handy-wordpress-starter-themes/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>To speed up the various personal and professional projects that all web developers take on, it helps to identify all the things that we do <strong>every</strong> time, and set those up in a starter theme. Lots of great developers in WordPress Land have done this already, and were kind enough to post the results for free. Here are a few starters that have inspired me.</p>
<h2><a href="http://theme.wordpress.com/themes/twentyeleven/"><img class="alignleft size-full wp-image-442" title="Twenty Eleven Screenshot" src="http://www.briancribb.com/wp-content/uploads/2012/03/twenty-eleven-screenshot.png" alt="Twenty Eleven Screenshot" width="300" height="225" /></a><a href="http://theme.wordpress.com/themes/twentyeleven/">Twenty Eleven</a></h2>
<p>This is the current default theme for WordPress. It has comments in the code for reference, and you can be sure it covers all the bases because it&#8217;s built by the WordPress Dev Team. It&#8217;s clean, thorough, and it&#8217;s even responsive. This makes it a pretty good candidate for child themes.</p>
<p>Building a WordPress theme on your own is a bit of work, so it can be helpful to simply add a few personal touches to an existing theme like this one. In fact, at the time of this writing my own site is a Twenty-Eleven child theme. I changed some styles, tweaked three PHP files and I was done.</p>
<h2><a href="http://wordpress.org/extend/themes/boilerplate"><img class="alignleft size-full wp-image-441" title="HTML5 Boilerplate Screenshot" src="http://www.briancribb.com/wp-content/uploads/2012/03/html5-boilerplate-screenshot.png" alt="HTML5 Boilerplate Screenshot" width="320" height="233" /></a><a href="http://wordpress.org/extend/themes/boilerplate">HTML5 Boilerplate</a></h2>
<p>This is the first starter theme I used for my own custom themes, and for good reason. It&#8217;s the Twenty Ten theme with all the styles pulled out, as well as some of the extra markup. (It&#8217;s actually based upon the <a href="http://viewportindustries.com/#starkers">Starkers theme</a>, which is currently going through some changes.) If you&#8217;re trying to stick with the CSS without going too far into the code, this is an excellent theme to use as a starter. You can build a child theme if you like, but I tended to just make my own copy and change it. One big plus is the Boilerplate admin panel, which allows you to add things like jQuery, Modernizr and other neat stuff without digging into the PHP code. You can even link to your own custom JavaScript by checking a little box. If you want to just stick to the CSS, then you&#8217;ll be very happy with this theme.</p>
<h2><a href="http://themble.com/bones/"><img class="alignleft size-full wp-image-440" title="Bones Screenshot" src="http://www.briancribb.com/wp-content/uploads/2012/03/bones-screenshot.gif" alt="Bones Screenshot" width="300" height="225" /></a><a href="http://themble.com/bones/">Bones</a></h2>
<p>Bones is a comprehensive starter, and it has the swankiest theme site around. Be sure to look at it in Chrome, so all the features will be at their fullest. There are two editions, but I was drawn to the responsive version. The stylesheets are all set up for you, and they&#8217;re well-documented.</p>
<p>The general idea is that you start with some simple styles just for mobile, and then add more features through media queries as you go up in size. It&#8217;s a different approach, so it takes a little getting used to.</p>
<p>The author also does a pretty good job of promoting <a href="http://lesscss.org/">LESS</a>, and he even suggests some parser programs which update the css files as you save the LESS files. <em>(The site itself links to the resulting CSS rather than trying to parse the LESS at runtime.)</em> There are lots of comments in the code to explain what&#8217;s going on, and the author is nice enough to place links to extremely useful blog posts from other sites. After looking through this starter theme, I&#8217;ve pulled bunches of stuff from it and I&#8217;m now committed to using <a href="http://lesscss.org/">LESS</a>.</p>
<h2><a href="http://html5reset.org/"><img class="alignleft size-full wp-image-439" title="HTML 5 Reset Theme" src="http://www.briancribb.com/wp-content/uploads/2012/03/html5-reset-screenshot.png" alt="HTML 5 Reset Theme" width="300" height="225" /></a><a href="http://html5reset.org/">HTML5 Reset</a></h2>
<p>I have to admit to some special affection for this one. It&#8217;s a nice, simple set of files that don&#8217;t need to be retrofitted. It&#8217;s really and truly blank. It may not have the cool features that some of the other starters have, but that&#8217;s the point. The only features in this thing are the ones you choose to add. These files are also documented and they also reference nifty articles from other authors. The header.php file is nicely built, with starter meta for Dublin Core and a few other things.</p>
<p>There is a downside, however. This theme is for developers. You can&#8217;t check a box and activate jQuery. You need to know what you&#8217;re doing, and you&#8217;ll need to add features on your own.</p>
<p>So there&#8217;s my list. I hope you&#8217;ve found something in here to pull from, or even just to use. There are lots and lots of groovy things laying around in each of these themes. If you&#8217;re a developer, just open them up and pull out the parts you like. And if you&#8217;re a designer who just wants to stick to the CSS, then remember all those nice admin settings in the <a href="http://wordpress.org/extend/themes/boilerplate">Boilerplate</a> theme.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.briancribb.com/4-handy-wordpress-starter-themes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The Unfriendly Nature of HP</title>
		<link>http://www.briancribb.com/the-unfriendly-nature-of-hp/</link>
		<comments>http://www.briancribb.com/the-unfriendly-nature-of-hp/#comments</comments>
		<pubDate>Sun, 12 Feb 2012 03:47:19 +0000</pubDate>
		<dc:creator>Brian</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Hewlett Packard]]></category>
		<category><![CDATA[HP]]></category>
		<category><![CDATA[ink]]></category>
		<category><![CDATA[printer]]></category>

		<guid isPermaLink="false">http://www.briancribb.com/?p=423</guid>
		<description><![CDATA[I bought ink for my printer today, and once again I found myself wondering which Black ink to buy. This happens every time, so I&#8217;ve done quite a few last-minute Google searches on my iPhone. There&#8217;s a bit of a &#8230; <a href="http://www.briancribb.com/the-unfriendly-nature-of-hp/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I bought ink for my printer today, and once again I found myself wondering which Black ink to buy. This happens every time, so I&#8217;ve done quite a few last-minute Google searches on my iPhone. There&#8217;s a bit of a pattern to them, so I thought this blog would be a good place to answer the common questions. And for reference, <a href="http://h30434.www3.hp.com/t5/Other-Printing-Questions/How-to-distinguish-Photo-Black-vs-Black-ink-cartridge-for-6380/td-p/10838">here&#8217;s a link for the extremely typical thread</a> that inspired this post.</p>
<h2>Pentagon vs. Bowtie</h2>
<p>For some reason, <a href="http://www.hp.com/">HP</a> refuses to clearly mark their ink cartridges properly. The cartridges in your printer are labeled with symbols which do not appear on the packaging. This isn&#8217;t a problem for Cyan, Magenta or Yellow, but it causes confusion between <strong>Black</strong> and <strong>Photo Black</strong>. One has a pentagon, and the other a little bow tie. But which is which?</p>
<p>This question is asked on many forum threads, and generally receives two kinds of responses:</p>
<ol>
<li>Posts from other people who can&#8217;t find the information anywhere.</li>
<li>Posts from previously burned people like me who have bought one recently and paid attention when the product was opened.</li>
</ol>
<p><em>Short answer: the pentagon is Black, and the bow tie is Photo Black.</em></p>
<p><em></em>Another way to tell is to ignore the symbols entirely. The bow tie is misleading. It draws your attention away from a symbol that is common to the cartridge and packaging. If you look at the photo below, you&#8217;ll see a camera symbol. It&#8217;s the only symbol that matters. <em>(And in spite of what forum know-it-alls claim, it&#8217;s not obvious and this situation tricks lots of people.)</em> The color inks will have dots on the box to match their color, and one of the black inks will have a camera. That&#8217;s <em>Photo Black</em>. The plain black dot indicates regular <em>Black</em>.</p>
<div id="attachment_426" class="wp-caption aligncenter" style="width: 510px"><img class="size-large wp-image-426" title="HP 564 Photo Black Ink Cartridge and the box" src="http://www.briancribb.com/wp-content/uploads/2012/02/cartridge-and-box-500x373.jpg" alt="HP 564 Photo Black Ink Cartridge and the box" width="500" height="373" /><p class="wp-caption-text">There&#39;s no bow tie anywhere on the box, but notice the camera symbol just above the bow tie. Most folks miss it just like I did. Also, notice that they&#39;re calling it &quot;Photo&quot; and not &quot;Photo Black&quot;.</p></div>
<p>So why does Hewlett Packard use the geometric shapes on the cartridges when they&#8217;re not on the box? Who knows? I can only guess that they&#8217;re either poorly organized or they just don&#8217;t care to clear things up.</p>
<h2>Ounces vs. Page Yield</h2>
<p>Every forum thread I&#8217;ve seen about HP printer cartridges contains some form of this argument. Some people want to know how much ink is in the cartridge so they&#8217;ll know how much they&#8217;re paying for it, and HP insists that they should use pages as a unit of measurement instead.</p>
<p>I&#8217;ll get the math out of the way first, even though it never seems to work when other people do it. An ounce (or preferably a milliliter) is a fixed amount. If you buy a two-liter bottle of soda, you can calculate how much you&#8217;re paying per ounce of product. This is a simple calculation that consumers do every day. It&#8217;s not a big deal. In many cases you get the soda cheaper when you buy the larger bottle, so people like to compare prices. As they say on virtually every thread on the subject, &#8220;an ounce is an ounce.&#8221;</p>
<p>A page is <strong>not</strong> a fixed amount. Seriously, it isn&#8217;t. Printing a photo takes a large amount of ink while printing directions to your buddy&#8217;s house only takes a little. Both are pages, but they use different amounts of ink. It simply isn&#8217;t rational to claim that pages should be used to measure the cartridge instead of ounces. Remember, people aren&#8217;t asking how much they can print. They&#8217;re asking how much ink they&#8217;re getting for their money.</p>
<p>But alas, HP disagrees. <a href="http://h30434.www3.hp.com/t5/user/viewprofilepage/user-id/80">Bob Headrick</a>, who works for HP, added a post to the forum thread I linked above, and he says two things that don&#8217;t help much. First:</p>
<blockquote><p>The wide black is the standard black, the narrow one is the photo black.</p></blockquote>
<p>That only helps if you can open two boxes in the store <em>before you buy anything</em>. Remember, there&#8217;s no pentagon or bow tie on the box. You can&#8217;t see how wide it is unless you have X-Ray Vision. <em>(He could have just told people to look for the camera symbol. If it&#8217;s not there, you have a regular Black cartridge.)</em></p>
<div id="attachment_427" class="wp-caption aligncenter" style="width: 510px"><img class="size-full wp-image-427" title="All 5 cartridges in an HP C6380 printer" src="http://www.briancribb.com/wp-content/uploads/2012/02/all-five-cartridges.jpg" alt="All 5 cartridges in an HP C6380 printer" width="500" height="374" /><p class="wp-caption-text">Your eyes are drawn to the geometric shapes, but take notice of the reversed camera symbol on the far left cartridge. It&#39;s the only symbol that matters.</p></div>
<p>Then he goes on to say:</p>
<blockquote><p>As for the &#8220;ounces are ounces&#8221; comment, that is very misleading as it applies to printing.  A consumer prints pages, not ounces.  Comparing cartrdiges based on thier volume would at best be misleading for several reasons.  As an example, a printer using the #96 black cartrdige gets about twice as many printed pages per mL (or ounce) as does one that uses the #45 cartrdige.</p></blockquote>
<p>Wow. He avoided the facts completely. That&#8217;s like saying people don&#8217;t buy gallons of gasoline, they buy miles. Think about that. When you go to the gas station, do you purchase a &#8220;mile&#8221; of gasoline? Of course not. Mileage is a variable. A gallon is not.</p>
<p>Mr. Headrick attempts (unsuccessfully) to mislead the other posters by comparing cartridges from two different printers. The #564 and the #564XL are for the <strong>same</strong> printer. Yes, you can certainly compare two cartridges that go into the <em>same slot of the same printer</em>. One simply has more ink in it.</p>
<p>Unfortunately, HP pushes their story pretty hard, even when people blatantly call them on it. Maybe the XL ink is the same cost per ounce as the regular size. Maybe it&#8217;s more expensive per ounce, and HP doesn&#8217;t want to admit it. Either way, it&#8217;s pretty shady. Not only do they refuse to tell us how much ink is in the cartridge, but they try to sell us on some crazy anti-mathamatical nonsense. Ask them a straight question if you like, but it will gain you nothing. They know you already bought the printer, so they don&#8217;t care if you get a good deal on the ink. In fact, supplies are where they make most of their money.</p>
<h2>Windows vs. Mac</h2>
<p>HP printers are designed to work with Windows. When my desktop PC was my primary machine, I had no trouble with the printer besides the confusion with the cartridges. (Not surprising, since that computer also came from HP.) However, things changed when I switched to Mac. I downloaded the HP Mac driver from their website, but scanning was a bit weird and printing on photo paper never seemed to yield the same result twice.</p>
<p>And yes, I know how to change and save the settings. I <strong>did</strong> save the settings when I finally got them right, but the next time I used them I was at square one again. It&#8217;s a real pain. I basically don&#8217;t print photos anymore. I can try, but it takes me several attempts to get it right. This burns through lots of ink, which HP gladly sells to me over and over again. It&#8217;s a good scanner, but as a photo printer it&#8217;s an empty promise.</p>
<p>But don&#8217;t get me wrong. If the machine was designed for Windows, then that&#8217;s fine. But if they&#8217;re going to provide a Mac driver, shouldn&#8217;t they get it right?</p>
<h2>Conclusion</h2>
<p>Don&#8217;t buy their stuff, if you can help it. HP simply doesn&#8217;t care about us. They don&#8217;t care if we&#8217;re confused by misleading packaging, and they don&#8217;t care if we get a fair price. Once you buy a printer, your wallet belongs to them. My only other advice is to avoid arguing with an HP staffer over ounces. It just doesn&#8217;t work. It&#8217;s their job to push the page yield argument, so no amount of logic or reason will sway them.</p>
<p>But at least you and I know the truth. An ounce is an ounce, even if the folks at HP close their eyes and cover their ears.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.briancribb.com/the-unfriendly-nature-of-hp/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Kind Words Can Lead to Swag</title>
		<link>http://www.briancribb.com/kind-words-can-lead-to-swag/</link>
		<comments>http://www.briancribb.com/kind-words-can-lead-to-swag/#comments</comments>
		<pubDate>Tue, 07 Feb 2012 02:16:07 +0000</pubDate>
		<dc:creator>Brian</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[social media]]></category>
		<category><![CDATA[swag]]></category>

		<guid isPermaLink="false">http://www.briancribb.com/?p=417</guid>
		<description><![CDATA[There was a package on my desk today. It was a bit of a surprise since I&#8217;ve been on the job for less than a month and I don&#8217;t deal with vendors or customers. But things cleared up when I &#8230; <a href="http://www.briancribb.com/kind-words-can-lead-to-swag/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>There was a package on my desk today. It was a bit of a surprise since I&#8217;ve been on the job for less than a month and I don&#8217;t deal with vendors or customers. But things cleared up when I opened it. Inside was a t-shirt and a card from the folks at <a href="www.lynda.com">Lynda.com</a>. Seriously, they sent me a shirt. The card read:</p>
<blockquote><p>Thanks for your blog post, Brian!</p>
<p>Happy Learning,</p>
<p>Michael</p>
</blockquote>
<p>That&#8217;s right. I posted a link to <a title="A Little Help from Lynda Weinman" href="http://www.briancribb.com/2012/01/a-little-help-from-lynda-weinman/">this blog post</a> on my Facebook, Twitter and Google+ accounts, and they found it. Do you know what this means? Someone besides me is actually reading this blog! According to the business card enclosed, my one confirmed reader is <a href="http://www.lynda.com/Michael-Ninness/45-1.html">Michael Ninness</a>, Vice President of Content at Lynda.com. </p>
<p><div id="attachment_419" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.briancribb.com/wp-content/uploads/2012/02/IMG_2319.jpg"><img class="size-medium wp-image-419" title="My spiffy new t-shirt" src="http://www.briancribb.com/wp-content/uploads/2012/02/IMG_2319-300x300.jpg" alt="My spiffy new t-shirt" width="300" height="300" /></a><p class="wp-caption-text">It says &quot;Trust me. I&#39;m a trained professional.&quot; And of course, Lynda&#39;s logo is on the back.</p></div>
<p>It also means that the internet is more of a small town than I had realized. Not only did they notice me, but they looked around a bit to see where I work. There are several levels of awesome here. Merely being found was kind of neat, so I would have been more than pleased with an email. But Michael decided to kick it up a notch and send me a physical gift. That&#8217;s the power of social media, folks. Kind words going back and forth, a free t-shirt, and oh yeah&#8230; thanks to the videos I&#8217;ve been watching, I&#8217;ll be able to make that WordPress plugin I was thinking about. Nice and shiny, with bells, whistles and everything.</p>
<p>So thanks, Michael. I&#8217;ll wear this shirt proudly. <img src='http://www.briancribb.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.briancribb.com/kind-words-can-lead-to-swag/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A Little Help from Lynda Weinman</title>
		<link>http://www.briancribb.com/a-little-help-from-lynda-weinman/</link>
		<comments>http://www.briancribb.com/a-little-help-from-lynda-weinman/#comments</comments>
		<pubDate>Sun, 29 Jan 2012 14:31:50 +0000</pubDate>
		<dc:creator>Brian</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[books]]></category>
		<category><![CDATA[lynda.com]]></category>
		<category><![CDATA[subscription]]></category>

		<guid isPermaLink="false">http://www.briancribb.com/?p=410</guid>
		<description><![CDATA[Lately I&#8217;ve been kicking around the idea of developing my own WordPress plugins, and posting the useful ones to the internet. I had intended to browse through the codex to figure out the details on how to make them and &#8230; <a href="http://www.briancribb.com/a-little-help-from-lynda-weinman/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.lynda.com/"><img class="alignleft size-full wp-image-411" title="Lynda.com" src="http://www.briancribb.com/wp-content/uploads/2012/01/lynda-logo-square-200.gif" alt="Lynda.com" width="200" height="200" /></a>Lately I&#8217;ve been kicking around the idea of developing my own WordPress plugins, and posting the useful ones to the internet. I had intended to browse through the codex to figure out the details on how to make them and add the admin pages, but I never seemed to get around to it. Then my new job gave me a leg up. They have a big, fancy account at <a href="http://www.lynda.com/" target="_blank">Lynda.com</a> for us web peeps. After checking out the content, I&#8217;ve decided that <a href="http://www.lynda.com/aboutus/LyndaWeinman.aspx" target="_blank">Lynda Weinman</a> is my new best friend.</p>
<p>That logo has been around for a <em>long time</em>, and I&#8217;ve always been impressed by her brand power. I mean, look at that thing. With glasses and a haircut, she made a distinctive logo that I&#8217;ll recognize <strong>forever</strong>. When I see her on the videos, I know instantly who I&#8217;m looking at. If I made an icon of myself reading a book, it would just look like some dude. No way it would work as well as Lynda&#8217;s.</p>
<p>But I digress. I&#8217;m not just writing this to give her some free <em>(and well-deserved)</em> advertisement. I&#8217;m writing this to tell you about the member&#8217;s area of her site, and how useful it is.</p>
<p>I&#8217;m a firm believer in books. You could search the internet to develop your web skills, but the web is vast and you only need a small fraction of it to achieve a particular goal. It&#8217;s really worth it to let an expert sift through the ocean of information and gather the best and most useful practices for you. Again and again I&#8217;ve been glad to pay the money for a book which leads me directly to the useful information I need, without digressing and without the assumption that I already know most of it. Seriously, some people should not write tutorials.</p>
<p>Lynda Weinman, and others like her, have helped us out with many a physical volume. But she also has lots of helpful and current web content. The only snag is that you have to pay for it, just as you would pay for a book. What you lose in the benefit of beloved paper and highlighters, you gain in plain English explanations of important concepts. It&#8217;s a win.</p>
<p>To be fair, this is the first site of this type that I&#8217;ve seen. I&#8217;m normally an <a href="http://oreilly.com/" target="_blank">O&#8217;Reilly Media</a> man, and I know that they have <a href="http://my.safaribooksonline.com/?cid=orm-nav-global&amp;portal=oreilly" target="_blank">similar web content which parallels their books</a>. I&#8217;ve been told that it&#8217;s excellent, but I haven&#8217;t jumped in yet because I&#8217;m still sort of attached to the feel and solid comfort of paper. I&#8217;m not sure how it compares to Lynda&#8217;s site, but if I ever check it out I&#8217;ll be sure to write a post on the subject.</p>
<p>All I can say for now is that you have two winning options available to you which I have personally taken advantage of: O&#8217;Reilly books from the local bookstore, and tutorial videos from Lynda.com. <em>(Did I mention that she has an iOS app? Because she does.)</em> You&#8217;ll be happy with either option.</p>
<p>However&#8230; the web moves forward so fast that physical books might not be the best idea in all cases. You can get O&#8217;Reilly books for your iPad or iPhone for a fraction of the price you&#8217;d pay for a physical book, and subscriptions to online content will always be current if you pick a good site like <a href="http://www.lynda.com/" target="_blank">Lynda.com</a> or <a href="http://my.safaribooksonline.com/?cid=orm-nav-global&amp;portal=oreilly" target="_blank">Safari Online</a> from O&#8217;Reilly Media. I suppose the best way forward would be to take a look at your spending. If you&#8217;re buying lots of books from O&#8217;Reilly, then maybe the subscription to their online versions could save you some money. If you just need some tutorial videos, then maybe a subscription to Lynda.com could prevent the need for a book in the first place.</p>
<p>It all depends upon what you need, and how much you&#8217;re already spending. It&#8217;s certainly not the kind of thing a casual reader would want to pay for every month. If you just need help on rare occasions, then you&#8217;d save more money by sifting through the web&#8217;s free content on your own.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.briancribb.com/a-little-help-from-lynda-weinman/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Animating Space Stuff with the HTML5 Canvas</title>
		<link>http://www.briancribb.com/animating-space-stuff-with-the-html5-canvas/</link>
		<comments>http://www.briancribb.com/animating-space-stuff-with-the-html5-canvas/#comments</comments>
		<pubDate>Mon, 12 Dec 2011 05:40:43 +0000</pubDate>
		<dc:creator>Brian</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[canvas]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[HTML5]]></category>

		<guid isPermaLink="false">http://www.briancribb.com/?p=400</guid>
		<description><![CDATA[I finally got a chance to see the real differences between canvas and Flash. I built a neat little solar system animation with the canvas, which you can see here. It&#8217;s similar in many ways to something I did in &#8230; <a href="http://www.briancribb.com/animating-space-stuff-with-the-html5-canvas/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I finally got a chance to see the real differences between canvas and Flash. I built a neat little solar system animation with the canvas, which you can see <a title="Solar System Animation" href="http://www.briancribb.com/samples/solar-system-animation/">here</a>. It&#8217;s similar in many ways to something I did in Flash a couple of years ago, so I had some basis for comparing the two. This isn&#8217;t a tutorial post, so I won&#8217;t go into too much detail about the code.</p>
<p>First of all, the canvas is fun. I built a star field animation at work last week that had several of us gathered around one machine, tweaking variables and trying out the API. It&#8217;s the kind of stuff that you could only do in Flash before, except that we&#8217;re just using Javascript. It was so nice to know that we could pursue this without paying a ton of money to Adobe. Eventually, I had to put a stop to the tweaking. After all, we were just building a 404 page. If we keep adding new features to the canvas, we&#8217;ll never be finished with it.</p>
<p>But I digress. Here are some ways in which the two differ. It&#8217;s not a complete list, of course.</p>
<h2>Good Stuff</h2>
<p>The canvas can draw programmatically, and can perform many of the tasks that we use Flash for. Circles, arcs, lines&#8230; you can do all that stuff with no trouble. Plus, it&#8217;s not restricted to the box it sits in. You can use JavaScript to pass information back and forth from the canvas to other parts of the page, (such as a form) and you don&#8217;t have to have a special program to debug things. This is especially important for a corporate environment. After all, you can&#8217;t debug somebody&#8217;s Flash code if your company machine doesn&#8217;t have Flash. Canvas promises to bring real animation to the web, and we&#8217;ll all be able to use it.</p>
<p>Also, much of the code is reusable, just like AS3 code. Once you learn something, you can easily adapt it for new situations. The star field you see in the solar system is the same one I built at work, with only minor adjustments.</p>
<h2>The Bad Stuff</h2>
<p>Two words. Browser Compatibility. Or more to the point, <em>Internet Explorer</em>. With Flash, you&#8217;re free to use fonts, images, and whatever else you like. If it works on your machine at home, it will work for the user&#8217;s desktop. But with canvas, you still have to worry about which browser is ahead, which is behind, and which features are common to both of them. You have to find a balance between moving forward and not leaving folks behind.</p>
<p>I tried my solar system animation in several browsers on my Mac, and the same several on my PC. The general results were surprising in a couple of places. As expected, my Macbook ran everything really well in every browser. On the PC, I got nice results from Chrome, Safari and Internet Explorer 9, but Firefox was rather choppy. (WTF, Mozilla? How did Microsoft get past you?)</p>
<h2>Adjustments and Conditionals</h2>
<p>In an effort to reduce the lag, I thought I would try to limit the number of canvases being used. At the time of this writing, there is a snowfall animation in my header. Could this be using too much processor power? I doubt it, but why not conserve anyway?</p>
<p>My WordPress theme is already set to pull in the extra JavaScript only if there&#8217;s a canvas on the page. <em>(I put the id and the script&#8217;s filename into Custom Fields, and build the url from that. No custom field, no JavaScript link.)</em> Just to save a little more, I set it up to only use the header animation if there&#8217;s no custom field for the page. If you go to the solar system page, you&#8217;ll get a lovely sunset photo of Lake Champlain. I&#8217;m not sure how much power I&#8217;m saving, but at least I got to play with some PHP while I was doing this. I&#8217;ll check the page from work, just to see if there was a problem with my PC at home.</p>
<h2>My Conclusion</h2>
<p>Although the HTML5 Canvas isn&#8217;t a complete Flash-killer, it&#8217;s getting there and it will only gain support as time goes by. Now is an excellent time to start using it.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.briancribb.com/animating-space-stuff-with-the-html5-canvas/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>I Will Never Be Finished with My Running Site</title>
		<link>http://www.briancribb.com/i-will-never-be-finished-with-my-running-site/</link>
		<comments>http://www.briancribb.com/i-will-never-be-finished-with-my-running-site/#comments</comments>
		<pubDate>Mon, 21 Nov 2011 01:14:42 +0000</pubDate>
		<dc:creator>Brian</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[legacy]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://www.briancribb.com/?p=357</guid>
		<description><![CDATA[I&#8217;m using a slightly altered version of the WordPress default theme for three basic reasons. First of all, it&#8217;s a good way to get to know the back-end as a user, and to take advantage of the out-of-the-box features of &#8230; <a href="http://www.briancribb.com/i-will-never-be-finished-with-my-running-site/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m using a slightly altered version of the WordPress default theme for three basic reasons. First of all, it&#8217;s a good way to get to know the back-end as a user, and to take advantage of the out-of-the-box features of WordPress. Second, it allows me to spend less time tweaking my resume site and more time working on stuff for clients and my day job. And lastly, I tend to save my tinkering for my running site.</p>
<p>I&#8217;ve had that site for&#8230; well, forever. It started as a Flash site, back when I was first learning the program. If you&#8217;re cringing with the idea of what that was like, then you&#8217;re not alone. It had too much art and way too much load time. By the time I learned how to maximize Flash for the web, I was smart enough not to build Flash sites.</p>
<p>Next. It turned into a horrifying pile of legacy HTML code. Each page was created manually, with no CMS involved. I used Dreamweaver templates to keep the common elements straight, and God help me, I used the WYSIWYG editor. (Seriously. I really did use that thing.) Even worse, I used tables for layout and my header was an image map. It sounds terrible these days, but those used to be standard practices for designers. If you took a class, they would teach you layout tables. Looking back, it gives me chills.</p>
<p>The content also changed as I went along. It started out as a blog of sorts, although people weren&#8217;t really using that word in those days. I would write articles and rants, and post photos. Eventually, I stopped blogging about whatever and started focusing on running events. It was a good way to avoid writer&#8217;s block, and frankly it&#8217;s kind of difficult to write a daily rant. Maybe it&#8217;s easy for some folks, but I can&#8217;t rely upon the world to tick me off every single day.</p>
<p>So eventually, I found my way to WordPress. My first theme was pretty rough. Looked horrible, had little flaws everywhere&#8230;it was a mess. Then I redesigned it, and I did a little better. Then I redesigned it again, and tinkered, and then redesigned. From that first painful Flash site to the one you&#8217;ll find today, there have been 10 versions of that thing. If you count major changes to the WordPress themes, I&#8217;m at 15. Holy crap, that&#8217;s more than the Doctor&#8217;s regenerations!</p>
<p>Recently I went through the whole thing, post by post, for some major changes. I wanted to get rid of a photo gallery plugin, make use of featured images, and just generally clean things up. I wanted to truly separate the content from the presentation. Since many posts from the older incarnations had been left behind like a well-loved scarf on a British actor, I was left with 97 posts to work on. I pulled out shortcodes, removed embeds, and did whatever I could to minimize the markup. The only embeds I decided to keep were from Flickr and YouTube. <em>(I updated the YouTube embeds, but I noticed that the old ones still worked. Good job, YouTube.)</em></p>
<p>And then, I went through the theme and <a title="Another Mighty Theme" href="http://www.briancribb.com/2011/11/another-mighty-theme/">started over</a>. Nothing fancy. I got rid of WP-Less, converting the styles to plain old CSS before pulling the important ones over. Most were dumped since I was trying to be cleaner. Then I took the <a href="http://wordpress.org/extend/themes/boilerplate">HTML5 Boilerplate Theme</a> and added the <a href="http://960.gs/">960 Grid System</a> to it, building a basic blog with a sidebar. Then I added some PHP snippets to single.php to pop my Garmin maps and Flickr galleries down at the end of the post, based upon a custom field. It seemed easy enough, and I thought I was done.</p>
<p>Sigh.</p>
<p>Nope. Not done. I keep finding little things. I never styled the H3 tags within the articles, and I had some trouble with floated elements and the stuff below them not respecting top margins. There&#8217;s other stuff in the posts, too. And yeah, I&#8217;ll go through them&#8230; but not tonight. Tonight, I think I&#8217;ll watch some Doctor Who. You know, the old stuff. With William Hartnell. And maybe I&#8217;ll Netflix some Tom Baker tomorrow.</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.briancribb.com/i-will-never-be-finished-with-my-running-site/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Speech Bubbles with CSS Alone</title>
		<link>http://www.briancribb.com/speech-bubbles-with-css-alone/</link>
		<comments>http://www.briancribb.com/speech-bubbles-with-css-alone/#comments</comments>
		<pubDate>Tue, 15 Nov 2011 03:09:20 +0000</pubDate>
		<dc:creator>Brian</dc:creator>
				<category><![CDATA[Tips]]></category>
		<category><![CDATA[borders]]></category>
		<category><![CDATA[CSS]]></category>

		<guid isPermaLink="false">http://www.briancribb.com/?p=337</guid>
		<description><![CDATA[First of all, the styles: .comment-pointer { border-top: 25px solid #fff; border-left:25px solid transparent; } You can add more, but that&#8217;s basically the key to things. It&#8217;s all in the borders, and unlike the many tutorials and blog posts I&#8217;ve &#8230; <a href="http://www.briancribb.com/speech-bubbles-with-css-alone/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>First of all, the styles:</p>
<pre>.comment-pointer {
 border-top: 25px solid #fff;
 border-left:25px solid transparent;
 }</pre>
<p>You can add more, but that&#8217;s basically the key to things. It&#8217;s all in the borders, and unlike the many tutorials and blog posts I&#8217;ve read recently, I&#8217;m actually going to tell you how it works.</p>
<p><div id="attachment_352" class="wp-caption alignleft" style="width: 260px"><img class="size-full wp-image-352" title="Comment Pointer Example" src="http://www.briancribb.com/wp-content/uploads/2011/11/comment-pointer-example.jpg" alt="" width="250" height="150" /><p class="wp-caption-text">It looks like a triangle, but it&#39;s really a box with a weird diagonal border effect.</p></div>
<p>I just finished a basic redesign of my running blog. For the comments, I became attached to the idea of having dialogue bubbles&#8230; because yeah, I love comic books. After consulting Google and a steaming pile of not-very-helpful blog posts and so-called &#8220;tutorials&#8221;, I finally found a way to get the active code without all the extra stuff. I didn&#8217;t want to make it orange just like that other guys, I wanted to know <strong>why</strong> the triangle was being formed.</p>
<p>Finally, I found <a href="http://www.youtube.com/watch?v=LTxmMSJERUQ">this YouTube page</a>. If you decide to watch it, be ready to skip forward. I mean, a <strong>lot</strong>. Most of the video is eaten up by the guy slowly typing out lines of code, and he speaks as though he could fall asleep at any moment. However, he was very helpful. After skipping forward through the entire vid, he finally said the magic words: &#8220;It&#8217;s just a box.&#8221;</p>
<p><div id="attachment_341" class="wp-caption alignleft" style="width: 210px"><a href="http://www.briancribb.com/wp-content/uploads/2011/11/bamboo-picture-frame.jpg"><img class="size-full wp-image-341" title="Bamboo Picture Frame" src="http://www.briancribb.com/wp-content/uploads/2011/11/bamboo-picture-frame.jpg" alt="Bamboo Picture Frame" width="200" height="240" /></a><p class="wp-caption-text">Kind of not-very-similar to this bamboo picture frame. Sort of.</p></div>
<p>The Trick of the Triangle is in the way borders work. They aren&#8217;t just lines on the sides. Their origin points are on diagonal corners. I know that sounds weird, but think of it as a picture frame. the imaginary center line of the border goes from one diagonal corner to another, so it seems to lean over if you give it an insane thickness.</p>
<p>The best way to test this is to just open up a page that&#8217;s using the technique and play around with things in Firebug. If you hold down the arrow key with the border thickness selected, you can see the triangles form.</p>
<h2>Colors are Important</h2>
<p>The end result of this effect is to create a box with two colors in it, separated on a diagonal line. To get the triangle effect, you have to nix the color on one side of it. Don&#8217;t just set it to the same color as the background. One of these days you might change that, and you would have all these crazy little triangles floating around. Set it to transparent, as I have above.</p>
<p>So there you are. CSS Speech Bubbles. If you&#8217;d like to see an example, you can find it in <a href="http://www.themightycribb.com/2011/05/crawdaddy-dash-2011/">one of my race reviews</a>. Happy Firebugging!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.briancribb.com/speech-bubbles-with-css-alone/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress Shortcodes Outside the Loop.</title>
		<link>http://www.briancribb.com/wordpress-shortcodes-outside-the-loop/</link>
		<comments>http://www.briancribb.com/wordpress-shortcodes-outside-the-loop/#comments</comments>
		<pubDate>Wed, 09 Nov 2011 05:27:43 +0000</pubDate>
		<dc:creator>Brian</dc:creator>
				<category><![CDATA[Tips]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[shortcodes]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://www.briancribb.com/?p=325</guid>
		<description><![CDATA[First of all, here&#8217;s the PHP code: &#60;?php echo do_shortcode('[my shortcode here]'); ?&#62; There. Hopefully that showed up in the Google excerpt. (I hate when the useful stuff is buried deep down on the page.) What you&#8217;re looking at is &#8230; <a href="http://www.briancribb.com/wordpress-shortcodes-outside-the-loop/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>First of all, here&#8217;s the PHP code:</p>
<pre>&lt;?php echo do_shortcode('[my shortcode here]'); ?&gt;</pre>
<p>There. Hopefully that showed up in the Google excerpt. <em>(I hate when the useful stuff is buried deep down on the page.)</em> What you&#8217;re looking at is a handy solution to a particular kind of problem. <a title="The Yin and Yang of Embeds and Shortcodes" href="http://www.briancribb.com/2011/10/the-yin-and-yang-of-embeds-and-shortcodes/">As I&#8217;ve written before</a>, shortcodes can be a mixed blessing. On the one hand, they allow you to access some pretty cool features from a wealth of WordPress plugins. On the other hand, you&#8217;ll have those shortcodes in your content pretty much forever, even if you later decide to ditch the plugin. They&#8217;re harmless, of course, but if you&#8217;re like me then you just don&#8217;t want the litter.</p>
<p>I use one shortcode in my running site, for a Flickr gallery plugin. Since I tend to put it at the end of my articles, I started fishing around for a way to put the code in from outside the loop. Just a few minutes on Google resulted in the example above. This way, I have the shortcode call in just one place. If I ever change Flickr plugins, it won&#8217;t be an act of congress to clean them up.</p>
<p>However, I feel I should mention that there are times when you&#8217;ll want to use them as intended. If your design calls for shortcodes withing posts, then of course you should do just that. It&#8217;s nice to have an option, though.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.briancribb.com/wordpress-shortcodes-outside-the-loop/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Another Mighty Theme</title>
		<link>http://www.briancribb.com/another-mighty-theme/</link>
		<comments>http://www.briancribb.com/another-mighty-theme/#comments</comments>
		<pubDate>Tue, 01 Nov 2011 01:45:51 +0000</pubDate>
		<dc:creator>Brian</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[960]]></category>
		<category><![CDATA[Boilerplate]]></category>
		<category><![CDATA[HTML5]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://www.briancribb.com/?p=313</guid>
		<description><![CDATA[Okay, so I&#8217;m working on my running blog again. The last version was my first venture with the HTML5 Boilerplate theme from Aaron T. Grogg. It&#8217;s a great idea based upon another great idea: Starkers. Starkers is a stripped down &#8230; <a href="http://www.briancribb.com/another-mighty-theme/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Okay, so I&#8217;m working on my running blog again. The last version was my first venture with the <a href="http://wordpress.org/extend/themes/boilerplate">HTML5 Boilerplate theme</a> from Aaron T. Grogg. It&#8217;s a great idea based upon another great idea: <a href="http://starkerstheme.com/">Starkers</a>.</p>
<p>Starkers is a stripped down theme with the bare minimum of markup and styles. It&#8217;s a working engine with no fancy stuff, and a pretty good starting point. The Boilerplate theme starts with Starkers and adds some cool bells and whistles on the back end. You can check boxes for things like Modernizr, Selectivizr, and a bunch of other handy tools. Even better, it will set up a site-specific JavaScript file for you. It&#8217;s a handy theme.</p>
<p>This evening I decided to start again, this time using the <a href="http://960.gs/">960 Grid System</a>. I was impressed by how easy it was to get started. Last time I tinkered with every little piece of the theme, but this time I wanted to keep it simple. At first I wanted to make no changes to the theme besides CSS, but I really wanted to put the grid in there. So I just started placing container div tags into the pages and started adding my styles to the theme.</p>
<p>It really didn&#8217;t take much to shape the content. If you just let the tools do what they do best, you can move pretty quick. It&#8217;s a little easier considering that I already have a color scheme and general design, but it&#8217;s still progressing nicely. When I&#8217;m done with the basic structure, I&#8217;ll be adding support for featured images, and maybe add a few canvases to the mix. I&#8217;ll bet the canvas could make some neat graphs.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.briancribb.com/another-mighty-theme/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

