<?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; wordpress</title>
	<atom:link href="http://www.mikeafford.com/blog/tag/wordpress/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>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>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>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>

