<?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/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>Daniel Koskinen</title>
	
	<link>http://danielkoskinen.com</link>
	<description>Web Design, WordPress, Usability and Life</description>
	<lastBuildDate>Mon, 19 Jul 2010 15:57:20 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1-alpha</generator>
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/danielkoskinen" /><feedburner:info uri="danielkoskinen" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item>
		<title>WordCamp UK 2010</title>
		<link>http://feedproxy.google.com/~r/danielkoskinen/~3/NY_MChmUjMA/</link>
		<comments>http://danielkoskinen.com/2010/wordcamp-uk-2010/#comments</comments>
		<pubDate>Mon, 19 Jul 2010 14:57:02 +0000</pubDate>
		<dc:creator>Dani</dc:creator>
				<category><![CDATA[In Real Life]]></category>
		<category><![CDATA[england]]></category>
		<category><![CDATA[wordcamp]]></category>
		<category><![CDATA[wordcampuk]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://danielkoskinen.com/?p=311</guid>
		<description><![CDATA[I spent the last weekend in Manchester at WordCamp UK and had a wonderful time! I went with my colleague Markus from Ponsi Interactive, who has now been officially initiated to the wonderful world of WordPress. The sessions over the &#8230; <a href="http://danielkoskinen.com/2010/wordcamp-uk-2010/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I spent the last weekend in Manchester at WordCamp UK and had a wonderful time! I went with my colleague Markus from <a href="http://www.ponsi.fi">Ponsi Interactive</a>, who has now been officially initiated to the wonderful world of WordPress. The sessions over the two-day &#8220;informal gathering&#8221; included general stuff about using WordPress in different contexts, but also really interesting ones discussing more advanced topics such as BuddyPress theme &amp; plugin development and testing strategies for WordPress.<span id="more-311"></span></p>
<h2>Meeting the stars</h2>
<p>Summarising all the discussions I had during the weekend would be pretty hard, so I&#8217;m not going to try. Many non-profits in the UK are finding WordPress well-suited for their purposes, and I had lunch on Sunday with some of the many designers and developers working in that sector. It was interesting to hear their stories, having also done some sites for non-profits in Finland. Probably the biggest thing for me though was the chance to have a chat with some of the WordPress key figures, notably <a href="http://nikolay.bg/">Nikolay Bachiysky</a> (core committer involved in localization, and developer of GlotPress, the invaluable translation tool for non-english-natives) and WordPress UX and community person <a href="http://jane.wordpress.com/">Jane Wells</a>. There&#8217;s something really cool about meeting two people who on one hand, have made it easy to distribute the very laborious job of translating the WP interface, and on the other hand had a huge influence on transforming the admin interface into the sleek thing it is today.</p>
<h2>WordCamp Finland?</h2>
<p>Jane gave us some good tips on organising a WordCamp in Finland, which might still be some way off. The community in Finland is still making baby steps, but we&#8217;ll get there someday. A good point made was to start small with regular meetups, and then perhaps start to build up a group who might be interested in organising and, above all, attending a bigger event. I&#8217;m pretty sure though that there are plenty of interested parties, we just have to dig them out of their holes. To Finns reading this: do join the <a href="http://fi.forums.wordpress.org">Finnish WordPress forums</a> &#8230; (&lt;em&gt;In Finnish&lt;/em&gt;: suomalaiset seuratkaa <a href="http://fi.forums.wordpress.org">WordPress foorumeita</a>)</p>
<h2>Thank you Manchester!</h2>
<p>Manchester was a great place for the event, and we got to see some night life too. Big thanks to the organisers and everyone else I had a chance to talk to, maybe will come back next year!</p>
<img src="http://feeds.feedburner.com/~r/danielkoskinen/~4/NY_MChmUjMA" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://danielkoskinen.com/2010/wordcamp-uk-2010/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://danielkoskinen.com/2010/wordcamp-uk-2010/</feedburner:origLink></item>
		<item>
		<title>Wallace and Gromit mugs</title>
		<link>http://feedproxy.google.com/~r/danielkoskinen/~3/4yJvkPdgvDw/</link>
		<comments>http://danielkoskinen.com/2010/wallace-and-gromit-mugs/#comments</comments>
		<pubDate>Tue, 29 Jun 2010 19:09:38 +0000</pubDate>
		<dc:creator>Dani</dc:creator>
				<category><![CDATA[In Real Life]]></category>
		<category><![CDATA[mugs]]></category>
		<category><![CDATA[wallace and gromit]]></category>

		<guid isPermaLink="false">http://danielkoskinen.com/?p=308</guid>
		<description><![CDATA[My wife and I are big Wallace and Gromit fans. As it happens, we&#8217;ve also decided to watch all the FIFA World Cup games (I know, too much free time). This, of course, requires tea. So we ordered this lovely &#8230; <a href="http://danielkoskinen.com/2010/wallace-and-gromit-mugs/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><img class="aligncenter size-large wp-image-309" title="Wallace and Gromit mugs" src="http://danielkoskinen.com/files/2010/06/IMG_0163-460x345.jpg" alt="" width="460" height="345" />My wife and I are big Wallace and Gromit fans. As it happens, we&#8217;ve also decided to watch all the FIFA World Cup games (I know, too much free time). This, of course, requires <strong>tea</strong>. So we ordered this lovely pair of mugs (from <a href="http://www.cafepress.com/+wallace-and-gromit+mugs">here</a>), which are not entirely unlike the mugs used by W &amp; G. Call us silly (you&#8217;d be correct), but isn&#8217;t this just about the coolest thing ever?</p>
<img src="http://feeds.feedburner.com/~r/danielkoskinen/~4/4yJvkPdgvDw" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://danielkoskinen.com/2010/wallace-and-gromit-mugs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://danielkoskinen.com/2010/wallace-and-gromit-mugs/</feedburner:origLink></item>
		<item>
		<title>Humorous error messages</title>
		<link>http://feedproxy.google.com/~r/danielkoskinen/~3/c7t82rwX_D8/</link>
		<comments>http://danielkoskinen.com/2010/humorous-error-messages/#comments</comments>
		<pubDate>Fri, 04 Jun 2010 06:26:18 +0000</pubDate>
		<dc:creator>Dani</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[UX]]></category>
		<category><![CDATA[feedback]]></category>
		<category><![CDATA[Funny]]></category>
		<category><![CDATA[ux]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://danielkoskinen.com/?p=305</guid>
		<description><![CDATA[No-one likes it when software crashes, but funny error messages can make a world of difference between being really pissed off, or smiling so much that you feel compelled to write a positive blog post about it. Attempting to log &#8230; <a href="http://danielkoskinen.com/2010/humorous-error-messages/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>No-one likes it when software crashes, but funny error messages can make a world of difference between being really pissed off, or smiling so much that you feel compelled to write a positive blog post about it.</p>
<p>Attempting to log on to the WordPress localization service, I got this lovely error screen:<br />
<img class="aligncenter size-medium wp-image-306" title="matts-fault" src="http://danielkoskinen.com/files/2010/06/matts-fault-300x187.png" alt="" width="300" height="187" /></p>
<img src="http://feeds.feedburner.com/~r/danielkoskinen/~4/c7t82rwX_D8" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://danielkoskinen.com/2010/humorous-error-messages/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://danielkoskinen.com/2010/humorous-error-messages/</feedburner:origLink></item>
		<item>
		<title>Hello HUB Tampere</title>
		<link>http://feedproxy.google.com/~r/danielkoskinen/~3/EpoDWDtUUXw/</link>
		<comments>http://danielkoskinen.com/2010/hub-tampere/#comments</comments>
		<pubDate>Thu, 22 Apr 2010 12:12:29 +0000</pubDate>
		<dc:creator>Dani</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[business]]></category>
		<category><![CDATA[networking]]></category>

		<guid isPermaLink="false">http://danielkoskinen.com/?p=303</guid>
		<description><![CDATA[I joined HUB Tampere today with a &#8220;Hub 5&#8243; membership, and look forward to meeting interesting people and hopefully gaining cool business opportunities and perhaps other forms of collaboration too. Time will tell how it pays off! The Tampere HUB &#8230; <a href="http://danielkoskinen.com/2010/hub-tampere/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I joined <a href="http://hubtampere.wordpress.com/">HUB Tampere</a> today with a &#8220;Hub 5&#8243; membership, and look forward to meeting interesting people and hopefully gaining cool business opportunities and perhaps other forms of collaboration too. Time will tell how it pays off!<span id="more-303"></span></p>
<p>The Tampere HUB is itself part of an international network of workspaces &#8211; the concept best defined by the <a href="http://the-hub.net/">HUB people themselves</a>:</p>
<blockquote><p>The Hub is an initiative to build a network of places around the world where entrepreneurs, innovators and changemakers can meet and work together to tackle the world’s most pressing social, cultural and environmental challenges. A place is needed to inspire and support imaginative and enterprising initiatives for a radically better world.</p></blockquote>
<img src="http://feeds.feedburner.com/~r/danielkoskinen/~4/EpoDWDtUUXw" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://danielkoskinen.com/2010/hub-tampere/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://danielkoskinen.com/2010/hub-tampere/</feedburner:origLink></item>
		<item>
		<title>Flexible fluid layouts with CSS and jQuery (Part 2 in series)</title>
		<link>http://feedproxy.google.com/~r/danielkoskinen/~3/-yCB151lwUA/</link>
		<comments>http://danielkoskinen.com/2010/flexible-fluid-layouts-with-css-and-jquery-part-2/#comments</comments>
		<pubDate>Fri, 02 Apr 2010 08:39:21 +0000</pubDate>
		<dc:creator>Dani</dc:creator>
				<category><![CDATA[Web]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[jquery]]></category>

		<guid isPermaLink="false">http://danielkoskinen.com/?p=302</guid>
		<description><![CDATA[This is a follow-up to last week&#8217;s post, Should we design for wider screens?. In this post I&#8217;ll demonstrate with a simple example how easy it is, with CSS and a bit of jQuery, to make layouts that adapt to &#8230; <a href="http://danielkoskinen.com/2010/flexible-fluid-layouts-with-css-and-jquery-part-2/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>This is a follow-up to last week&#8217;s post, <a href="http://danielkoskinen.com/2010/should-we-design-for-wide-screens-part-1/">Should we design for wider screens?</a>. In this post I&#8217;ll demonstrate with a simple example how easy it is, with CSS and a bit of jQuery, to make layouts that adapt to the many different screen sizes out there.<br />
<span id="more-302"></span><br />
If you&#8217;re feeling impatient, <a href="http://test.dani.fi/fluid/">jump straight to the demo</a>!</p>
<h2>Example HTML</h2>
<p>At the top level, my example HTML page has a #wrapper div, which contains a #header, #main div containing all the interesting stuff, and a #footer. The main section has #content, #primary, #secondary and #tertiary divs for the different content areas of my page. The first two content areas, #content and #primary are wrapped up in an additional #container div, but your own markup may obviously differ.</p>
<pre>[html]
<body class="normal>
<div id="wrapper">
<div id="header"> ... </div>
<div id="main">
<div id="container">
<div id="content"> ... </div>
<div id="primary"> ... </div>
</div>
<div id="secondary"> ... </div>
<div id="tertiary"> ... </div>
</div>

<!-- #main -->
<div id="footer"> ... </div>
</div>

<!-- #wrapper -->
</body>

[/html]</pre>
<h2>Prepare your styles</h2>
<p>The basic idea here is to have different CSS styles for each width. The styles could be changed directly through jQuery, but that would quickly result in a lot of messy code. Instead, we&#8217;ll use jQuery only to change one class attribute. Initially I&#8217;ve added the class &#8216;normal&#8217; to the <code>body</code> element to ensure a sensible default for browsers with JavaScript disabled, but we&#8217;ll also need styles for &#8216;wide&#8217;, &#8216;slim&#8217; and &#8216;narrow&#8217;. This is easy to do with CSS descendant selectors:</p>
<pre>[css]
#wrapper { margin: 0 auto; }
#header {overflow: hidden;}
#container,#content,#primary,#secondary,#tertiary
  {float:left;}
#footer {clear:left;width:100%;}

/* Wide ( over 1100px ) */
.wide #container {width:60%;}
.wide #content {width:66%;}
.wide #primary {width:34%;}
.wide #secondary,.wide #tertiary {width:20%;}

/* Normal ( over 800px ) */
.normal #container {width:50%;}
.normal #secondary,.normal #tertiary {width:25%;}

/* Slim ( over 600px ) */
.slim #container{width:66%;}
.slim #secondary,.slim #tertiary {width:34%;}

/* Narrow ( under 600px ) */
.narrow #secondary,.narrow #tertiary {width:50%;}
.narrow #secondary {clear:both;}
[/css]</pre>
<p>Unfortunately versions 7 and older of Internet Explorer deal differently with percentage widths compared to most other browsers, and can result in some funny behaviour. I see two primary ways to deal with it: either feed IE 6 and 7 it&#8217;s own rules (e.g. a tested, fixed-width layout) or just make sure that the percentages never add up to 100 %. A nice explanation of this annoying feature can be found over at <a href="http://www.ojctech.com/content/css-jumping-columns-and-ies-percentage-rounding-algorithm">OJTech.com</a>.</p>
<h2>The jQuery</h2>
<p>First of all I need to include jQuery, and perhaps the easiest way is to use <a href="http://code.google.com/apis/ajaxlibs/documentation/#jquery">Google&#8217;s jQuery</a> for this. The main bit is a function, checkWidth() that (you guessed it) checks the width of the browser window and sets the body class attribute accordingly. The code below should be pretty self-explanatory.</p>
<pre>
[javascript]
	function checkWidth () {
		if ($(window).width() > 1400) {
			$('body').attr('class','superwide');
			$('#title').text('Wide ('+$(window).width()+')');
			}
		else if ($(window).width() > 1100) {
			$('body').attr('class','wide');
			$('#title').text('Wide ('+$(window).width()+')');
			}
		else if ($(window).width() > 800) {
			$('body').attr('class','normal');
			$('#title').text('Normal  ('+$(window).width()+')');
			}
		else if ($(window).width() > 600) {
			$('body').attr('class','slim');
			$('#title').text('Slim ('+$(window).width()+')');
			}
		else {
			$('body').attr('class','narrow');
			$('#title').text('Narrow ('+$(window).width()+')');
			}
		}
[/javascript]
</pre>
<p>In addition to this, all I need is some code that will tell the browser when to run the checkWidth() function.</p>
<pre>
[javascript]
	$(document).ready(function(){

		// check the window size when page loads
		checkWidth();

		// check on resize
		$(window).resize(function() {
			checkWidth();
		});

	});
[/javascript]
</pre>
<p>That&#8217;s it! <a href="http://test.dani.fi/fluid/">View the finished demo</a>.</p>
<p>After starting to write this post, I read the latest issue (#200) of .net magazine and noticed a mention of a very cool way to do a similar trick using only CSS media queries! <a href="view-source:http://people.opera.com/brucel/demo/MQ.html">Media Query demo by Bruce Lawson</a>. Haven&#8217;t tried it out yet, but I definitely will. </p>
<p>Hope you liked the post, feel free to <a href="http://twitter.com/home?status=RT+%40danielck+Flexible+fluid+layouts+with+CSS+and+jQuery+%28Part+2+in+series%29+http%3A%2F%2Fdani.fi%2FXs">tweet it</a>, or leave a comment below.</p>
<img src="http://feeds.feedburner.com/~r/danielkoskinen/~4/-yCB151lwUA" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://danielkoskinen.com/2010/flexible-fluid-layouts-with-css-and-jquery-part-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://danielkoskinen.com/2010/flexible-fluid-layouts-with-css-and-jquery-part-2/</feedburner:origLink></item>
		<item>
		<title>Should we design for wider screens? (Part 1 in series)</title>
		<link>http://feedproxy.google.com/~r/danielkoskinen/~3/7x53Zc8cRB4/</link>
		<comments>http://danielkoskinen.com/2010/should-we-design-for-wide-screens-part-1/#comments</comments>
		<pubDate>Wed, 24 Mar 2010 10:15:04 +0000</pubDate>
		<dc:creator>Dani</dc:creator>
				<category><![CDATA[UX]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[screen]]></category>
		<category><![CDATA[usability]]></category>

		<guid isPermaLink="false">http://danielkoskinen.com/?p=294</guid>
		<description><![CDATA[More and more people are using wide-aspect monitors to browse the web. According to forecasts by Tobii (Swedish eye-tracking equipment manufacturer) wide aspect monitor penetration will be almost 100% by 2012. I think those numbers might be a bit optimistic, &#8230; <a href="http://danielkoskinen.com/2010/should-we-design-for-wide-screens-part-1/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>More and more people are using wide-aspect monitors to browse the web. According to forecasts by Tobii (Swedish eye-tracking equipment manufacturer) wide aspect monitor penetration will be almost 100% by 2012. I think those numbers might be a bit optimistic, since Tobii obviously wants to sell their new wide-screen eye-tracker. Despite that, a very large number of web users are using screens with well over 1024px width, but almost all web sites out there are designed for lower resolutions. This got me thinking about fluid layouts again, and I decided to share my thoughts.<br />
<span id="more-294"></span></p>
<h2>Fixed-width equals compromise</h2>
<p><img class="aligncenter size-large wp-image-301" title="Lots of wasted horizontal space" src="http://danielkoskinen.com/files/2010/03/browser-460x296.png" alt="" width="460" height="296" /></p>
<p>In the Beginning web sites were fluid, that is the content adapted to  browser width. Today, most web design is fixed-width. That is, we build web pages to a maximum of about 900-980 px to accomodate the majority of screens. I&#8217;ll be the first to admit that most of the stuff I&#8217;ve made is fixed-width. Even my own blog is designed to a 700px width! It&#8217;s generally <strong>easier</strong> to design this way, especially if the design originates in Photoshop, which is essentially static. Also, fluid layout generally used to mean ridiculously wide and unreadable blocks of text.</p>
<p>Problem is, designing this way is a compromise. Many users today have wide screen laptops with 1280 px width or more, but their screen height may be a mere 700-800 px. Subtract from that the space taken by browser toolbars, taskbar/dock etc and you&#8217;re not left with much. On these height-challenged displays we should be using all the horizontal space we can to provide users with the information they need. But what about those narrower displays then, or people who simply choose to have their browser window at a narrower width despite having a large display? We&#8217;re not going to force them to *gasp* scroll horizontally or resize, are we? That would be silly. The answer is &#8220;intelligent&#8221; fluid layouts.</p>
<h2>Fill that width!</h2>
<p><img class="aligncenter size-full wp-image-300" title="Wide" src="http://danielkoskinen.com/files/2010/03/Wide.png" alt="" width="310" height="175" /></p>
<p>On sites that have clearly separable content blocks we could be building layouts that intelligently re-arrange according to browser width. That of course does mean some more work put into the design phase, and possibly ditching  Photoshop as a layout tool! The above image is a wireframe of  what a user would see on a wide screen (over, say, 1100px).</p>
<h2>Narrowing down</h2>
<p><img class="alignleft size-full wp-image-298" title="Normal" src="http://danielkoskinen.com/files/2010/03/Normal.png" alt="" width="247" height="208" /><img class="size-full wp-image-299 alignleft" title="Slim" src="http://danielkoskinen.com/files/2010/03/Slim.png" alt="" width="179" height="233" /></p>
<div style="clear: both"> </div>
<p>On screens about 1024px wide we rearrange slightly, moving one content block (eg. recent blog posts) below the first one.</p>
<p>The narrower the screen is, the more we pile blocks on top of each other. This obviously requires more vertical scrolling, but all the content still remains accessible. Most importantly, we&#8217;re always using the best arrangement possible for the width of the browser.</p>
<h2>Your thoughts?</h2>
<p>What are you&#8217;re experiences of designing fluid layouts? Are there downsides to this, apart from the increased time needed for design? I&#8217;d like to here your thoughts, so please comment and <a href="http://twitter.com/home?status=RT+%40danielck+Should+we+design+for+wider+screens%3F+%28Part+1%29+http%3A%2F%2Fdani.fi%2FaQ">share this on Twitter</a> if you think it&#8217;s worth a discussion.</p>
<p>In <a href="http://dani.fi/Xs">Part 2</a>, I&#8217;ll show an example of implementing the above with CSS and some jQuery, with sensible degrading in browsers with Javascript disabled.</p>
<img src="http://feeds.feedburner.com/~r/danielkoskinen/~4/7x53Zc8cRB4" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://danielkoskinen.com/2010/should-we-design-for-wide-screens-part-1/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://danielkoskinen.com/2010/should-we-design-for-wide-screens-part-1/</feedburner:origLink></item>
		<item>
		<title>Single-wrapped apples</title>
		<link>http://feedproxy.google.com/~r/danielkoskinen/~3/XgiIy7PpKsU/</link>
		<comments>http://danielkoskinen.com/2010/single-wrapped-apples/#comments</comments>
		<pubDate>Sun, 14 Mar 2010 18:30:22 +0000</pubDate>
		<dc:creator>Dani</dc:creator>
				<category><![CDATA[In Real Life]]></category>
		<category><![CDATA[environment]]></category>
		<category><![CDATA[life]]></category>
		<category><![CDATA[waste]]></category>

		<guid isPermaLink="false">http://danielkoskinen.com/?p=151</guid>
		<description><![CDATA[I noticed these in the supermarket a couple of days ago. WTF? Apples, wrapped individually in styrofoam. This must be one of those things that&#8217;s helping reduce waste, I&#8217;m just too stupid to figure out exactly how&#8230;]]></description>
			<content:encoded><![CDATA[<p><img class="alignright size-medium wp-image-150" title="apples" src="http://danielkoskinen.com/files/2010/03/p_1600_1200_0CFF5BE5-B780-4F05-B166-D5AA16F8CA68-e1268687959868-300x300.jpg" alt="" width="300" height="300" />I noticed these in the supermarket a couple of days ago. WTF? Apples, wrapped individually in styrofoam. This must be one of those things that&#8217;s helping reduce waste, I&#8217;m just too stupid to figure out exactly how&#8230;</p>
<img src="http://feeds.feedburner.com/~r/danielkoskinen/~4/XgiIy7PpKsU" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://danielkoskinen.com/2010/single-wrapped-apples/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://danielkoskinen.com/2010/single-wrapped-apples/</feedburner:origLink></item>
		<item>
		<title>Make your own short URLs with WordPress</title>
		<link>http://feedproxy.google.com/~r/danielkoskinen/~3/7Wmh3Z-JfDs/</link>
		<comments>http://danielkoskinen.com/2010/make-your-own-short-urls-wordpress/#comments</comments>
		<pubDate>Wed, 03 Mar 2010 05:02:49 +0000</pubDate>
		<dc:creator>Dani</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[short urls]]></category>
		<category><![CDATA[twitter]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://danielkoskinen.com/?p=125</guid>
		<description><![CDATA[You might have noticed that I recently restored the main URL of my site to http://danielkoskinen.com . I decided it was a better idea to have my full name in the URL, and use my other domain (dani.fi) to generate &#8230; <a href="http://danielkoskinen.com/2010/make-your-own-short-urls-wordpress/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>You might have noticed that I recently restored the main URL of my site to <a href="http://danielkoskinen.com">http://danielkoskinen.com</a> . I decided it was a better idea to have my full name in the URL, and use my other domain (dani.fi) to generate my very own short URLs for use in Twitter &amp; elsewhere.<br />
<span id="more-125"></span></p>
<p>There are many good URL shortening services around, like bit.ly, twu.rl and the WP-centric wp.me, and I&#8217;m not saying there&#8217;s anything wrong with those. However, if like me, you happen to have a nice short domain lying around that you&#8217;d like to use, why not make your own?</p>
<h2>Install WordTwit</h2>
<p><a href="http://www.bravenewcode.com/products/wordtwit/">WordTwit</a> is a plugin for WordPress by BraveNewCode for integrating your WordPress website with your Twitter account. I owe big thanks to <a href="http://www.mikkosaari.fi/">Mikko Saari</a> for telling me about it. The reason why I liked this specific plugin is it&#8217;s feature for creating short URLs using your own domain.</p>
<p>You can install WordTwit either directly from your WordPress admin (under <strong>Plugins &gt; Add new</strong>) or by downloading the zip and uploading it to your server under <code>wp-content/plugins/</code>.</p>
<h2>Redirect short domain to longer domain</h2>
<p>There are different ways to do this. Because I&#8217;m running this site on a dedicated server, I created a new VHOST entry for the second domain (dani.fi) and inserted the following:</p>
<blockquote>
<pre>
&lt;VirtualHost *&gt;
   ServerName <strong>dani.fi</strong>
   Redirect 301 / <strong>http://danielkoskinen.com/</strong>
&lt;/VirtualHost&gt;
</pre>
</blockquote>
<p>Replace <code>dani.fi</code> with your own short domain name and <code>danielkoskinen.com</code> with the main domain for your site. If you&#8217;re running on a shared web host, you can probably just create a redirect in CPanel or equivalent.</p>
<h2>Configure WordTwit settings</h2>
<p><img class="size-large wp-image-126 aligncenter" title="Screen shot 2010-02-27 at 13.28.12" src="http://danielkoskinen.com/files/2010/02/Screen-shot-2010-02-27-at-13.28.12-460x240.png" alt="" width="460" height="240" /></p>
<p>Enable WordTwit, find it&#8217;s settings page and the section marked URL Shortening. Choose &#8220;Local&#8221; from the menu and save your settings. This will reload the page and reveal more options. You can now enter your short domain in the field marked &#8220;Use Alternate Domain&#8221;.</p>
<p>Save your settings, and you&#8217;re done!</p>
<h2>Try it out</h2>
<p>Go to edit any post, and you&#8217;ll find the short URL for the current post in the right sidebar, using your new nice-and-short domain name! There&#8217;s also a button to post a message to Twitter (which can be set up automatically for new posts with WordTwit).</p>
<img src="http://feeds.feedburner.com/~r/danielkoskinen/~4/7Wmh3Z-JfDs" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://danielkoskinen.com/2010/make-your-own-short-urls-wordpress/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://danielkoskinen.com/2010/make-your-own-short-urls-wordpress/</feedburner:origLink></item>
		<item>
		<title>New “Privacy on” alert in WordPress 3.0</title>
		<link>http://feedproxy.google.com/~r/danielkoskinen/~3/cMRD2SlOCTw/</link>
		<comments>http://danielkoskinen.com/2010/new-privacy-on-alert-wordpress/#comments</comments>
		<pubDate>Sun, 28 Feb 2010 19:33:06 +0000</pubDate>
		<dc:creator>Dani</dc:creator>
				<category><![CDATA[Web]]></category>
		<category><![CDATA[beta]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[privacy]]></category>
		<category><![CDATA[search]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://danielkoskinen.com/?p=137</guid>
		<description><![CDATA[Sometimes it&#8217;s the little details that make you smile. When a new WP site is in development, you obviously don&#8217;t want it to be visible to search engines. A simple setting in the installation process (and the admin) allows you &#8230; <a href="http://danielkoskinen.com/2010/new-privacy-on-alert-wordpress/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><img class="alignright size-full wp-image-139" title="privacy-on" src="http://danielkoskinen.com/files/2010/02/privacy-on.png" alt="" width="383" height="96" />Sometimes it&#8217;s the little details that make you smile. When a new WP site is in development, you obviously don&#8217;t want it to be visible to search engines. A simple setting in the installation process (and the admin) allows you to choose this, but it can be easy to forget once you&#8217;ve set it.</p>
<p>About a week ago <a href="http://core.trac.wordpress.org/changeset/13168">a submission to the WordPress trunk</a> enabled a new mini-alert in the admin header, which reads &#8220;Privacy on&#8221; when the blog is hidden from search engines. Small addition, but very helpful when going live with a new site! I hope this feature remains in the final 3.0 release (due in May according to <a href="http://wpdevel.wordpress.com/version-3-0-project-schedule/">the current project schedule</a>).</p>
<img src="http://feeds.feedburner.com/~r/danielkoskinen/~4/cMRD2SlOCTw" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://danielkoskinen.com/2010/new-privacy-on-alert-wordpress/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://danielkoskinen.com/2010/new-privacy-on-alert-wordpress/</feedburner:origLink></item>
		<item>
		<title>Post Types in WordPress 3.0 and Pods</title>
		<link>http://feedproxy.google.com/~r/danielkoskinen/~3/9bX9PE5M3AM/</link>
		<comments>http://danielkoskinen.com/2010/post-types-wordpress-3-pods/#comments</comments>
		<pubDate>Fri, 26 Feb 2010 07:40:08 +0000</pubDate>
		<dc:creator>Dani</dc:creator>
				<category><![CDATA[wordpress]]></category>
		<category><![CDATA[custom post types]]></category>
		<category><![CDATA[pods]]></category>

		<guid isPermaLink="false">http://danielkoskinen.com/?p=116</guid>
		<description><![CDATA[One of the biggest things I have been looking forward to in the upcoming WordPress 3.0 release are Custom Post Types. Funnily enough though, now they&#8217;re actually on their way, I&#8217;m not so excited about them any more. This is &#8230; <a href="http://danielkoskinen.com/2010/post-types-wordpress-3-pods/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>One of the biggest things I have been looking forward to in the upcoming WordPress 3.0 release are Custom Post Types. Funnily enough though, now they&#8217;re actually on their way, I&#8217;m not so excited about them any more.</p>
<p>This is mostly due to the wonderful <a href="http://podscms.org/">Pods framework</a> by Matt Gibbs and Scott Kingsley Clark. Pods is a WordPress Plugin, but in reality almost a CMS in its own right. It allows you to create all kinds of custom post types, along with customized admin screens (with the Pods UI add-on) that blend nicely with the WP interface.<span id="more-116"></span></p>
<h2>Why use a plugin?</h2>
<p>My biggest complaint with custom post types in WP is that they&#8217;ll still all be happily together in the same monolithic <code>wp_posts</code> database table as all other WP posts and pages. Not very efficient, is it?</p>
<p>Pods is different. It creates separate tables for each post type and works the way relational databases are supposed to. Thus it&#8217;s potentially much more scalable!</p>
<p>Still, easier custom post types are a nice and welcome addition to WP and will probably be fine for smaller sites. You can read more about other nice things coming in version 3.0 over at <a href="http://www.wpbeginner.com/news/whats-coming-in-wordpress-3-0-features/?utm_source=feedburner&amp;utm_medium=feed&amp;utm_campaign=Feed%3A+wpbeginner+%28WordPress+for+Beginners%29">WPBeginner: What&#8217;s coming in WordPress 3.0</a></p>
<img src="http://feeds.feedburner.com/~r/danielkoskinen/~4/9bX9PE5M3AM" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://danielkoskinen.com/2010/post-types-wordpress-3-pods/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		<feedburner:origLink>http://danielkoskinen.com/2010/post-types-wordpress-3-pods/</feedburner:origLink></item>
	</channel>
</rss>
