<?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>Mike Afford Media Blog &#187; blogs</title>
	<atom:link href="http://www.mikeafford.com/blog/category/blogs/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.mikeafford.com/blog</link>
	<description>Mike Afford is a Graphic Designer for TV and Web based in Leitrim, Ireland.</description>
	<lastBuildDate>Thu, 02 Feb 2012 23:52:24 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Weather Widget Revisited</title>
		<link>http://www.mikeafford.com/blog/2011/06/weather-widget-revisited/</link>
		<comments>http://www.mikeafford.com/blog/2011/06/weather-widget-revisited/#comments</comments>
		<pubDate>Tue, 28 Jun 2011 01:37:04 +0000</pubDate>
		<dc:creator>Mike</dc:creator>
				<category><![CDATA[technical]]></category>
		<category><![CDATA[weather]]></category>
		<category><![CDATA[weather icons]]></category>
		<category><![CDATA[widgets]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.mikeafford.com/blog/?p=825</guid>
		<description><![CDATA[I have just put the finishes touches on my latest version of a Local Weather Widget for Wordpress, this time branded in Leitrim colours.]]></description>
			<content:encoded><![CDATA[<p><div class="wp-caption alignleft" style="width: 270px"><a href="http://images.mikeafford.com/various/leitrim-weather-example.png"><img alt="Wordpress Weather Widget v 2.0" src="http://images.mikeafford.com/various/leitrim-weather-example.png" title="Wordpress Weather Widget Test" width="260" height="160" /></a><p class="wp-caption-text">My Wordpress Weather Widget v 2.0</p></div>I have just put the finishes touches on my latest attempt at a <strong>Local Weather Widget</strong> for Wordpress, this time branded in Leitrim colours.</p>
<p>I first had a stab at this kind of thing <a href="http://www.mikeafford.com/blog/2009/05/wordpress-weather-widget-almost/">a couple of years ago</a> but removed it when it broke the blog completely&#8230;! This new version seems a bit more stable, but still suffers from missing data from the Yahoo! Weather feed, especially overnight. Also, and here&#8217;s the problem, it&#8217;s still hard coded into a text widget, which isn&#8217;t exactly ideal. You should be able to see the real thing at the bottom of the sidebar on the right&#8230; (UPDATE : I&#8217;ve just turned the weather widget off &#8211; it should be back once I&#8217;ve worked out how to make it not quite so easy to download a free set of my weather icons..!)</p>
<p>So if there are any bored PHP / Wordpress experts out there who&#8217;d be interested in a collaboration, please do get in touch. It&#8217;d be nice to make this into a proper Irish Local Weather widget downloadable from <strong>wordpress.org/extend</strong>, with options in the admin page to select your county branding, your town or city (or long-lat?), and choose from current, 1 day or 2 day forecasts or combinations. </p>
<p>As before, the XML parsing and CSS classes are based on those by <a href="http://www2.voegeli.li/no_cache/code-tutorials/php-scripts.html">Marco Voegeli</a>. The data is currently coming from Yahoo!Weather, but I&#8217;m in the process of investigating the free weather API from <a href="http://www.worldweatheronline.com/weather/Ireland/1004942/Mohill/1011928/info.aspx">World Weather Online</a> &#8211; they offer a longer-range forecast, and they&#8217;re also using my <a href="http://www.mikeafford.com/buy/weather-symbols-tv2.html" title="royalty free weather icons">weather icons</a>!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mikeafford.com/blog/2011/06/weather-widget-revisited/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mac or PC?</title>
		<link>http://www.mikeafford.com/blog/2010/02/mac-or-pc/</link>
		<comments>http://www.mikeafford.com/blog/2010/02/mac-or-pc/#comments</comments>
		<pubDate>Wed, 10 Feb 2010 20:28:01 +0000</pubDate>
		<dc:creator>Mike</dc:creator>
				<category><![CDATA[Mac stuff]]></category>
		<category><![CDATA[blogs]]></category>
		<category><![CDATA[Apple Mac]]></category>
		<category><![CDATA[blogging]]></category>

		<guid isPermaLink="false">http://www.mikeafford.com/blog/?p=454</guid>
		<description><![CDATA[Mac or PC? What side are you on?]]></description>
			<content:encoded><![CDATA[<p><div id="attachment_455" class="wp-caption alignleft" style="width: 225px"><img src="http://www.mikeafford.com/blog/wp-content/uploads/2010/02/mac-or-pc.jpg" alt="Are you Mac or PC?" title="mac-or-pc" width="215" height="139" class="size-full wp-image-455" /><p class="wp-caption-text">Are you Mac or PC?</p></div>Find out if you are Mac or PC &#8211; take a fun test at <a href="http://www.switchtomac.com" target="blank">SwitchToMac.com</a> and find out which side you&#8217;re really on! </p>
<p>I just took the test and came out 100% Mac. </p>
<p>Actually it was my second attempt, the first go was very nearly, but not quite 100%. But let&#8217;s face it, &#8220;<strong>87% Mac</strong>&#8221; doesn&#8217;t look quite so impressive. So anyway, if you want to skew the results, think carefully whether you want to think &#8216;different&#8217; or &#8216;differently&#8217;&#8230;. you&#8217;ll see what i mean. Oh, and obviously Mac users eat salad!</p>
<p>While you&#8217;re there, you can read my <strong>guest blog</strong> <a href="http://switchtomac.com/blog/mac-life/10-things-i-love-about-my-macbook-pro/" tarcget="_blank">&#8220;<strong>10 things I love about my MacBook Pro&#8221;</strong></a> &#8211; a run-down of the ten things I like best about my laptop. </p>
<p>My <strong>MacBook Pro</strong> narrowly avoided disaster a little while back (see my earlier post <a href="http://www.mikeafford.com/blog/2010/02/the-luckiest-laptop-in-leitrim/">The Luckiest Laptop in Leitrim</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mikeafford.com/blog/2010/02/mac-or-pc/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Photoshop CS4 crashes when changing font</title>
		<link>http://www.mikeafford.com/blog/2010/01/photoshop-cs4-crashes-when-changing-font/</link>
		<comments>http://www.mikeafford.com/blog/2010/01/photoshop-cs4-crashes-when-changing-font/#comments</comments>
		<pubDate>Sun, 31 Jan 2010 22:41:10 +0000</pubDate>
		<dc:creator>Mike</dc:creator>
				<category><![CDATA[Mac stuff]]></category>
		<category><![CDATA[technical]]></category>
		<category><![CDATA[cs4]]></category>
		<category><![CDATA[Photoshop]]></category>

		<guid isPermaLink="false">http://www.mikeafford.com/blog/?p=406</guid>
		<description><![CDATA[Font problems in Photoshop CS4 narrowed down to corrupt font cache.]]></description>
			<content:encoded><![CDATA[<p>I recently upgraded the entire <strong>Adobe Master Collection</strong> on my <strong>Macbook Pro</strong> to the <strong>CS4</strong> versions and earlier today <strong>Photoshop</strong> started crashing. The horror. It happened whenever I tried to change the font on a piece of text. I was highlighting the text and using the arrow keys to flick through all the fonts in the list, one by one. Several &#8216;unexpected quits&#8217; later, I&#8217;d narrowed it down to one particular font that was causing problems.<span id="more-406"></span></p>
<p><strong>FontExplorer X</strong> also crashed when trying to view the offending font, but it appeared OK in <strong>Font Book</strong>.</p>
<p>There&#8217;s a couple of different ways to proceed if you&#8217;re faced with a similar problem. Obviously deleting the bad font (and re-installing if that&#8217;s an option) is one way to go. That assumes that the font file itself is bad. </p>
<p>But there&#8217;s also a chance that the font is OK, but the font cache is corrupted.</p>
<p>There are a couple of ways to clear your Mac&#8217;s font caches &#8211; one is to restart in Safe Mode (hold down the SHIFT key immediately after the startup sound and release after the Apple logo appears). </p>
<p>Fortunately, <strong>FontExplorer X</strong> has a couple of options under the Tools menu &#8211; <em>&#8216;Clean System Font Caches&#8217;</em> and <em>&#8216;Clean Application Font Caches&#8217;</em> (this gave me the option of cleaning the &#8216;Adobe&#8217; application font caches). I cleaned both.</p>
<p>The end result? Photoshop CS4 working fine again. </p>
<p>A word of caution: there can be a number of reasons why fonts might go screwy on your Mac. Adobe has a page on troubleshooting font problems here: <a href="http://kb2.adobe.com/cps/327/327791.html" target=_blank">http://kb2.adobe.com/cps/327/327791.html</a> . I&#8217;d suggest reading it before doing anything too drastic. </p>
]]></content:encoded>
			<wfw:commentRss>http://www.mikeafford.com/blog/2010/01/photoshop-cs4-crashes-when-changing-font/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cufón text replacement in Wordpress</title>
		<link>http://www.mikeafford.com/blog/2009/09/cufon-text-replacement-in-wordpress/</link>
		<comments>http://www.mikeafford.com/blog/2009/09/cufon-text-replacement-in-wordpress/#comments</comments>
		<pubDate>Fri, 25 Sep 2009 11:05:21 +0000</pubDate>
		<dc:creator>Mike</dc:creator>
				<category><![CDATA[fonts]]></category>
		<category><![CDATA[technical]]></category>
		<category><![CDATA[websites]]></category>
		<category><![CDATA[blogging]]></category>
		<category><![CDATA[customising]]></category>
		<category><![CDATA[template]]></category>
		<category><![CDATA[themes]]></category>
		<category><![CDATA[typography]]></category>
		<category><![CDATA[web design]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.mikeafford.com/blog/?p=345</guid>
		<description><![CDATA[Recent experiments with Cufón text replacement, and the wp-cufon Wordpress plugin.]]></description>
			<content:encoded><![CDATA[<div class="wp-caption alignleft" style="width: 225px"><a href="http://www.mikeafford.com/images/store/tolkien-font-cufon-example.png"><img alt="Tolkien Fonts - cufon text replacement example" src="http://www.mikeafford.com/images/store/tolkien-font-cufon-example-small.png" title="Tolkien Fonts - cufon text replacement example" width="215" height="157" /></a><p class="wp-caption-text">Tolkien Fonts - cufon text replacement example</p></div>I&#8217;ve recently been experimenting with <strong>Cufón</strong> text replacement, and decided to put it to use on <a href="http://www.themoment.co.uk/tolkien/category/books-by-tolkien/" target="_blank">a site I&#8217;ve been messing about with</a>. I&#8217;d also been converting the whole thing to a Wordpress-powered site (more on that later), so it seemed to make sense to look for a plug-in to do the job.</p>
<p>So, the plugin is called <strong>WP-Cufon</strong> and you can get it at <a href="http://wordpress.org/extend/plugins/wp-cufon/" target="_blank">wordpress.org/extend/plugins/wp-cufon/</a></p>
<p>It&#8217;s quick to install, has good documentation, and it&#8217;s easy enough to specify some rules to control the text replacement on your site.</p>
<p>So for example I&#8217;ve used :</p>
<p><code>Cufon.replace('h1', { hover:true });<br />
Cufon.replace('h2', { hover:true });<br />
Cufon.replace('h5');<br />
Cufon.replace('#navbar a');</code></p>
<p>which replaces the font for h1, h2, h5 headings and any link text within the &#8216;navbar&#8217; div with a special font of my own making. All of the subsequent styling is covered by CSS. It really is very simple to set up.</p>
<p>You need to convert your font first into a format that Cufon can handle &#8211; there&#8217;s a <a href="http://cufon.shoqolate.com/generate/" target="_blank">Cufon generator</a> that does the whole thing very neatly. It also, importantly, allows you to limit usage to certain domains to protect the font from use elsewhere.</p>
<p><span id="more-345"></span>I&#8217;d previously looked at <a href="http://www.mikeindustries.com/blog/archive/2004/08/sifr" target="_blank">Scalable Inman Flash Replacement (sIFR)</a> but I have to say I think Cufón may have the edge if only for ease of set-up &#8211; although, granted a lot of the hard work has already been done by the plug-in. Oh, and Cufon doesn&#8217;t use Flash.</p>
<p>I don&#8217;t claim to understand exactly <em>how</em> Cufon works, but if you&#8217;re interested in that kind of thing have a look at <a href="http://wiki.github.com/sorccu/cufon/about" target="_blank">http://wiki.github.com/sorccu/cufon/about</a> which goes into all the nitty-gritty.</p>
<p>And here&#8217;s a link to <a href="http://www.tobias-battenberg.de/wp-cufon/" target="_blank">the creator of the wp-cufon plugin, Tobias Battenberg</a></p>
<h3>OK, Tolkien fans</h3>
<p>So this next bit is only really of interest to fans of <strong>The Lord of the Rings</strong>&#8230; (look away now if hobbits and dragons aren&#8217;t your thing!). No really.</p>
<p>The site I&#8217;ve used Cufon on is a <a href="http://www.themoment.co.uk/tolkien/category/books-by-tolkien/" target="_blank" title="Tolkien books">Tolkien book collecting site</a> &#8211; and I created a special font that brings to mind the calligraphy of the author J.R.R.Tolkien &#8211; I was pretty pleased with the end result, so if anyone&#8217;s interested they can buy a copy of <a href="http://www.mikeafford.com/buy/tolkien-font.html" target="_blank" title="Tolkien font"><strong>Tolkienesque Regular</strong> (in Truetype font format) from my store</a>.</p>
<p>I also ended up tackling another Wordress theme design from scratch &#8211; so the entire site has a kind of &#8216;Tolkienesque&#8217; feel to it. That&#8217;s the name I gave to the theme too.</p>
<p><div class="wp-caption alignleft" style="width: 545px"><a href="http://www.themoment.co.uk/tolkien/books-by-tolkien/middle-earth-related/history-of-middle-earth/the-peoples-of-middle-earth-1st-edition/" target="_blank"><img alt="Tolkien Wordpress theme" src="http://www.mikeafford.com/images/store/tolkien-font-example-website.png" title="Tolkien Wordpress theme" width="535" height="706" /></a><p class="wp-caption-text">Tolkien Wordpress theme</p></div>
<p>The Wordpress theme makes heavy use of categories to organise the 400-odd entries, and has a neat &#8216;Random Item&#8217; widget that I made to pull a text link and the first thumbnail image from a random post. Anyway, I was quite pleased with the end result. It&#8217;s been a labour of love built in spare minutes snatched here and there over the last few months.</p>
<p>But I&#8217;m most pleased by the fact that I can now use any old font I like in Wordpress, subject of course to  EULAs and other <a href="http://www.fontembedding.com/fonts-and-the-law/" target="_blank">legal niceties</a>, or at least until the legal quagmire surrounding <strong>@font-face</strong>, font embedding and linking gets sorted out. </p>
]]></content:encoded>
			<wfw:commentRss>http://www.mikeafford.com/blog/2009/09/cufon-text-replacement-in-wordpress/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>geansaí gorm : the worst bit of SEO ever?</title>
		<link>http://www.mikeafford.com/blog/2008/11/geansai-gorm-the-worst-bit-of-seo-ever/</link>
		<comments>http://www.mikeafford.com/blog/2008/11/geansai-gorm-the-worst-bit-of-seo-ever/#comments</comments>
		<pubDate>Tue, 11 Nov 2008 19:52:00 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[SEO]]></category>
		<category><![CDATA[blogs]]></category>
		<category><![CDATA[geansaí gorm]]></category>
		<category><![CDATA[blue jumper]]></category>
		<category><![CDATA[google]]></category>

		<guid isPermaLink="false">http://www.mikeafford.com/blog/?p=67</guid>
		<description><![CDATA[I was slightly disappointing was to find that not only was my site NOT on the first page of Google, it wasn't actually anywhere on Google at all.]]></description>
			<content:encoded><![CDATA[<p>OK, here&#8217;s the background. <a href="http://www.mulley.net/2008/10/28/mirror-mirror-on-the-wall-whos-the-greatest-seo-of-them-all/" target="_blank">Damien Mulley </a>has set a challenge to get your site listed in first place on Google.ie for the search term &#8216;geansai gorm&#8217; (which means &#8216;blue jumper&#8217;).<br />
<span id="more-67"></span><br />
<img alt="" src="http://www.mikeafford.com/images/various/geansai-gorm-site.jpg" class="alignleft" width="215" height="173" /></p>
<p>Anyway, I decided to give it a shot today, in between getting the baby to the creche, doing some shopping, doing some proper work, and overseeing a bit of minor building work at home. I built a quick webpage, set up a subdomain on this site, blogged about it briefly on my other blog and even uploaded a shoddy video to YouTube. And when I eventually got back online this evening, I was ever so slightly disappointed to find that not only was my site NOT on the first page of Google, it wasn&#8217;t actually anywhere on Google at all. (Yes, I clicked all the way to the end).</p>
<p>Reckon I may have to rethink my strategy. Or maybe hope that there&#8217;s a prize for the WORST bit of search engine optimisation in Ireland.</p>
<p>Update:<br />
After a brief spell at around the 30 spot, the new &#8216;improved&#8217; WordPress powered site has disappeared completely. Either dark forces are at work, or I was a bit over-enthusiastic with the cross-linking (especially beween my own sites, all hosted by the same ISP. I&#8217;m not surprised I&#8217;m now in Google&#8217;s bad books!). I&#8217;m removing links now, but I&#8217;m thinking &#8216;horse, stable door&#8217;&#8230;</p>
<p><img alt="" src="http://www.mikeafford.com/images/various/geansai-gorm.gif" class="alignleft" width="215" height="68" />Update (2):<br />
Roll back the carpets grandma, it&#8217;s party time.<br />
My geansai gorm site has rocketed back up to page 2. It&#8217;s now the 16th result out of 71,000 odd. And that will do me just fine.</p>
<p><strong>Final update:</strong><br />
It&#8217;s all over. Congratulations to the winners (www.mybluejumper.com I think it was). And happy days to everyone who took part.</p>
<p>geansaigorm.mikeafford.com managed to reach 15th position (out of 112,000 results). Highest 11th, Lowest nowhere.</p>
<p>I&#8217;ve tried to hoover up most of my own mess, so with any luck this is the last remaining splurge of blue jumper related madness, on this site at least.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mikeafford.com/blog/2008/11/geansai-gorm-the-worst-bit-of-seo-ever/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>Step by Step WordPress customisation</title>
		<link>http://www.mikeafford.com/blog/2008/10/step-by-step-wordpress-customisation/</link>
		<comments>http://www.mikeafford.com/blog/2008/10/step-by-step-wordpress-customisation/#comments</comments>
		<pubDate>Tue, 28 Oct 2008 21:29:20 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[blogs]]></category>
		<category><![CDATA[technical]]></category>
		<category><![CDATA[blogging]]></category>
		<category><![CDATA[customising]]></category>
		<category><![CDATA[template]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.mikeafford.com/blog/?p=48</guid>
		<description><![CDATA[As promised &#8211; here&#8217;s a quick rundown of how I tweaked the default WordPress theme to match my own website. Pretty much everything was achieved by editing either the style.css or header.php files.
The changes to the basic proportions of the page were made by increasing the #page and #footer divs from 760 to 900pixels and [...]]]></description>
			<content:encoded><![CDATA[<p>As promised &#8211; here&#8217;s a quick rundown of how I tweaked the default WordPress theme to match my own website. Pretty much everything was achieved by editing either the style.css or header.php files.</p>
<p>The changes to the basic proportions of the page were made by increasing the #page and #footer divs from 760 to 900pixels and adjusting the right sidebar content to be 250px wide (to match my own &#8216;content_sub&#8217; div) and expanding the rest of the content to fill the gap.<span id="more-48"></span></p>
<p>Next I changed the basic colour scheme &#8211; or as much as I could using color values in the style sheet (text etc). I searched all the template files to see exactly where the background images appeared and then added my own versions (at the new widths) including a body background, a footer image that closes off the main grey box backround, and a new &#8216;topper&#8217; image that does the same at the top (this needed a new div &#8211; added to the header.php file).</p>
<p>I changed the header box to be left aligned and smaller and removed the top margin from &lt;h1&gt; tag (blog title).</p>
<p>Lastly, I put a new DIV into the header php code &#8211; this is where I place all my own header content.  I also moved the background image from the body (to stop it scrolling when the browser is resized) into my own header code.</p>
<p>The last few tweaks were mainly little cosmetic changes &#8211; a bit of margin/padding adjustment and a new background colour and border around the comment boxes. And that was pretty much it.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mikeafford.com/blog/2008/10/step-by-step-wordpress-customisation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Blogging For Business</title>
		<link>http://www.mikeafford.com/blog/2008/10/blogging-for-business/</link>
		<comments>http://www.mikeafford.com/blog/2008/10/blogging-for-business/#comments</comments>
		<pubDate>Tue, 28 Oct 2008 20:31:05 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[blogs]]></category>
		<category><![CDATA[blogging]]></category>
		<category><![CDATA[Leitrim County Enterprise Board]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.mikeafford.com/blog/?p=42</guid>
		<description><![CDATA[The week before last I went on a &#8216;Blogging For Business&#8217; course held at the Leitrim County Enterprise Board in Carrick-on-Shannon. It was a one-day course, but a lot of useful info was crammed in &#8211; WordPress, RSS feeds etc &#8211; I&#8217;d recommend it to anyone who maybe is just starting out setting up their [...]]]></description>
			<content:encoded><![CDATA[<p>The week before last I went on a &#8216;Blogging For Business&#8217; course held at the <a href="http://www.leitrimenterprise.ie/" target="_blank">Leitrim County Enterprise Board</a> in Carrick-on-Shannon. It was a one-day course, but a lot of useful info was crammed in &#8211; WordPress, RSS feeds etc &#8211; I&#8217;d recommend it to anyone who maybe is just starting out setting up their own business website, or is looking for new ways to drive traffic to an existing site &#8211; probably not so useful if you&#8217;ve been running your own blog successfully for while &#8211; but ideal for beginners.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mikeafford.com/blog/2008/10/blogging-for-business/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>My Customised Blog Theme</title>
		<link>http://www.mikeafford.com/blog/2008/10/my-customised-blog-theme/</link>
		<comments>http://www.mikeafford.com/blog/2008/10/my-customised-blog-theme/#comments</comments>
		<pubDate>Sat, 18 Oct 2008 09:30:12 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[blogs]]></category>
		<category><![CDATA[technical]]></category>
		<category><![CDATA[customising]]></category>
		<category><![CDATA[Leitrim County Enterprise Board]]></category>
		<category><![CDATA[themes]]></category>

		<guid isPermaLink="false">http://www.mikeafford.com/blog/?p=36</guid>
		<description><![CDATA[I&#8217;ve have made a few tweaks to the default WordPress theme &#8211; and well, it&#8217;s nearly there &#8211; as (hopefully) you can see from this page. I haven&#8217;t checked the layout integrity in many different browsers, and I expect there will be some strange things happening on sub-pages to this blog (for example &#8211; if [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve have made a few tweaks to the default WordPress theme &#8211; and well, it&#8217;s nearly there &#8211; as (hopefully) you can see from this page. I haven&#8217;t checked the layout integrity in many different browsers, and I expect there will be some strange things happening on sub-pages to this blog (for example &#8211; if any comments come in). And I&#8217;m also not sure what will happen if I start adding or editing widgets &#8211; but hey, it was my first effort and I think it has matched up with my main site design pretty well. There&#8217;s still plenty still to do &#8211; fiddle with the look of some of the links (particularly RSS related bits) and I haven&#8217;t really set up the sidebar yet.<span id="more-36"></span> And also I haven&#8217;t updated my main website to include links to this blog (!), but the main site is in the process of being overhauled/optimised, so it should happen soon enough. But in the meantime, be advised that if you click any of the navigation links at the top of this page, you&#8217;ll be away from the blog for good&#8230;</p>
<p>I made a few notes as I was tinkering with the CSS and PHP files &#8211; I will post at some point with a breakdown of what I did. But probably not today &#8211; it is the weekend after all.</p>
<p>I will also write a post soon on the excellent training day I had at the splendid <a href="http://www.leitrimenterprise.ie/" target="_blank">Leitrim Enterprise Board </a>presented by the equally excellent <a href="http://www.johnnybeirne.com/" target="_blank">Johnny Beirne</a></p>
<p>But I think I&#8217;m needed right now for shopping duties&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mikeafford.com/blog/2008/10/my-customised-blog-theme/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Tinkering with WordPress themes</title>
		<link>http://www.mikeafford.com/blog/2008/10/tinkering-with-wordpress-themes/</link>
		<comments>http://www.mikeafford.com/blog/2008/10/tinkering-with-wordpress-themes/#comments</comments>
		<pubDate>Fri, 17 Oct 2008 14:08:07 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[blogs]]></category>
		<category><![CDATA[technical]]></category>
		<category><![CDATA[blogging]]></category>
		<category><![CDATA[customising]]></category>
		<category><![CDATA[themes]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.mikeafford.com/blog/?p=32</guid>
		<description><![CDATA[OK, in order to work out how WordPress sites are put together, I&#8217;m going to have to put on my Graphic Design Geek hat. (Yes I have one of those. It&#8217;s a black beret, by the way.)
I&#8217;m intending to blog about the changes I&#8217;m making as I go along. There are two possible outcomes here [...]]]></description>
			<content:encoded><![CDATA[<p>OK, in order to work out how WordPress sites are put together, I&#8217;m going to have to put on my Graphic Design Geek hat. (Yes I have one of those. It&#8217;s a black beret, by the way.)</p>
<p>I&#8217;m intending to blog about the changes I&#8217;m making as I go along.<span id="more-32"></span> There are two possible outcomes here :</p>
<p><strong>1. This may serve as a useful resource for anyone else attempting to customise their own blog.</strong></p>
<p>or</p>
<p><strong>2. This will be a catalogue of disasters, showing how to mess things up royally.</strong></p>
<p>Obviously, I hope it&#8217;s not going to be (2) &#8211; but if by any chance you happen to be reading this and can spot disaster looming &#8211; please feel free to comment and point me back in the right direction!</p>
<p>As it stands, having spent about 2 minutes looking at the Design &gt; Theme Editor tab I&#8217;m thinking this is the way to go. I&#8217;ll make a complete copy of the themes/default directory on my hard drive just in case I mess anything up. If I do, I should be able to selectively replace either the messed up style sheet, image, or (god forbid) php file.</p>
<p>By the way, I&#8217;ve recently been working on optimising my main website. Currently I&#8217;ve only replaced a couple of pages, but I have managed to create a pretty well-formed HTML template, and a style sheet that seems to render it identically on most browsers (according to the excellent <a href="http://browsershots.org" target="_blank">Browsershots.org</a>). So I&#8217;m hoping that with a bit of sly CSS cut&#8217;n'pasting, I should be able to impose my style on the default WordPress template &#8211; which also uses a basic two-column layout like my main site. Anyway, here goes. I think maybe the first thing to do is to change pixel dimensions only, and leave fonts, colors and images until later.</p>
<p>I&#8217;ve a good few years&#8217; experience hand-coding HTML and CSS. I&#8217;ve got a pukka copy of the Adobe CS3 suite. I&#8217;ve got the O&#8217;Reilly book &#8216;Learning PHP &amp; MySQL&#8217; (I knew it might come in handy one day). I&#8217;ve got &#8216;The Convincer&#8217; by Nick Lowe on repeat.</p>
<p>What could possibly go wrong? <img src='http://www.mikeafford.com/blog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.mikeafford.com/blog/2008/10/tinkering-with-wordpress-themes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A quick word about WordPress permalinks</title>
		<link>http://www.mikeafford.com/blog/2008/10/a-quick-word-about-wordpress-permalinks/</link>
		<comments>http://www.mikeafford.com/blog/2008/10/a-quick-word-about-wordpress-permalinks/#comments</comments>
		<pubDate>Fri, 17 Oct 2008 13:16:06 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[blogs]]></category>
		<category><![CDATA[technical]]></category>
		<category><![CDATA[blogging]]></category>
		<category><![CDATA[installation]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.mikeafford.com/blog/?p=26</guid>
		<description><![CDATA[Here&#8217;s a thing. The default installation of WordPress I&#8217;ve just done is set up in such a way that the URL of each individual post is what they call &#8216;ugly&#8217; &#8211; it contains numbers and question marks, rather than containing the actual text from the title of your post. And apart from being &#8216;ugly&#8217;, these [...]]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s a thing. The default installation of WordPress I&#8217;ve just done is set up in such a way that the URL of each individual post is what they call &#8216;ugly&#8217; &#8211; it contains numbers and question marks, rather than containing the actual text from the title of your post. And apart from being &#8216;ugly&#8217;, these links are not particularly Search Engine friendly.<span id="more-26"></span></p>
<p>To fix this, I had to go to <strong>Settings</strong> and <strong>Permalinks</strong> to choose a new format for the post URL &#8211; there are a few ready-made formats to click and choose from &#8211; I decided to use the form</p>
<p><em> www.mikeafford.com/blog/$year/$month/$title_of_post</em></p>
<p>For this to work, I needed to add a <strong>.htaccess</strong> file to the main blog directory &#8211; rather strange that it wasn&#8217;t included in the installation. Anyway, with that in place, the new permalinks appeared immediately.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mikeafford.com/blog/2008/10/a-quick-word-about-wordpress-permalinks/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Image upload failure in WordPress</title>
		<link>http://www.mikeafford.com/blog/2008/10/image-upload-failure-in-wordpress/</link>
		<comments>http://www.mikeafford.com/blog/2008/10/image-upload-failure-in-wordpress/#comments</comments>
		<pubDate>Fri, 17 Oct 2008 12:54:19 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[blogs]]></category>
		<category><![CDATA[technical]]></category>
		<category><![CDATA[blogging]]></category>
		<category><![CDATA[image upload]]></category>
		<category><![CDATA[installation]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.mikeafford.com/blog/?p=18</guid>
		<description><![CDATA[OK, you may remember seeing a little image in my last (first) post. Well, getting that to appear wasn&#8217;t quite as straightforward as I&#8217;d hoped. When I first tried to upload an image from my computer, I got an error message:
failed to write to disk

So obviously something strange was happening at my servers end &#8211; [...]]]></description>
			<content:encoded><![CDATA[<p>OK, you may remember seeing a little image in my last (first) post. Well, getting that to appear wasn&#8217;t quite as straightforward as I&#8217;d hoped. When I first tried to upload an image from my computer, I got an error message:</p>
<p><em><strong>failed to write to disk</strong></em><br />
<span id="more-18"></span><br />
So obviously something strange was happening at my servers end &#8211; I initially thought it might be read/write permissions, but after a brief search on the WordPress forums, and another quick email to my hosting support, it turned out that I needed to set up a couple of customised php settings on my site. This might not be the case with every hosting provider, but I needed to go to my site control panel and click PHP settings and set the <span style="font-family: Verdana,Arial,Helvetica,sans-serif;">upload_tmp_dir to be /tmp . And also in my case I to actually create the /tmp directory itself (I guess up until now I didn&#8217;t really see the need to have one&#8230;)</span></p>
<p>But I wasn&#8217;t quite there yet. When I tried again, I got a brand new error</p>
<p><em><strong>Unable to create directory<br />
&#8230;&#8230;&#8230;&#8230;./blog/wp-content/uploads/2008/10. Is the parent directory writable by the server?</strong></em></p>
<p>Now that smelt even more like file permissions than the last time &#8211; and sure enough that&#8217;s what it was.</p>
<p>Another quick scout around WordPress.org and I saw that they do say &#8220;A default WordPress installation comes with permissions settings for its files and folders (i.e. directories) that can be regarded as very secure.&#8221; I should say so. Particularly having a content folder into which you can&#8217;t actually place your content.</p>
<p>But they do give comprehensive instructions on how to change various permissions to get things working more smoothly. See <a href="http://codex.wordpress.org/Changing_File_Permissions" target="_blank">Changing File Permissions</a> for more information on this.</p>
<p>It&#8217;s also worth looking at <a href="http://codex.wordpress.org/htaccess_for_subdirectories" target="_blank">htaccess for subdirectories</a> which explains how to put back some of the security on folders that you&#8217;ve allowed more write access to &#8211; for example, restricting uploads of only image files (JPG, GIF, PNG) to that /tmp directory.</p>
<p>OK, with that all sorted, I&#8217;m fast approaching the time for customisation. Although the default template is sweet enough, I want to get my sticky paws on the HTML and CSS..</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mikeafford.com/blog/2008/10/image-upload-failure-in-wordpress/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Installing WordPress on your own site</title>
		<link>http://www.mikeafford.com/blog/2008/10/hello-world/</link>
		<comments>http://www.mikeafford.com/blog/2008/10/hello-world/#comments</comments>
		<pubDate>Fri, 17 Oct 2008 09:37:51 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[blogs]]></category>
		<category><![CDATA[technical]]></category>
		<category><![CDATA[blogging]]></category>
		<category><![CDATA[installation]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.mikeafford.com/blog/?p=1</guid>
		<description><![CDATA[I thought it might be useful to document the process of setting up this blog on my site as I went along.
Step 1: I found this page on WordPress.org which details the procedure for installing WordPress on your own site (this assumes that you have your own domain, and FTP access to upload all of [...]]]></description>
			<content:encoded><![CDATA[<p>I thought it might be useful to document the process of setting up this blog on my site as I went along.</p>
<p><strong>Step 1:</strong> I found <a title="Installing WordPress" href="http://codex.wordpress.org/Installing_WordPress" target="_blank">this page on WordPress.org</a> which details the procedure for installing WordPress on your own site (this assumes that you have your own domain, and FTP access to upload all of the WordPress files to your own site). Now, being a graphic designer, and itching to get on with the task of customising the page to make it look all arty and such, it&#8217;s fair to say that I only read the instructions briefly, so this might all end in disaster, but here goes&#8230;<span id="more-1"></span></p>
<p><strong>Step 2:</strong> I downloaded WordPress 2.6.2 to my local machine (I&#8217;m using one of my Macs &#8211; a Dual 2 GHz PowerPC G5 &#8211; OSX v10.4.10) and unzipped the file.</p>
<p><strong>Step 3:</strong> Using the control panel on my website supplied by my hosting company, I added a mySQL database &#8211; as this was the first database I&#8217;d added, all I had to do was select &#8216;default&#8217; and there it was. Surprisingly easy so far. From reading the WordPress documentation I wondered if I needed to have a database called &#8216;wordpress&#8217;, but it seemed not so &#8211; I checked this by emailing my hosting support who replied within minutes (hats off to Mark at <a title="Supanames Web Hosting" href="http://www.supanames.co.uk/" target="_blank">Supanames</a>). The name of the database doesn&#8217;t matter, provided you enter it correctly in the wordpress config file (see Step 4 below).</p>
<p><strong>Step 4:</strong> Now this bit I&#8217;m guessing wouldn&#8217;t be for the faint-hearted, but if you&#8217;re happy editing files that have lots of $&#8217;s and /&#8217;s and other gobbledegook in them then it&#8217;s quite straightforward. In the unzipped WordPress files you&#8217;ll find one called <strong>wp-config-sample.php</strong> &#8211; you need to edit this to include the name of your mySQL database, and your username and password. Also you need to set 3 secret keys &#8211; but instructions on what to do are included in the file itself. Once you&#8217;ve finished this, save the file as <strong>wp-config.php</strong> in the same folder where you found the original (wp-config-sample.php) file.</p>
<p><strong>Step 5:</strong> I created a directory on my site called &#8216;blog&#8217; in the top directory &#8211; so my blog should hopefully appear at <a href="http://www.mikeafford.com/blog/">www.mikeafford.com/blog</a> . Then I FTP-ed the entire contents of the wordpress folder on my local machine into the &#8216;blog&#8217; folder on the remote server. Another way of doing this would have been to rename the &#8216;wordpress&#8217; folder to &#8216;blog&#8217; and uploaded the folder itself to the top directory on your server (assuming you don&#8217;t already have one called &#8216;blog&#8217; there already. Naturally enough.)</p>
<div id="attachment_14" class="wp-caption alignright" style="width: 160px"><a href="http://www.mikeafford.com/blog/wp-content/uploads/2008/10/wp-mmm-grab0012.jpg"><img class="size-thumbnail wp-image-14" title="first_look" src="http://www.mikeafford.com/blog/wp-content/uploads/2008/10/wp-mmm-grab0012-150x150.jpg" alt="Success!" width="150" height="150" /></a><p class="wp-caption-text">Success!</p></div>
<p><strong>Step 6:</strong> In my browser I typed in the URL of my blog (mikeafford.com/blog) and there was the WordPress set-up page all ready for me to enter a title for the blog and my email address. With that completed, moments later the bog-standard blog appeared&#8230;</p>
<p>At this point my wife walked in and I proudly showed her my new blog. &#8220;That looks really good&#8221; she said.</p>
<p>I wonder if she&#8217;ll say the same after I&#8217;ve fiddled with the design&#8230;</p>
<p>Right now I&#8217;m having a few issues with uploading images, which may well be the subject of my next post.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mikeafford.com/blog/2008/10/hello-world/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

