<?xml version="1.0"?>
<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/"
	>
   <channel>
      <pubDate>Fri, 29 Aug 2008 22:52:08 GMT</pubDate>
      <lastBuildDate>Fri, 29 Aug 2008 22:52:08 GMT</lastBuildDate>
      <language>en</language>
      <docs>http://www.rssboard.org/rss-specification</docs>
      <title>CrunchBang ~ design</title>
      <link>http://crunchbang.org/tags/design/</link>
      <description>Code, Design &amp; GNU/Linux</description>

<item>
    <title>Skipping Photoshop? It&#39;s easy with Linux!</title>
    <link>http://crunchbang.org/archives/2008/06/06/skipping-photoshop-its-easy-with-linux/</link>
    <pubDate>Fri, 06 Jun 2008 03:10:35 GMT</pubDate>
    <dc:creator>Philip Newborough</dc:creator>
    <guid>http://crunchbang.org/archives/2008/06/06/skipping-photoshop-its-easy-with-linux/</guid>
    <description><![CDATA[
    <p>There is an interesting post on 37signals about why they <a href="http://www.37signals.com/svn/posts/1061-why-we-skip-photoshop " title="Why we skip Photoshop.">skip the use of Photoshop</a> to create user interface mock-ups; instead, they favour moving straight to HTML and CSS. Myself, a Linux-only user trying to make a living as a web designer, I find this conversation both interesting and amusing.</p>

<p>The interest and amusement is probably fed by the fact I cannot <em>natively</em> install Photoshop on my Linux systems, which totally negates the decision to skip designing UIs with Photoshop. Of course, if wanted, I could always use <a href="http://gimp.org/ " title="GIMP is the GNU Image Manipulation Program.">GIMP</a>, which by the way, is perfectly capable of creating mock-ups.</p>

<p>Also, surely the decision as to whether or not a UI needs a graphical mock-up is determined by the actual design brief of the UI, as opposed to being a designer&#39;s personal preference? In which case, what is all the hoorah about? Designers, heh.</p>

    <p style="font-size:smaller;">Tags: <a href="http://crunchbang.org/tags/comments/" title="Browse all posts tagged with &#8220;comments&#8221;">comments</a>, <a href="http://crunchbang.org/tags/design/" title="Browse all posts tagged with &#8220;design&#8221;">design</a>, <a href="http://crunchbang.org/tags/webdesign/" title="Browse all posts tagged with &#8220;webdesign&#8221;">webdesign</a></p>
    ]]></description>
</item>

<item>
    <title>Interesting Stuff Elsewhere</title>
    <link>http://crunchbang.org/archives/2008/05/17/interesting-stuff-elsewhere/</link>
    <pubDate>Sat, 17 May 2008 04:25:10 GMT</pubDate>
    <dc:creator>Philip Newborough</dc:creator>
    <guid>http://crunchbang.org/archives/2008/05/17/interesting-stuff-elsewhere/</guid>
    <description><![CDATA[
    <p>I have created a new page on my website. For lack of a better name, I have called the page &#34;<a href="http://crunchbang.org/elsewhere/ " title="Interesting Stuff Elsewhere">Interesting Stuff Elsewhere</a>&#34;. The page features a list of links to &#34;stuff&#34; which I have deemed interesting enough to share via my <a href="http://www.google.com/reader/ " title="Google Reader">Google Reader</a> account.</p>

<p>The &#34;stuff&#34; is a hodgepodge collection of articles, blog posts, podcasts and videos; having said that, the &#34;stuff&#34; could be anything and the only real way to find out what the &#34;stuff&#34; is, is to click on the links. One thing is for sure, all the links lead to dead good &#34;stuff&#34; :)</p>

<p>See: <a href="http://crunchbang.org/elsewhere/ " title="Interesting Stuff Elsewhere">http://crunchbang.org/elsewhere/</a></p>

    <p style="font-size:smaller;">Tags: <a href="http://crunchbang.org/tags/google/" title="Browse all posts tagged with &#8220;google&#8221;">google</a>, <a href="http://crunchbang.org/tags/php/" title="Browse all posts tagged with &#8220;php&#8221;">php</a>, <a href="http://crunchbang.org/tags/webdesign/" title="Browse all posts tagged with &#8220;webdesign&#8221;">webdesign</a>, <a href="http://crunchbang.org/tags/whird/" title="Browse all posts tagged with &#8220;whird&#8221;">whird</a></p>
    ]]></description>
</item>

<item>
    <title>Wiki Rewrite</title>
    <link>http://crunchbang.org/archives/2008/05/04/wiki-rewrite/</link>
    <pubDate>Sun, 04 May 2008 16:06:08 GMT</pubDate>
    <dc:creator>Philip Newborough</dc:creator>
    <guid>http://crunchbang.org/archives/2008/05/04/wiki-rewrite/</guid>
    <description><![CDATA[
    <p>Over the last couple of nights I have completely rewritten my <a href="http://crunchbang.org/wiki/ " title="CrunchBang Wiki">personal wiki</a>. The wiki previously used the PHP <a href="http://wikkawiki.org/ " title="WikkaWiki">WikkaWiki</a> wiki engine, it now uses a bunch of custom PHP scripts. The scripts are similar to those used by my blog software, <a href="http://crunchbang.org/projects/whird/ " title="Whird">Whird</a>. I decided to perform the rewrite for numerous reasons, some of which I have listed below:</p>

<ol>
<li><p>I was unhappy with how WikkaWiki was formatting the underlying HTML, specifically the way in which it would never use the paragraph tag, opting instead to insert break tags. While this probably sounds like a minor issue, it was really beginning to bug me.</p></li>
<li><p>I started this site [<em>crunchbang.org</em>] with the intention of coding all of the software/scripts myself. Therefore, and somewhat obviously, my use of WikkaWiki was always going to provide reason for my conscience to niggle me.</p></li>
<li><p>As mentioned before, <a href="http://crunchbang.org/archives/2008/02/10/wikka-wakka-wiki/ " title="See previous post, Wikka Wakka Wiki.">WikkaWiki is very hackable</a>; however, it was never going to be as hackable as something I had produced myself.</p></li>
<li><p>I wanted both my blog and my wiki to use the <a href="http://en.wikipedia.org/wiki/Markdown " title="Wikipedia - Markdown">Markdown</a> markup language. While this was not a problem for my blog [<em>it has always used Markdown</em>] I could not find any suitable plugins/hacks for enabling Markdown within WikkaWiki.</p></li>
</ol>

<p>The rewrite is pretty much complete and is now live. I have tried to make sure any URLs used by WikkaWiki are either reused or redirected. Please feel free to drop me a comment if you notice anything funky occurring.</p>

    <p style="font-size:smaller;">Tags: <a href="http://crunchbang.org/tags/php/" title="Browse all posts tagged with &#8220;php&#8221;">php</a>, <a href="http://crunchbang.org/tags/programming/" title="Browse all posts tagged with &#8220;programming&#8221;">programming</a>, <a href="http://crunchbang.org/tags/webdesign/" title="Browse all posts tagged with &#8220;webdesign&#8221;">webdesign</a>, <a href="http://crunchbang.org/tags/whird/" title="Browse all posts tagged with &#8220;whird&#8221;">whird</a></p>
    ]]></description>
</item>

<item>
    <title>Site Redesign &amp; Fonts by Manfred Klein</title>
    <link>http://crunchbang.org/archives/2008/05/01/site-redesign-and-fonts-by-manfred-klein/</link>
    <pubDate>Thu, 01 May 2008 10:52:42 GMT</pubDate>
    <dc:creator>Philip Newborough</dc:creator>
    <guid>http://crunchbang.org/archives/2008/05/01/site-redesign-and-fonts-by-manfred-klein/</guid>
    <description><![CDATA[
    <p>I have been working on a small redesign of my <a href="http://crunchbang.org/ " title="CrunchBang.org">website</a>, again. Visually speaking, not much has changed; I have dropped the off-white background colour in favour of pure white, updated my Ubuntu advertisement, and changed the font used in my logo.</p>

<p><img style="padding:4px;background:#000;" src="http://crunchbang.org/uploads/050108075135-bastardussans-font.gif" alt="BastardusSans font by Manfred Klein." title="BastardusSans font by Manfred Klein." /></p>

<p>Regarding the new logo font, it is <a href="http://moorstation.org/typoasis/designers/klein03/text/bastardus.htm " title="BastardusSans, a font by Manfred Klein.">BastardusSans</a>, one of Manfred Klein&#39;s many freely downloadable fonts. I <em>really</em> like Manfred Klein&#39;s fonts, not only because they are high quality and freely available, but because they are so diverse. Manfred Klein&#39;s portfolio features hundreds of decorative, historical, picture and text based fonts. If you are looking for a unique font for a new a project, do yourself a favour and go check out Manfred Klein&#39;s <a href="http://moorstation.org/typoasis/designers/klein/index.htm " title="A portfolio of fonts by Manfred klein">portfolio at TypOasis</a>.</p>

<p>Back to the website redesign; as well as the visual changes mentioned above, I have also made changes to how the XHTML is formatted &#8212; just recently I seem to have been spending a lot of time browsing the web using <a href="http://links.sourceforge.net/ " title="Links. The WWW Text Browser">Links</a>; it was during one of these sessions when I noticed just how poorly my site was rendering in a text-based environment. I have now fixed this and my site should not only look better, but make more sense too :)</p>

<p><img src="http://crunchbang.org/uploads/050108085743-links-crunchbang.gif" alt="CrunchBang.org as seen through Links Browser." title="CrunchBang.org as seen through Links Browser." /></p>

<p>Other design alterations include:</p>

<ul>
<li><p>An updated <a href="http://crunchbang.org/css/print.css " title="View the source.">print specific CSS file</a>. Pages from my site should now print nicely [<em>when printed from a modern browser.</em>]</p></li>
<li><p>A complete redesign of my <a href="http://crunchbang.org/wiki/ " title="CrunchBang Wiki">personal wiki</a>, the wiki design now matches that of my blog. I am still loving my <a href="http://crunchbang.org/archives/2008/02/10/wikka-wakka-wiki/ " title="CrunchBang ~ Wikka Wakka Wiki">Wikka Wakka Wiki installation</a>, its hackability, speed and ease of use continue to impress. I did have a <a href="http://twitter.com/corenominal/statuses/785008462 " title="I twittered about it!">problem with spam comments</a> last month, but it was easily fixed.</p></li>
<li><p>A change to the font-family referenced in my site&#39;s CSS. Previously I had been specifying a range of sans-serif fonts, including but not limited to Arial and Verdana. I have changed this and the font used now is simply sans-serif. I am not sure how this change affects other systems, but IMHO, it makes for more readable copy on my <a href="http://www.ubuntu.com/ " title="Ubuntu, Linux for human beings!">Ubuntu</a> Linux based systems.</p></li>
<li><p>As mentioned at the top of this post, I have updated the one and only advert on my site. I have had one advertisement on my site since it started, it is a non-commercial advertisement for Ubuntu Linux. I have toyed with the idea of displaying Google Adsense, but I just cannot bring myself to do it, so instead I have updated my Ubuntu advert :) The image has been shamelessly ripped from the new <a href="https://wiki.ubuntu.com/DIYMarketing#head-e27b32c04cd915607a4ee011cb74c9034f33bc44 " title="Get the original CD art from the Ubuntu Wiki.">Hardy Heron CD cover art</a>. I have no idea who the three models are, or who photographed them, but I really like the image &#8212; there is something strangely appealing about this type of top-down photography. I am not sure of the legalities of ripping the image, but I am sure modifying it to be used as a webby advert will do no harm. See below for some resized versions:</p></li>
</ul>

<p><img style="padding:4px;background:#babdb6;" src="http://crunchbang.org/uploads/050108100304-ubuntu-people-300-369.jpg" alt="Ubuntu People Circle." title="Ubuntu People Circle - 300x396px." /><br />
Ubuntu Circle of Friends - 300 x 396 pixels</p>

<p><img style="padding:4px;background:#babdb6;" src="http://crunchbang.org/uploads/050108100943-ubuntu-people-200-246.jpg" alt="Ubuntu People Circle." title="Ubuntu People Circle - 200x246px." /><br />
Ubuntu Circle of Friends - 200 x 246 pixels</p>

<p><img style="padding:4px;background:#babdb6;" src="http://crunchbang.org/uploads/050108101035-ubuntu-people-100-123.jpg" alt="Ubuntu People Circle." title="Ubuntu People Circle - 100x123px." /><br />
Ubuntu Circle of Friends - 100 x 123 pixels</p>

<p>That pretty much covers my recent redesign efforts [<em>although I have been tinkering for days and I am sure to have missed some minor details.</em>] Finally, I have got some plans to include some new features on my site, namely a new bookmarking system and links to interesting posts and articles from my <a href="http://www.google.co.uk/reader/shared/03134534431143341796 " title="Shared items from my Google Reader account.">shared Google Reader feed</a>. I will post more details about this as and when I get around to scripting the features in.</p>

    <p style="font-size:smaller;">Tags: <a href="http://crunchbang.org/tags/design/" title="Browse all posts tagged with &#8220;design&#8221;">design</a>, <a href="http://crunchbang.org/tags/fonts/" title="Browse all posts tagged with &#8220;fonts&#8221;">fonts</a>, <a href="http://crunchbang.org/tags/typography/" title="Browse all posts tagged with &#8220;typography&#8221;">typography</a>, <a href="http://crunchbang.org/tags/ubuntu/" title="Browse all posts tagged with &#8220;ubuntu&#8221;">ubuntu</a>, <a href="http://crunchbang.org/tags/webdesign/" title="Browse all posts tagged with &#8220;webdesign&#8221;">webdesign</a></p>
    ]]></description>
</item>

<item>
    <title>Perplexed by Web Frameworks</title>
    <link>http://crunchbang.org/archives/2008/03/28/perplexed-by-web-frameworks/</link>
    <pubDate>Fri, 28 Mar 2008 23:40:43 GMT</pubDate>
    <dc:creator>Philip Newborough</dc:creator>
    <guid>http://crunchbang.org/archives/2008/03/28/perplexed-by-web-frameworks/</guid>
    <description><![CDATA[
    <p>The latest <a href="http://www.lugradio.org/ " title="Linux Radio Show - LugRadio">LugRadio</a> episode features a discussion about <a href="http://www.djangoproject.com/ " title="Django Python Web Framework">Django</a> and other web frameworks. I found the feature interesting, but I have to admit that I find the subject of web frameworks somewhat perplexing. I have yet to fully embrace any such framework, although I have played with the <a href="http://framework.zend.com/ " title="Zend Framework">Zend Framework</a>. I think there are a number of reasons I have not fully adopted any frameworks:</p>

<ol>
<li><p>I am put off by having to learn all the new classes, structures and methods employed by said frameworks. Surely my time would be better spent actually learning more about the core language?</p></li>
<li><p>I fear that using a framework would somehow stifle innovation. I am under no illusions of being the most innovative player, however, I find it hard to shake. I guess I am questioning where the innovation comes from if everyone is using the same framework?</p></li>
<li><p>It is fun to write your own code, functions, classes and routines etc. I like to experiment with code, I like to make mistakes, before fixing them &#8212; it is this that keeps me interested. I would be concerned that using a framework would takeaway much of that.</p></li>
</ol>

<p>Having said all that, I&#39;m not totally opposed to frameworks and I think they have their place; three PHP frameworks of interest to me are:</p>

<ol>
<li>Zend Framework: <a href="http://framework.zend.com/ " title="Zend Framework">http://framework.zend.com/</a></li>
<li>CakePHP: <a href="http://www.cakephp.org/ " title="CakePHP - the rapid development PHP framework.">http://www.cakephp.org/</a></li>
<li>Symfony: <a href="http://www.symfony-project.org/ " title="Symfony Open-Source PHP Web Framework">http://www.symfony-project.org/</a></li>
</ol>

<p>I am going to look into the above to see what they have to offer; however, I think I will probably continue to hack together my own code for a while to come.</p>

    <p style="font-size:smaller;">Tags: <a href="http://crunchbang.org/tags/php/" title="Browse all posts tagged with &#8220;php&#8221;">php</a>, <a href="http://crunchbang.org/tags/programming/" title="Browse all posts tagged with &#8220;programming&#8221;">programming</a>, <a href="http://crunchbang.org/tags/webdesign/" title="Browse all posts tagged with &#8220;webdesign&#8221;">webdesign</a></p>
    ]]></description>
</item>

<item>
    <title>TwitterZoid PHP Script</title>
    <link>http://crunchbang.org/archives/2008/02/20/twitterzoid-php-script/</link>
    <pubDate>Wed, 20 Feb 2008 02:16:55 GMT</pubDate>
    <dc:creator>Philip Newborough</dc:creator>
    <guid>http://crunchbang.org/archives/2008/02/20/twitterzoid-php-script/</guid>
    <description><![CDATA[
    <p>It&#39;s a rather silly name, I know; however, TwitterZoid is the chosen name of my PHP script for parsing Twitter RSS feeds. I&#39;ve been using <a href="http://twitter.com/ " title="Twitter - What are you doing?">Twitter</a> quite steadily for a couple of weeks now and I thought it might be nice to include <a href="http://crunchbang.org/what-am-i-doing/ " title="What am I doing?">my latest tweets on my blog</a>, so I wrote TwitterZoid to do just that.</p>

<p>TwitterZoid differs to other PHP based Twitter RSS parsers, <em>at least the ones I tried before I wrote it</em>, in that it will automatically link both <a href="http://help.twitter.com/index.php?pg=kb.page&amp;id=63 " title="Back @ you baby! Or: What does @username do?">lexicons</a> and URLs found within individual tweets. It also tries to mimic Twitter&#39;s timestamping, although this could be improved.</p>

<h3>TwitterZoid usage</h3>

<p>I wanted to make TwitterZoid as simple to use as possible. Therefore I decided to write the script to be used as a simple include file which can be used on any PHP page. Basically, to use TwitterZoid all you need to do is set a couple of variables, include <code>twitterzoid.php</code> and then <code>echo</code> the main <code>$TwitterZoid</code> variable where you would like your list of tweets to appear.</p>

<h4>Example set-up:</h4>

<pre><code>$twitter_username = "corenominal";
$twitter_feed = "http://twitter.com/statuses/user_timeline/99713.rss";
require_once('twitterzoid.php');
</code></pre>

<h4>Call on the main TwitterZoid variable to produce the list of tweets:</h4>

<pre><code>echo $TwitterZoid;
</code></pre>

<p>Don&#39;t worry if this reads like gibberish, I&#39;ve included an example page within the download.</p>

<h3>TwitterZoid examples</h3>

<p>There are currently two demonstrations of TwitterZoid in action, see:</p>

<p>My official &#34;What am I doing?&#34; Twitter page:<br />
<a href="http://crunchbang.org/what-am-i-doing/ " title="What am I doing?">http://crunchbang.org/what-am-i-doing/</a></p>

<p>A more stylised version of &#34;What am I doing?&#34;, included within the download:<br />
<a href="http://crunchbang.org/projects/twitterzoid/demo/ " title="What am I doing? - demo version included with download.">http://crunchbang.org/projects/twitterzoid/demo/</a></p>

<h3>Download TwitterZoid</h3>

<p><strong>Location:</strong> <a href="http://crunchbang.org/projects/twitterzoid/twitterzoid-0.1.tar.gz " title="Download TwitterZoid">http://crunchbang.org/projects/twitterzoid/twitterzoid-0.1.tar.gz</a><br />
<strong>MD5:</strong> 99dace9f9872cf1ebf93588bb2d36458</p>

<h3>TwitterZoid license</h3>

<p>This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.</p>

<p>This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for more details.</p>

<p><a href="http://www.gnu.org/licenses/ " title="GNU General Public License">http://www.gnu.org/licenses/</a></p>

    <p style="font-size:smaller;">Tags: <a href="http://crunchbang.org/tags/code/" title="Browse all posts tagged with &#8220;code&#8221;">code</a>, <a href="http://crunchbang.org/tags/php/" title="Browse all posts tagged with &#8220;php&#8221;">php</a>, <a href="http://crunchbang.org/tags/projects/" title="Browse all posts tagged with &#8220;projects&#8221;">projects</a>, <a href="http://crunchbang.org/tags/scripts/" title="Browse all posts tagged with &#8220;scripts&#8221;">scripts</a>, <a href="http://crunchbang.org/tags/twitter/" title="Browse all posts tagged with &#8220;twitter&#8221;">twitter</a>, <a href="http://crunchbang.org/tags/webdesign/" title="Browse all posts tagged with &#8220;webdesign&#8221;">webdesign</a></p>
    ]]></description>
</item>

<item>
    <title>Parsing RSS feeds with PHP &amp; SimplePie</title>
    <link>http://crunchbang.org/archives/2008/01/13/parsing-rss-feeds-with-php-and-simplepie/</link>
    <pubDate>Sun, 13 Jan 2008 02:25:10 GMT</pubDate>
    <dc:creator>Philip Newborough</dc:creator>
    <guid>http://crunchbang.org/archives/2008/01/13/parsing-rss-feeds-with-php-and-simplepie/</guid>
    <description><![CDATA[
    <p>Tonight I have mainly been playing around with <a href="http://simplepie.org/ " title="SimplePie: RSS and Atom feed parsing in PHP.">SimplePie</a>, a PHP class for parsing RSS and Atom feeds. To quote the <a href="http://simplepie.org/ " title="SimplePie: RSS and Atom feed parsing in PHP.">SimplePie site</a>:</p>

<blockquote>
  <p>SimplePie is a very fast and easy-to-use class, written in PHP, that puts the &#34;simple&#34; back into &#34;really simple syndication&#34;. Flexible enough to suit beginners and veterans alike, SimplePie is focused on speed, ease of use, compatibility and standards compliance.</p>
</blockquote>

<p>I&#39;m totally impressed with SimplePie and I&#39;ll certainly consider using it within future web projects. I performed a quick test with it tonight by parsing a couple of feeds and displaying the results on my <a href="http://philipnewborough.com/ " title="About Philip Newborough.">philipnewborough.com</a> domain, it worked a treat. Good stuff.</p>

    <p style="font-size:smaller;">Tags: <a href="http://crunchbang.org/tags/php/" title="Browse all posts tagged with &#8220;php&#8221;">php</a>, <a href="http://crunchbang.org/tags/webdesign/" title="Browse all posts tagged with &#8220;webdesign&#8221;">webdesign</a></p>
    ]]></description>
</item>

<item>
    <title>Ubuntu Sans Brownness</title>
    <link>http://crunchbang.org/archives/2007/12/22/ubuntu-sans-brownness/</link>
    <pubDate>Sat, 22 Dec 2007 12:35:23 GMT</pubDate>
    <dc:creator>Philip Newborough</dc:creator>
    <guid>http://crunchbang.org/archives/2007/12/22/ubuntu-sans-brownness/</guid>
    <description><![CDATA[
    <p>As an operating system, <a href="http://www.ubuntu.com/ " title="Ubuntu, Linux for Human Beings!">Ubuntu</a> satisfies my needs quite nicely. I&#39;ve been using it as my main OS for a while now and I&#39;ve really grown to appreciate its strong points, namely its excellent package management and community of users. Having said that, there is one trivial aspect of Ubuntu that hasn&#39;t grown on me, that being its default theme, artwork and general brownness.</p>

<p>So, last week I looked into the artwork/default themes offered by some alternative Linux distributions. Using these systems, <a href="http://www.opensuse.org/ " title="openSUSE">openSUSE</a> especially, made for a refreshing change from the depressing brownness of Ubuntu. So with this in mind I decided it was about time that I changed the default Ubuntu theme installed on my systems.</p>

<p>As it turned out, this wasn&#39;t as easy a task I thought it&#39;d be. I actually found it quite difficult and it&#39;s taken me a couple of days worth of tinkering to come up with a new theme that I&#39;m happy with. See below for screenshots of my desktop as it is now, details of the theme follow:</p>

<p><a href="http://crunchbang.org/uploads/122207064343-desktop-clean.jpg" title="Clean desktop" style="background:transparent;border:0;"><img style="border:0;outline:4px solid #babdb6;margin-right:10px;" alt="Screenshot of clean desktop." src="http://crunchbang.org/uploads/122207064538-desktop-clean-thumb.jpg" /></a></p>

<p><a href="http://crunchbang.org/uploads/122207064846-desktop-dirty.jpg" title="Dirty desktop" style="background:transparent;border:0;"><img style="border:0;outline:4px solid #babdb6;margin-right:10px;" alt="Screenshot of clean desktop." src="http://crunchbang.org/uploads/122207064929-desktop-dirty-thumb.jpg" /></a></p>

<h3>Theme Details</h3>

<p><strong>Applications:</strong> <a href="http://art.gnome.org/themes/gtk2/1285 " title="Darkilouche">Darkilouche</a> by <a href="http://art.gnome.org/users/sgarrity " title="Profile of sgarrity on art.gnome.">sgarrity</a>, available from GNOME Art<br />
<strong>Window Borders:</strong> <a href="http://art.gnome.org/themes/metacity/1231 " title="Black">Black</a> by <a href="http://art.gnome.org/users/twigsby " title="Profile of twigsby on art.gnome.">twigsby</a>, available from GNOME Art<br />
<strong>Icons:</strong> <a href="http://tango.freedesktop.org/Tango_Icon_Gallery " title="Tango icons">Tango</a>, available from Ubuntu repositories<br />
<strong>Wallpaper:</strong> <a href="http://art.gnome.org/backgrounds/nature/2298 " title="Wallpaper - Green Meadow 2">Green Meadow 2</a> [<em>treated with <a href="http://crunchbang.org/archives/2007/11/29/gimp-lomo-filter/ " title="GIMP Lomo Filter">GIMP lomo filter</a></em>] by <a href="http://art.gnome.org/users/tschel " title="Profile of tschel on art.gnome.">tschel</a>, available from GNOME Art</p>

<p>As well as installing the above artwork, I&#39;ve also combined the two default GNOME panels into one, freeing up some screen real estate and making my work environment feel less boxed-in. All-in-all I&#39;m fairly pleased with the end result, at the very least it makes for a refreshing change from the previous Ubuntu brownness.</p>

    <p style="font-size:smaller;">Tags: <a href="http://crunchbang.org/tags/artwork/" title="Browse all posts tagged with &#8220;artwork&#8221;">artwork</a>, <a href="http://crunchbang.org/tags/design/" title="Browse all posts tagged with &#8220;design&#8221;">design</a>, <a href="http://crunchbang.org/tags/ubuntu/" title="Browse all posts tagged with &#8220;ubuntu&#8221;">ubuntu</a></p>
    ]]></description>
</item>

<item>
    <title>CommandShift3 - It&#39;s Like Hot or Not for Websites</title>
    <link>http://crunchbang.org/archives/2007/12/15/commandshift3-its-like-hot-or-not-for-websites/</link>
    <pubDate>Sat, 15 Dec 2007 20:06:42 GMT</pubDate>
    <dc:creator>Philip Newborough</dc:creator>
    <guid>http://crunchbang.org/archives/2007/12/15/commandshift3-its-like-hot-or-not-for-websites/</guid>
    <description><![CDATA[
    <blockquote>
  <p>On CommandShift3, you are presented with the screenshots of two websites side by side. If you click the screenshot of the site you think looks best, the page reloads and you start all over again. It never ends.</p>
</blockquote>

<p>I&#39;m really liking <a href="http://commandshift3.com/ " title="CommandShift3 - Hot or Not for Websites!">CommandShift3</a>, which is unusual as I&#39;m not normally a fan of such sites. I guess the subject matter, web design, has helped to endear it to me. The site is fast becoming one of my favourite places to go whenever I&#39;m bored. The site has also made me realise that I can be as judgemental as the next person.</p>

<p>Anyhow, I couldn&#39;t resist submitting CrunchBang into the pool, you can see how it&#39;s performing here:<br />
<a href="http://commandshift3.com/site/crunchbang.org " title="CommandShift3 - CrunchBang">http://commandshift3.com/site/crunchbang.org</a></p>

<p>At the time of writing, CrunchBang had won 113 of 218 battles (52%), not too shabby, all things considered. Seriously though, it&#39;s just some harmless fun and I really wouldn&#39;t worry about my site&#39;s performance, not unless it started to appear <a href="http://commandshift3.com/leaderboard/losers " title="CommandShift3 - Worst Ever!">here</a> :D</p>

    <p style="font-size:smaller;">Tags: <a href="http://crunchbang.org/tags/fun/" title="Browse all posts tagged with &#8220;fun&#8221;">fun</a>, <a href="http://crunchbang.org/tags/webdesign/" title="Browse all posts tagged with &#8220;webdesign&#8221;">webdesign</a></p>
    ]]></description>
</item>

<item>
    <title>My New Nokia N95 Smartphone</title>
    <link>http://crunchbang.org/archives/2007/12/14/my-new-nokia-n95-smartphone/</link>
    <pubDate>Fri, 14 Dec 2007 22:05:00 GMT</pubDate>
    <dc:creator>Philip Newborough</dc:creator>
    <guid>http://crunchbang.org/archives/2007/12/14/my-new-nokia-n95-smartphone/</guid>
    <description><![CDATA[
    <p><img src="http://crunchbang.org/uploads/121407164124-NOK_n95_main.png" alt="Nokia N95 Smartphone." style="float:left;border:0px;margin-right:20px;margin-bottom:10px;outline:4px solid #babdb6;" /> Yesterday afternoon, while out doing a spot of Christmas shopping, I accidentally, it wasn&#39;t planned, walked into my local <a href="http://three.co.uk/ " title="Three Online">Three</a> dealership and purchased a <a href="http://en.wikipedia.org/wiki/Nokia_N95 " title="Wikipedia - Nokia N95 smartphone">Nokia N95 smartphone</a>. I&#39;d been thinking about getting a new phone for some time, my old <a href="http://images.google.com/images?q=nokia+8310 " title="Google images - Nokia 8310">Nokia 8310</a> is about as useful as a chocolate teapot, so in a way it was a happy accident.</p>

<p>Anyway, I&#39;m really quite impressed with the phone and its software. The web browser is especially intuitive and easy to use; my new contract includes unlimited web access and I&#39;ve been testing it out to the full. I&#39;m a total noob when it comes to smartphones and so you&#39;ll have to excuse my excitement, but how cool is it to be able to login to Gmail or any other web based service from just about anywhere!? I&#39;d tell you how cool, only the words escape me.</p>

<p>Having said that, owning an N95 isn&#39;t all good and I&#39;ve already noticed a couple of drawbacks; firstly, browsing the web on my N95 has really opened my eyes, so to speak, to how poorly supported small-screen mobile web devices are. I&#39;ve now got a lot of work to do to make sure my sites support such devices. Secondly, as a result of the feverish button clicking, the end of my left thumb is somewhat suffering in pain. I&#39;m beginning to think the N95 should come with a health warning :)</p>

<h3>Nokia N95 Features</h3>

<div>
        <table cellpadding="0" cellspacing="0">
          <tbody><tr>
            <th><a href="http://www.symbian.com/symbianos/index.html" title="Symbian OS">Symbian OS</a> Version:</th>
            <td> v9.2</td>

          </tr>
          <tr>
            <th>User Interface:</th>
            <td>S60&#160;3rd Edition, Feature Pack 1</td>
          </tr>
          <tr>
            <th>Operating Frequency:</th>

            <td>EGSM 850/900/1800/1900 and WCDMA 2100 HSDPA</td>
          </tr>
          <tr>
            <th>Email Protocols:</th>
            <td>SMS, MMS, Email, Instant Messaging</td>
          </tr>
          <tr>

            <th>Width:</th>
            <td>53&#160;mm</td>
          </tr>
          <tr>
            <th>Length:</th>
            <td>99&#160;mm</td>
          </tr>

          <tr>
            <th>Weight:</th>
            <td>120&#160;g</td>
          </tr>
          <tr>
            <th>Display:</th>
            <td>320 x 240</td>

          </tr>
          <tr>
            <th>Color Depth:</th>
            <td>24 bit</td>
          </tr>
          <tr>
            <th>Number of Cameras:</th>

            <td>2</td>
          </tr>
          <tr>
            <th>Camera Pixels:</th>
            <td>Resolution: 2582 x 1944,Digital Zoom: 20 x, Auto Focus, Red-Eye Reduction,<br />Flash, Self Timer, Carl Zeiss Optics<br />
            Sub camera, Resolution: 288 x 352, Image Format: JPEG/Exif </td>
          </tr>

            <tr>
            <th>Music Player: </th>
            <td>Digital music player - supports AAC, AAC+, eAAC, eAAC+, MP3, MP4, M4A, WMA,<br />AMR (NB-AMR), MIDI Tones (poly 64), RealAudio 7,8,10, SP-MIDI, True tones (WB-AMR)</td>
          </tr>
          <tr>
            <th>Browsing:</th>
            <td>HTML over TCP/IP<br /> 
            S60 OSS Browser<br />

            WAP 2.0<br />
            XHTML over TCP/IP</td>
          </tr>
          <tr>
            <th>Connectivy:</th>
            <td>Bluetooth 2.0 +EDR<br />
            Infrared<br />

            Mini USB<br />
            UPnP<br />
            USB 2.0</td>
          </tr>
          <tr>
            <th>Memory:</th>
            <td>Max User Storage: 160&#160;MB<br />

            Memory Card: Micro SD<br />
            Memory Card Feature: Hot Swap</td>
          </tr>
        </tbody></table>
      </div>

    <p style="font-size:smaller;">Tags: <a href="http://crunchbang.org/tags/n95/" title="Browse all posts tagged with &#8220;n95&#8221;">n95</a>, <a href="http://crunchbang.org/tags/nokia/" title="Browse all posts tagged with &#8220;nokia&#8221;">nokia</a>, <a href="http://crunchbang.org/tags/webdesign/" title="Browse all posts tagged with &#8220;webdesign&#8221;">webdesign</a></p>
    ]]></description>
</item>

<item>
    <title>Finding Colour Palettes with Color Hunter</title>
    <link>http://crunchbang.org/archives/2007/12/10/finding-colour-palettes-with-color-hunter/</link>
    <pubDate>Mon, 10 Dec 2007 09:52:00 GMT</pubDate>
    <dc:creator>Philip Newborough</dc:creator>
    <guid>http://crunchbang.org/archives/2007/12/10/finding-colour-palettes-with-color-hunter/</guid>
    <description><![CDATA[
    <blockquote>
  <p>Color Hunter is a place to find and make color palettes created from images.</p>
</blockquote>

<p>I&#39;m really liking <a href="http://www.colorhunter.com/ " title="Color Hunter, create and find color palettes made from images.">Color Hunter</a> and think it&#39;s one of the most useful applications of the Flickr API I&#39;ve seen to date. You can use the service to search for new colour palettes either by tag, hex color code or image URL; once you&#39;ve created a free account you can save a list of your favourite colour palettes for future reference. <a href="http://www.colorhunter.com/user/corenominal " title="Corenominal at Color Hunter">See some palettes I&#39;ve saved</a>.</p>

<p>Another great feature of the Color Hunter service is a toggle for displaying palettes in either vibrant or dull mode, this feature instantly doubles the number of palettes available and provides alternative palettes you may not have previously considered. Good stuff.</p>

    <p style="font-size:smaller;">Tags: <a href="http://crunchbang.org/tags/colour/" title="Browse all posts tagged with &#8220;colour&#8221;">colour</a>, <a href="http://crunchbang.org/tags/design/" title="Browse all posts tagged with &#8220;design&#8221;">design</a>, <a href="http://crunchbang.org/tags/tools/" title="Browse all posts tagged with &#8220;tools&#8221;">tools</a>, <a href="http://crunchbang.org/tags/webdesign/" title="Browse all posts tagged with &#8220;webdesign&#8221;">webdesign</a></p>
    ]]></description>
</item>

<item>
    <title>Web Templates &amp; Selling Houses</title>
    <link>http://crunchbang.org/archives/2007/12/08/web-templates-and-selling-houses/</link>
    <pubDate>Sat, 08 Dec 2007 11:19:52 GMT</pubDate>
    <dc:creator>Philip Newborough</dc:creator>
    <guid>http://crunchbang.org/archives/2007/12/08/web-templates-and-selling-houses/</guid>
    <description><![CDATA[
    <p>I&#39;m currently designing a range of templates/themes for use with <a href="http://crunchbang.org/tags/whird/ " title="See all Whird related posts">Whird</a>. As a result of this I&#39;ve found myself thinking an awful lot about colour schemes and combinations. I&#39;ve also been researching colour theory and application. To be honest, I&#39;m about all coloured out.</p>

<p>The conclusion I&#39;ve come to, with regards to choosing colour schemes for my Whird templates, is that I&#39;m going to use neutral/passive colours. My main reason for this doesn&#39;t actually stem from the research I&#39;ve been doing, it comes from my experience of selling houses. What I learned from my time in the housing market was this:</p>

<p><em>When selling your house, stage [decorate] with neutral colours. Neutral colours appeal to the broader market and will help to sell your house quickly.</em></p>

<p>I&#39;m going to apply this working colour theory to my web templates; after all, if it&#39;s good enough for the multimillion £ housing market, it&#39;s good enough for my free web templates :)</p>

    <p style="font-size:smaller;">Tags: <a href="http://crunchbang.org/tags/design/" title="Browse all posts tagged with &#8220;design&#8221;">design</a>, <a href="http://crunchbang.org/tags/projects/" title="Browse all posts tagged with &#8220;projects&#8221;">projects</a>, <a href="http://crunchbang.org/tags/webdesign/" title="Browse all posts tagged with &#8220;webdesign&#8221;">webdesign</a>, <a href="http://crunchbang.org/tags/whird/" title="Browse all posts tagged with &#8220;whird&#8221;">whird</a></p>
    ]]></description>
</item>

<item>
    <title>No Internet Explorer, No Problem</title>
    <link>http://crunchbang.org/archives/2007/12/06/no-internet-explorer-no-problem/</link>
    <pubDate>Thu, 06 Dec 2007 02:09:08 GMT</pubDate>
    <dc:creator>Philip Newborough</dc:creator>
    <guid>http://crunchbang.org/archives/2007/12/06/no-internet-explorer-no-problem/</guid>
    <description><![CDATA[
    <p>I read a <a href="http://ramblingfoo.blogspot.com/2007/12/people-who-think-default-wiki-theme-is.html " title="Rambling around foo: People who think the default wiki theme is nice.">blog post</a> today and it reminded me of a solution to a <a href="http://en.wikipedia.org/wiki/Internet_Explorer " title="Wikipedia - Microsoft Internet Explorer">problem</a> encountered when running a Linux only web design operation. <a href="http://browsershots.org/ " title="Browsershots">Browsershots</a>:</p>

<blockquote>
  <p>Browsershots makes screenshots of your web design in different browsers. It is a free open-source online service created by Johann C. Rocholl. When you submit your web address, it will be added to the job queue. A number of distributed computers will open your website in their browser. Then they will make screenshots and upload them to the central server here.</p>
</blockquote>

<p>Running a Linux only operation myself I can really appreciate how fantastic a tool/service Browsershots is. I no longer have to maintain an installation of Microsoft Windows and make it available via a dual boot set-up. When I did maintain a dual boot system I only ever entered Windows to check a new web template in Internet Explorer. Maintaining a complete operating system just for this reason is not worth the time or the effort.</p>

<p>Thank you <a href="http://browsershots.org/ " title="Browsershots - Test your web design in numerous different browsers.">Browsershots</a>, you&#39;ve helped liberate my systems!</p>

    <p style="font-size:smaller;">Tags: <a href="http://crunchbang.org/tags/linux/" title="Browse all posts tagged with &#8220;linux&#8221;">linux</a>, <a href="http://crunchbang.org/tags/tools/" title="Browse all posts tagged with &#8220;tools&#8221;">tools</a>, <a href="http://crunchbang.org/tags/ubuntu/" title="Browse all posts tagged with &#8220;ubuntu&#8221;">ubuntu</a>, <a href="http://crunchbang.org/tags/webdesign/" title="Browse all posts tagged with &#8220;webdesign&#8221;">webdesign</a></p>
    ]]></description>
</item>

<item>
    <title>24 Ways to Impress</title>
    <link>http://crunchbang.org/archives/2007/12/01/24-ways-to-impress/</link>
    <pubDate>Sat, 01 Dec 2007 01:16:37 GMT</pubDate>
    <dc:creator>Philip Newborough</dc:creator>
    <guid>http://crunchbang.org/archives/2007/12/01/24-ways-to-impress/</guid>
    <description><![CDATA[
    <p>You know it&#39;s getting close to Christmas when the <a href="http://24ways.org/ " title="24 ways to impress your friends.">24 Ways</a> RSS feed comes to life:</p>

<blockquote>
  <p><a href="http://allinthehead.com/ " title="All in the head.">Drew McLellan</a> kicks off our 2007 festive season by revisiting the thorny issue of support for alpha channel PNGs in Internet Explorer 6. Why not be charitable and lend a helping hand to those poor IE6 users? They could use some Christmas cheer.</p>
  
  <p>Impress your friends with <a href="http://24ways.org/2007/supersleight-transparent-png-in-ie6 " title="Transparent PNGs in Internet Explorer 6">your heavenly halo-free graphics</a></p>
</blockquote>

<p>I hope this year will be as good as the <a href="http://24ways.org/2005/ " title="24 Ways - 2005">2005</a> and <a href="http://24ways.org/2006/ " title="24 Ways - 2006">2006</a> seasons!</p>

    <p style="font-size:smaller;">Tags: <a href="http://crunchbang.org/tags/webdesign/" title="Browse all posts tagged with &#8220;webdesign&#8221;">webdesign</a></p>
    ]]></description>
</item>

<item>
    <title>Site Redesign</title>
    <link>http://crunchbang.org/archives/2007/11/24/site-redesign/</link>
    <pubDate>Sat, 24 Nov 2007 15:14:45 GMT</pubDate>
    <dc:creator>Philip Newborough</dc:creator>
    <guid>http://crunchbang.org/archives/2007/11/24/site-redesign/</guid>
    <description><![CDATA[
    <p>When I first designed this site I was completely [<em>maybe not completely, but near enough</em>] happy with it. I liked the overall look and I was pleased with the way it worked. I had no plans to redesign the site and I was sure the design would last for the foreseeable future. Then just a few months later I realised that the design was actually quite restrictive &#8212; limiting my options to extend the site.</p>

<p>So I&#39;ve done a quick redesign, dropping the monochromatic style for a less retina-burning mix of neutral grays. I&#39;ve also made some adjustments to the type styles by incorporating the typography CSS from the <a href="http://code.google.com/p/blueprintcss/ " title="Blueprint CSS framework">Blueprint CSS framework</a>. All-in-all I&#39;m much happier with this version. Hopefully this design really will last for the foreseeable future.</p>

<p>For future reference [<em>and for anyone who missed it</em>] here are some screengrabs of the previous design:</p>

<p><a href="http://crunchbang.org/uploads/112407070704-crunchbang-v1-default-post.png" title="CrunchBang default design version 1." style="border:0;outline:4px solid #babdb6;margin-right:20px;background:#fff;"><img src="http://crunchbang.org/uploads/112407063545-crunchbang-v1-default-post-thumb.png" alt="A screengrab of the CrunchBang version 1 design." /></a>      <a href="http://crunchbang.org/uploads/112407070754-crunchbang-v1-inverse-post.png" title="CrunchBang alternative design version 1." style="border:0;background:#000;outline:4px solid #babdb6;margin-right:20px;"><img src="http://crunchbang.org/uploads/112407064205-crunchbang-v1-inverse-post-thumb.png" alt="A screengrab of the CrunchBang version 1 design." /></a></p>

    <p style="font-size:smaller;">Tags: <a href="http://crunchbang.org/tags/design/" title="Browse all posts tagged with &#8220;design&#8221;">design</a>, <a href="http://crunchbang.org/tags/webdesign/" title="Browse all posts tagged with &#8220;webdesign&#8221;">webdesign</a></p>
    ]]></description>
</item>

<item>
    <title>What is Web Design?</title>
    <link>http://crunchbang.org/archives/2007/11/21/what-is-web-design/</link>
    <pubDate>Wed, 21 Nov 2007 09:18:22 GMT</pubDate>
    <dc:creator>Philip Newborough</dc:creator>
    <guid>http://crunchbang.org/archives/2007/11/21/what-is-web-design/</guid>
    <description><![CDATA[
    <p>A quote from <a href="http://alistapart.com/ " title="A List Apart - For People Who Make Websites.">A List Apart</a> article, &#34;<a href="http://alistapart.com/articles/understandingwebdesign/ " title="A List Apart - Understanding Web Design">Understanding Web Design</a>&#34;:</p>

<blockquote>
  <p>Web design is not book design, it is not poster design, it is not illustration, and the highest achievements of those disciplines are not what web design aims for. Although websites can be delivery systems for games and videos, and although those delivery systems can be lovely to look at, such sites are exemplars of game design and video storytelling, not of web design. So what is web design?</p>
  
  <p>Web design is the creation of digital environments that facilitate and encourage human activity; reflect or adapt to individual voices and content; and change gracefully over time while always retaining their identity.</p>
</blockquote>

<p>Talking of web design, I&#39;m currently toying with the idea of changing a few things around here. I&#39;m not thinking about anything major, just a few tweaks to the CSS for better spacing and maybe the introduction of some colour!?</p>

<p>Talking of CSS, <a href="http://www2.jeffcroft.com/blog/2007/nov/17/whats-not-love-about-css-frameworks/ " title="Whats not to love about CSS frameworks?">Jeff Croft created a bit of a hullabaloo</a> over the topic of <a href="http://en.wikipedia.org/wiki/CSS_framework " title="Wikipedia - CSS frameworks">CSS frameworks</a> last week. The comments generated by the post are probably more interesting than the post itself. <a href="http://www2.jeffcroft.com/blog/2007/nov/18/follow-up-css-frameworks/ " title="Jeff Croft - A follow up on CSS frameworks">Jeff was kind of surprised by the reaction</a>:</p>

<blockquote>
  <p>Wow. Less than 24 hours after my last post, there have been nearly 100 comments posted, and I&#39;ve seemingly managed to piss off half the Internet.</p>
</blockquote>

<p>Personally, I think the tone of Jeff&#39;s post had a lot to do with it. Stating, &#34;I wrote the book on this topic&#34; was probably a bit too much, an ALA article [<em>although important</em>] is hardly a book!</p>

<p>Anyhow, I&#39;m not a huge fan of frameworks, but I did manage to take a look at the <a href="http://code.google.com/p/blueprintcss/ " title="Blueprint is a CSS framework, which aims to cut down on your CSS development time.">BluePrint CSS framework</a>. It&#39;s a good collection of CSS techniques by numerous contributors. The typography styles are especially good and well worth checking out &#8212; I think I&#39;m going to try and incorporate parts of it into my little redesign.</p>

    <p style="font-size:smaller;">Tags: <a href="http://crunchbang.org/tags/webdesign/" title="Browse all posts tagged with &#8220;webdesign&#8221;">webdesign</a></p>
    ]]></description>
</item>

<item>
    <title>A Couple of Favicon Tools&#8230;</title>
    <link>http://crunchbang.org/archives/2007/11/14/a-couple-of-favicon-tools-dot-dot-dot-/</link>
    <pubDate>Wed, 14 Nov 2007 01:31:16 GMT</pubDate>
    <dc:creator>Philip Newborough</dc:creator>
    <guid>http://crunchbang.org/archives/2007/11/14/a-couple-of-favicon-tools-dot-dot-dot-/</guid>
    <description><![CDATA[
    <p>&#8230;because creating <a href="http://en.wikipedia.org/wiki/Favicon " title="Wikipedia - favicons">favicons</a> with <a href="http://gimp.org/ " title="GIMP - The GNU Image Manipulation Program">GIMP</a> can be tricky.</p>

<ol>
<li><p><a href="http://www.htmlkit.com/services/favicon/ " title="Favicon from Pics">Favicon from Pics</a> is an old favourite of mine. This online tool will generate a favicon from an existing image. It copes well with transparent images and will also create animated favicons [<em>not that I would advise using them!</em>] Works best when using square images.</p></li>
<li><p><a href="http://favikon.com/ " title="Favikon - creating favicons has never been easier.">Favikon</a> is another good web based tool for creating favicons. This tool will crop and resize an existing image before presenting your new favicon for download. Via <a href="http://www.simplebits.com/notebook/2007/11/13/favikon.html " title="SimpleBits ~ Favikon">Dan Cederholm</a>.</p></li>
</ol>

    <p style="font-size:smaller;">Tags: <a href="http://crunchbang.org/tags/images/" title="Browse all posts tagged with &#8220;images&#8221;">images</a>, <a href="http://crunchbang.org/tags/tools/" title="Browse all posts tagged with &#8220;tools&#8221;">tools</a>, <a href="http://crunchbang.org/tags/webdesign/" title="Browse all posts tagged with &#8220;webdesign&#8221;">webdesign</a></p>
    ]]></description>
</item>

<item>
    <title>Image Hotlinking Prevention with .htaccess</title>
    <link>http://crunchbang.org/archives/2007/11/02/image-hotlinking-prevention-with-dot-htaccess/</link>
    <pubDate>Fri, 02 Nov 2007 22:58:07 GMT</pubDate>
    <dc:creator>Philip Newborough</dc:creator>
    <guid>http://crunchbang.org/archives/2007/11/02/image-hotlinking-prevention-with-dot-htaccess/</guid>
    <description><![CDATA[
    <p>I&#39;m designing some banners and buttons for <a href="http://ubuntu.com/ " title="Ubuntu Linux">Ubuntu</a> advocacy. I have no problem with giving the images away [<em>indeed this is why I made them,</em>] however I really can&#39;t afford to host them. So before I post them to this site I wanted to ensure that I had some hotlink protection in place.</p>

<p>To accomplish this I&#39;ve created a new directory under my site&#39;s default &#34;images&#34; directory and protected it from hotlinking with an Apache <code>.htaccess</code> file. For future reference here are the contents of the <code>.htaccess</code> file:</p>

<pre><code>RewriteEngine On
RewriteCond %{HTTP_REFERER} !^http://(.+.)?example.com/ [NC]
RewriteCond %{HTTP_REFERER} !^$
RewriteRule .*.(jpe?g|gif|bmp|png)$ ../hotlink.gif [L]
</code></pre>

<p>The first line of the above code turns on the <a href="http://en.wikipedia.org/wiki/Rewrite_engine " title="Wikipedia - Rewrite Engine">mod_rewrite engine</a> in Apache. A requirement for the rewrite commands.</p>

<p>The second line matches any requests from the URL example.com [<em>change this to suit your requirements</em>]. The [NC] code means &#34;No Case&#34;, meaning match the URL regardless of case.</p>

<p>The third line allows empty referrals.</p>

<p>Finally, the last line matches any files ending with the extension jpeg, jpg, gif, bmp, or png. This is then replaced by the <code>hotlink.gif</code> file [<em>see below</em>] residing in the above <code>images</code> directory.</p>

<p><img src="http://crunchbang.org/images/hotlink.gif" alt="An example no hotlinking image with message." /></p>

<p>If you need to allow more domains to hotlink to your images you can simply duplicate line two. See the example below:</p>

<pre><code>RewriteEngine On
RewriteCond %{HTTP_REFERER} !^http://(.+.)?example.com/ [NC]
RewriteCond %{HTTP_REFERER} !^http://(.+.)?another-example.net/ [NC]
RewriteCond %{HTTP_REFERER} !^http://(.+.)?one-more-example.org/ [NC]
RewriteCond %{HTTP_REFERER} !^$
RewriteRule .*.(jpe?g|gif|bmp|png)$ ../hotlink.gif [L]
</code></pre>

    <p style="font-size:smaller;">Tags: <a href="http://crunchbang.org/tags/code/" title="Browse all posts tagged with &#8220;code&#8221;">code</a>, <a href="http://crunchbang.org/tags/images/" title="Browse all posts tagged with &#8220;images&#8221;">images</a>, <a href="http://crunchbang.org/tags/unitedhosting/" title="Browse all posts tagged with &#8220;unitedhosting&#8221;">unitedhosting</a>, <a href="http://crunchbang.org/tags/webdesign/" title="Browse all posts tagged with &#8220;webdesign&#8221;">webdesign</a></p>
    ]]></description>
</item>

<item>
    <title>IAB Templates for Gimp 2.4</title>
    <link>http://crunchbang.org/archives/2007/11/01/iab-templates-for-gimp-2-dot-4/</link>
    <pubDate>Thu, 01 Nov 2007 10:01:11 GMT</pubDate>
    <dc:creator>Philip Newborough</dc:creator>
    <guid>http://crunchbang.org/archives/2007/11/01/iab-templates-for-gimp-2-dot-4/</guid>
    <description><![CDATA[
    <p>One of my first commercial web design jobs involved producing sets of banners and buttons for a marketing agency. It wasn&#39;t the most glamorous work, but it paid well and provided good work experience.</p>

<p>At the time I was a Windows user and I remember having to create the images from scratch. I had to reference the IAB Ad Unit Guidelines for each new image so as to get the correct dimensions.</p>

<p>Anyhow, I&#39;ve recently started creating some banners and buttons for <a href="http://www.ubuntu.com/ " title="Ubuntu - linux for human beings.">Ubuntu</a>. I&#39;ve been using <a href="http://gimp.org/ " title="Gimp - GNU Image Manipulation Program">Gimp</a> to create the images and I wanted a quick-and-easy way to create a new file with the correct dimensions. To accomplish this I edited Gimp&#39;s <code>templaterc</code> file and created a new template entry for each of the IAB Ad Units. Those being:</p>

<p><strong>Rectangles and Pop-Ups:</strong></p>

<p>300 x 250&#160;px - Medium Rectangle<br />
250 x 250&#160;px - Square Pop-Up<br />
240 x 400&#160;px - Vertical Rectangle<br />
336 x 280&#160;px - Large Rectangle<br />
180 x 150&#160;px - Rectangle<br />
300 x 100&#160;px - 3:1 Rectangle<br />
720 x 300&#160;px - Pop-Under</p>

<p><strong>Banners and Buttons:</strong></p>

<p>468 x 60&#160;px - Full Banner<br />
234 x 60&#160;px - Half Banner<br />
88 x 31&#160;px - Micro Bar<br />
120 x 90&#160;px - Button 1<br />
120 x 60&#160;px - Button 2<br />
120 x 240&#160;px - Vertical Banner<br />
125 x 125&#160;px - Square Button<br />
728 x 90&#160;px - Leaderboard</p>

<p><strong>Skyscrapers:</strong></p>

<p>160 x 600&#160;px - Wide Skyscraper<br />
120 x 600&#160;px - Skyscraper<br />
300 x 600&#160;px - Half Page Ad</p>

<h3>Install the template file</h3>

<p>You can get the file here: <a href="http://crunchbang.org/misc/templaterc.txt " title="Template file for Gimp 2.4">http://crunchbang.org/misc/templaterc.txt</a></p>

<p>Or, if you&#39;re an Ubuntu Gutsy user you can follow these instructions:</p>

<p><strong>1.</strong> Close Gimp if it&#39;s running</p>

<p><strong>2.</strong> Open a terminal and backup your &#39;templaterc&#39; file with the following command:</p>

<pre><code>cp ~/.gimp-2.4/templaterc ~/.gimp-2.4/templaterc-bak
</code></pre>

<p><strong>3.</strong> Still in the terminal, enter the following command to download my &#39;templaterc` file:</p>

<pre><code>wget http://crunchbang.org/misc/templaterc.txt
</code></pre>

<p><strong>4.</strong> Move the file to your Gimp directory with the following terminal command:</p>

<pre><code>mv templaterc.txt ~/.gimp-2.4/templaterc
</code></pre>

<p><strong>5.</strong> Start Gimp, select &#34;File -> New&#34; from the menu and select the template you want.</p>

<p><strong>6.</strong> Create a beautiful web banner or button to promote your favourite free OSS!</p>

    <p style="font-size:smaller;">Tags: <a href="http://crunchbang.org/tags/artwork/" title="Browse all posts tagged with &#8220;artwork&#8221;">artwork</a>, <a href="http://crunchbang.org/tags/gimp/" title="Browse all posts tagged with &#8220;gimp&#8221;">gimp</a>, <a href="http://crunchbang.org/tags/ubuntu/" title="Browse all posts tagged with &#8220;ubuntu&#8221;">ubuntu</a>, <a href="http://crunchbang.org/tags/webdesign/" title="Browse all posts tagged with &#8220;webdesign&#8221;">webdesign</a></p>
    ]]></description>
</item>

<item>
    <title>301 Redirect with PHP</title>
    <link>http://crunchbang.org/archives/2007/10/02/301-redirect-with-php/</link>
    <pubDate>Tue, 02 Oct 2007 03:09:28 GMT</pubDate>
    <dc:creator>Philip Newborough</dc:creator>
    <guid>http://crunchbang.org/archives/2007/10/02/301-redirect-with-php/</guid>
    <description><![CDATA[
    <p>I&#39;ve just had to permanently redirect an entire site. The site consisted of several hundred pages and on the face of it, it seemed like a daunting task. However two lines of PHP came to the rescue :-)</p>

<pre><code> Header( "HTTP/1.1 301 Moved Permanently" );
 Header( "Location: http://www.new-location.com" );
</code></pre>

<p>Luckily, each page on the site referred to a single configuration file and this made the process painless.</p>

    <p style="font-size:smaller;">Tags: <a href="http://crunchbang.org/tags/code/" title="Browse all posts tagged with &#8220;code&#8221;">code</a>, <a href="http://crunchbang.org/tags/php/" title="Browse all posts tagged with &#8220;php&#8221;">php</a>, <a href="http://crunchbang.org/tags/webdesign/" title="Browse all posts tagged with &#8220;webdesign&#8221;">webdesign</a></p>
    ]]></description>
</item>

 </channel>
</rss>