<?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>Darfuria</title>
	<atom:link href="http://www.darfuria.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.darfuria.com</link>
	<description>WordPress Website Development</description>
	<lastBuildDate>Thu, 18 Feb 2010 04:27:07 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Two Websites Re-launched</title>
		<link>http://www.darfuria.com/blog/two-websites-re-launched/</link>
		<comments>http://www.darfuria.com/blog/two-websites-re-launched/#comments</comments>
		<pubDate>Thu, 18 Feb 2010 04:13:10 +0000</pubDate>
		<dc:creator>Darfuria</dc:creator>
				<category><![CDATA[Blog]]></category>

		<guid isPermaLink="false">http://www.darfuria.com/?p=784</guid>
		<description><![CDATA[There comes a time when a website needs re-designing or re-developing, just to meet the latest trends of webdesign, or to better fit the needs of the client.
I have re-launched two websites this week, the first being Emily&#8217;s Portraits, which belongs to my friend Emily. She is a great portrait artist, and works to an [...]]]></description>
			<content:encoded><![CDATA[<p>There comes a time when a website needs re-designing or re-developing, just to meet the latest trends of webdesign, or to better fit the needs of the client.</p>
<p>I have re-launched two websites this week, the first being <a href="http://www.darfuria.com/portfolio/emilys-portraits/">Emily&#8217;s Portraits</a>, which belongs to my friend Emily. She is a great portrait artist, and works to an unbelievably low fee, hand-drawing portraits from a photograph that you provide her with.</p>
<p>The other website I have re-launched is <a href="http://www.darfuria.com/portfolio/wud-records/">Wud Records</a>, which is my Dad&#8217;s. That website went from being an archive of information about Wud Records to becoming a project that required a more professional design and an online store.</p>
<p>Both of the re-designs are live right now, so check them out.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.darfuria.com/blog/two-websites-re-launched/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Darfuria Relaunched</title>
		<link>http://www.darfuria.com/blog/darfuria-relaunched/</link>
		<comments>http://www.darfuria.com/blog/darfuria-relaunched/#comments</comments>
		<pubDate>Thu, 11 Feb 2010 21:14:52 +0000</pubDate>
		<dc:creator>Darfuria</dc:creator>
				<category><![CDATA[Blog]]></category>

		<guid isPermaLink="false">http://www.darfuria.com/?p=765</guid>
		<description><![CDATA[Hello everybody, and welcome back to those of you who are still, for some peculiar reason, checking my website. It was down for a period of time due to the fact I left my position as web developer with Rokk Media in November, and decided to test the world of self-employment, and therefore I needed [...]]]></description>
			<content:encoded><![CDATA[<p>Hello everybody, and welcome back to those of you who are still, for some peculiar reason, checking my website. It was down for a period of time due to the fact I left my position as web developer with Rokk Media in November, and decided to test the world of self-employment, and therefore I needed a page to show potential clients &#8211; rather than just a collection of my whinging blog posts. My old blog was actually still available, but I only updated it a couple of times, so you didn&#8217;t miss much.</p>
<p>You&#8217;ll notice that all of my old blog posts have been moved to a category labeled &#8220;Archive&#8221;. I may sort through them at some point and categorise them better, but for now they are marking a cut off point, as this is the new me! I plan to continue blogging in much the same manner as I was before. I have nothing to hide from anybody. However, the main outlet for this website is now going to be my website development work, which as you can see, since November, I have been doing a fair amount of.</p>
<p>I&#8217;m very busy at the moment managing <a href="http://www.monkeylord.co.uk">Monkey Lord</a>, and managing <a href="http://www.youtube.com/user/robchappers">Rob Chappers</a> himself, but once things have calmed down a bit, I&#8217;m hoping to do a regular blog post, as well as a regular YouTube video.</p>
<p>Anyway &#8211; I hope you are all very well, and have been taking care of yourselves. If you know anybody who wants a website, you know where to send them, right?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.darfuria.com/blog/darfuria-relaunched/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>WordPress &#8220;logged in as&#8221; Avatar</title>
		<link>http://www.darfuria.com/archive/wordpress-logged-in-as-avatar/</link>
		<comments>http://www.darfuria.com/archive/wordpress-logged-in-as-avatar/#comments</comments>
		<pubDate>Mon, 09 Nov 2009 06:01:12 +0000</pubDate>
		<dc:creator>Darfuria</dc:creator>
				<category><![CDATA[Archive]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.wordpress.darfuria.com/?p=682</guid>
		<description><![CDATA[I&#8217;ve recently made a couple of membership websites in WordPress, which has been an experience, to say the least.
A popular feature of a typical website that allows you to login, is to have a &#8220;you are logged in as:&#8221; box, that displays your avatar, username, and often a link to edit your profile. Naturally I&#8217;ve [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve recently made a couple of membership websites in WordPress, which has been an experience, to say the least.</p>
<p>A popular feature of a typical website that allows you to login, is to have a &#8220;you are logged in as:&#8221; box, that displays your avatar, username, and often a link to edit your profile. Naturally I&#8217;ve been trying to replicate this functionality on one of the websites I am building. It came as a surprise that there is very little native avatar support in WordPress, which I think is a bit silly considering it is essentially a blogging platform that has escaped and run wild. Never the less, as is usually the case with WordPress, a bit of careful prodding reveals that there are ways around such things.</p>
<p>Now, I&#8217;ve not bothered to look into using a third party avatar plugin for this &#8211; I&#8217;m just going to stick with using the default Gravatar or get over it option.</p>
<p>So, to begin with, to get a user&#8217;s avatar outside of The_Loop, we need to refer to a global variable. Global variables are used for a number of reasons &#8211; backwards compatibility being one of the main ones, and these variables shouldn&#8217;t be over-used. They are, however, essential for this. The global variable we use will allow us to get information from the set_current_user function. Obviously if a user isn&#8217;t logged in, then the avatar will have to fall back on a default image, or you could write your code in such a way that the avatar is only displayed if a user is logged in.</p>
<p>So, with no wrapping code, this is how you display a user&#8217;s avatar, if a user is logged in:</p>
<p><code><br />
&lt; ?php global $user_email ?&gt;<br />
&lt; ?php echo get_avatar($user_email, '50'); ?&gt;<br />
</code></p>
<p>I was going to post a whole thing about writing a &#8220;logged in as&#8221; box, but I was having a problem with code being parsed, despite me asking the WYSIWYG not to parse code&#8230; Oh well.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.darfuria.com/archive/wordpress-logged-in-as-avatar/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Science-Fictions</title>
		<link>http://www.darfuria.com/archive/science-fictions/</link>
		<comments>http://www.darfuria.com/archive/science-fictions/#comments</comments>
		<pubDate>Tue, 29 Sep 2009 20:41:42 +0000</pubDate>
		<dc:creator>Darfuria</dc:creator>
				<category><![CDATA[Archive]]></category>
		<category><![CDATA[review]]></category>
		<category><![CDATA[website]]></category>

		<guid isPermaLink="false">http://www.wordpress.darfuria.com/?p=669</guid>
		<description><![CDATA[John Elliot, the guy who introduced me into the scary world of web development has recently developed Science-Fictions &#8211; a website devoted to science fiction literature, utilising the Amazon web services. Being a huge fan of sci-fi books, I had to run and take a look (and of course, all of my favourite authors were [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.flipflops.org">John Elliot</a>, the guy who introduced me into the scary world of web development has recently developed <a href="http://www.science-fictions.co.uk/" target="_blank">Science-Fictions</a> &#8211; a website devoted to science fiction literature, utilising the Amazon web services. Being a huge fan of sci-fi books, I had to run and take a look (and of course, all of my favourite authors were there).</p>
<p>The design of the website is very true to the genre, which is quite aesthetically pleasing. It&#8217;s nice and quick, too, and easy to navigate. Whether the prices are direct from Amazon&#8217;s catalogue, or if they&#8217;re at a slightly discounted price because they&#8217;re on a website using Amazon web services, I don&#8217;t know &#8211; but they seem very fair either way. There&#8217;s an abundance of books available (as one would hope), too &#8211; which are browse-able by author, alongside literature being featured on the homepage.</p>
<p>The website has only just launched, so a review is to be had of the functionality, and no doubt several features will be integrated as time passes. For now though &#8211; go and check out Science-Fictions for all of your <a href="http://www.science-fictions.co.uk/">science fiction books</a>, make some suggestions and maybe even sit down with a book. You know, like you used to&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.darfuria.com/archive/science-fictions/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Thank you Seagate/Overclockers</title>
		<link>http://www.darfuria.com/archive/thank-you-seagateoverclockers/</link>
		<comments>http://www.darfuria.com/archive/thank-you-seagateoverclockers/#comments</comments>
		<pubDate>Tue, 29 Sep 2009 20:26:25 +0000</pubDate>
		<dc:creator>Darfuria</dc:creator>
				<category><![CDATA[Archive]]></category>

		<guid isPermaLink="false">http://www.wordpress.darfuria.com/?p=667</guid>
		<description><![CDATA[A little while ago I bought a 500GB Seagate hard drive from Overclockers, to stick in an external hard drive enclosure, to give to my Granddad for his Birthday. Unfortunately the hard drive turned out to be faulty, so I opened an RMA request with Seagate. However their requirements for the return of the drive [...]]]></description>
			<content:encoded><![CDATA[<p>A little while ago I bought a 500GB Seagate hard drive from Overclockers, to stick in an external hard drive enclosure, to give to my Granddad for his Birthday. Unfortunately the hard drive turned out to be faulty, so I opened an RMA request with Seagate. However their requirements for the return of the drive were ludicrous! I needed to ensure I had a certain amount of padding around the hard drive and that the RMA number was printed in a certain colour in various positions of my otherwise plain box. Eventually I decided to return the hard drive to Overclockers, and completely forgot about my RMA request with Seagate.</p>
<p>There was a brief delay, in which time I bought another hard drive to give to my Granddad in replacement (which was delivered within 48h), as I needed another hard drive anyway, so would just have the repaired/replaced one when it was returned. After a couple of weeks, Overclockers identified that the drive was indeed faulty and sent me a replacement, which arrived and worked fine &#8211; and I&#8217;m now using it.</p>
<p>I got home on Friday to find a slip from DHL, stating that I had missed a parcel, and that I had to go and collect it from them on the other side of the city. I had no idea what this parcel was, as everything I had ordered recently had already been delivered. So, today I went across town to DHL and collected my parcel, and discovered it was another 500GB hard drive from Seagate. What I thought had happened was confirmed by the e-mail I had received by the time I got home to check. It was an e-mail from Seagate stating that DHL were unable to deliver my 500GB hard drive and that they wanted to confirm my address. I replied to the e-mail saying that I had been to collect the drive already, but the reseller had already replaced my hard drive for me. Seagate came back to me and said that the reseller must have returned the faulty drive to them, hence me getting an RMA replacement. They didn&#8217;t say anything about me getting a free drive, so I left it at that.</p>
<p>Clearly one doesn&#8217;t have to follow the RMA guidelines at all &#8211; and one should open an RMA request with the manufacturer before they return something to their reseller, so that they can get free stuff!</p>
<p>So, thank you Seagate/Overclockers!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.darfuria.com/archive/thank-you-seagateoverclockers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>I push my fingers into my eyes</title>
		<link>http://www.darfuria.com/archive/i-push-my-fingers-into-my-eyes/</link>
		<comments>http://www.darfuria.com/archive/i-push-my-fingers-into-my-eyes/#comments</comments>
		<pubDate>Mon, 21 Sep 2009 19:04:16 +0000</pubDate>
		<dc:creator>Darfuria</dc:creator>
				<category><![CDATA[Archive]]></category>

		<guid isPermaLink="false">http://www.wordpress.darfuria.com/?p=658</guid>
		<description><![CDATA[I feel a spark away from explosion at this very second, and I&#8217;m not very sure how to deal with it. I&#8217;m perfectly capable of repressing it, but that&#8217;s perhaps not want I want to do. A lot of people claim that violent or sexual acts relieve stress and anger &#8211; and, as much as [...]]]></description>
			<content:encoded><![CDATA[<p>I feel a spark away from explosion at this very second, and I&#8217;m not very sure how to deal with it. I&#8217;m perfectly capable of repressing it, but that&#8217;s perhaps not want I want to do. A lot of people claim that violent or sexual acts relieve stress and anger &#8211; and, as much as I feel like stabbing the next person who gets on the bus complaining about how long the bus took to arrive whilst simultaneously trying to find their money in the head, I don&#8217;t tend to approve of violence; and I can&#8217;t say any form of sexual (fuck, what&#8217;s that word? Oh, you think of it) has ever helped relieve stress&#8230;</p>
<p>I&#8217;m not going to go into details about why I&#8217;m stressed, because this isn&#8217;t a diary, but a fair few things have contributed in the past few days &#8211; the last being a piece of work which was supposed to be a 10 minute job taking a ridiculous amount of time because of the way the piece of work had to be finished, and my computer then going absolutely crazy for no understandable reason. This caused me to leave the piece of work that I was working on before I took on the 10 minute piece of work unfinished, storming out of the office at 7pm (I was 30 minutes late this morning so expected to be leaving at 6) with a nosebleed &#8211; whether that&#8217;s related to how angry I felt, I don&#8217;t know.</p>
<p>I&#8217;ve had issues with my shoulders for 5 years or so now. They ache and hurt, lots. The issue used to be intermittent, and used to disappear when I applied pressure to my shoulders, but now it is almost constant agony &#8211; and despite my constant exercises and stretches that I do as directed by my physiotherapist, the issue doesn&#8217;t seem to be going away. This evening they&#8217;re hurting more than they normally do. I&#8217;ve never understood how an emotion could cause a muscle to hurt more, but the stress certainly seems to have made my shoulders worse. How one stores stress in their shoulders, I don&#8217;t know.</p>
<p>How does one relieve stress? I don&#8217;t really fancy getting into an aggressive sport or anything. And I&#8217;m somewhat unable to liberate myself from the 9-5 that dominates my every weekday. I rather wish I could just play this song, very loudly, in a thunderstorm.</p>
<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="425" height="344" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://www.youtube.com/v/noIdhI4iBnU&amp;hl=en&amp;fs=1&amp;" /><param name="allowfullscreen" value="true" /><embed type="application/x-shockwave-flash" width="425" height="344" src="http://www.youtube.com/v/noIdhI4iBnU&amp;hl=en&amp;fs=1&amp;" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
<p>I love that song. I&#8217;m not sure why I love it. The lyrics don&#8217;t really hold any relevance to how I&#8217;m feeling. I suppose the combination of (reasonably) light and heavy music works for me a lot in this track. I appreciate it&#8217;s probably not the best song to listen to when you are angry though &#8211; which is why I&#8217;m listening to Massive Attack, which, ironically, sounds much worse. I did have to listen to Drowning Pool on the way home, though&#8230;</p>
<p>On a completely different note, I have recently resubscribed to World of Warcraft. One reason for doing this was because one of Amy&#8217;s friends plays, and I fancied helping her out a bit. Another reason is because they&#8217;re releasing a new expansion pack for it soon, which is going to completely change how all of the old content looks. I suppose it&#8217;s an odd concept to appreciate unless you&#8217;ve had first-hand experience, and I suppose it sounds a bit like something that would invoke an &#8220;Oh dear&#8230;&#8221; from a reader &#8211; but I wanted to go back and appreciate all of the stuff I appreciated 3/4 years ago when I did devote a lot of my time to it, before it is changed for good. I have too many other things going on with my life to spend any considerable amount of time playing it &#8211; but it was very nice when I logged in to one of my old characters and got a whole bunch of &#8220;OH MY GOD IT&#8217;S YOU!&#8221; messages, from people I&#8217;ve not spoken to in a long time.</p>
<p>I have a lot of aspirations and irritations right now, and I think I need to find a way of devoting myself to some more rewarding short-term goals so that I feel like I&#8217;m progressing towards something better than what ever I&#8217;m doing now. My dreams of being self-sufficient and thus having a sleeping pattern that works for me are never going to come true unless I work for them. It&#8217;s just hard to know where to go.</p>
<p>I still feel like I&#8217;m going to explode.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.darfuria.com/archive/i-push-my-fingers-into-my-eyes/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Cross-Browser min-height</title>
		<link>http://www.darfuria.com/archive/cross-browser-min-height/</link>
		<comments>http://www.darfuria.com/archive/cross-browser-min-height/#comments</comments>
		<pubDate>Wed, 12 Aug 2009 15:24:32 +0000</pubDate>
		<dc:creator>Darfuria</dc:creator>
				<category><![CDATA[Archive]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[IE]]></category>

		<guid isPermaLink="false">http://www.wordpress.darfuria.com/?p=651</guid>
		<description><![CDATA[Oh yay! Another one!
min-height: 500px;
height: auto !important;
height: 500px;
What?
]]></description>
			<content:encoded><![CDATA[<p>Oh yay! Another one!</p>
<p><code>min-height: 500px;<br />
height: auto !important;<br />
height: 500px;</code></p>
<p>What?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.darfuria.com/archive/cross-browser-min-height/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>IE7 z-index</title>
		<link>http://www.darfuria.com/archive/ie7-z-index/</link>
		<comments>http://www.darfuria.com/archive/ie7-z-index/#comments</comments>
		<pubDate>Wed, 12 Aug 2009 15:14:16 +0000</pubDate>
		<dc:creator>Darfuria</dc:creator>
				<category><![CDATA[Archive]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[IE7]]></category>

		<guid isPermaLink="false">http://www.wordpress.darfuria.com/?p=648</guid>
		<description><![CDATA[My blog has become more of a resource for programming niggles I encounter during my working day, so if you do bother reading, sorry about that (unless it&#8217;s useful to you, in which case say thank you, you inconsiderate such and such).
Playing with IE7 and a drop-down navigation which had a bit of a crisis [...]]]></description>
			<content:encoded><![CDATA[<p>My blog has become more of a resource for programming niggles I encounter during my working day, so if you do bother reading, sorry about that (unless it&#8217;s useful to you, in which case say thank you, you inconsiderate such and such).</p>
<p>Playing with IE7 and a drop-down navigation which had a bit of a crisis when it tried to overlay the image slideshow underneath it. Giving the drop-down a high z-index, and the slideshow a z-index of -1 in my IE7.css seemed to fix the issue.</p>
<p>On another note, the default theme rocks (in opposite land) &#8211; so back to it, for now.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.darfuria.com/archive/ie7-z-index/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress Post Image With Default</title>
		<link>http://www.darfuria.com/archive/wordpress-post-image-with-default/</link>
		<comments>http://www.darfuria.com/archive/wordpress-post-image-with-default/#comments</comments>
		<pubDate>Tue, 11 Aug 2009 17:52:58 +0000</pubDate>
		<dc:creator>Darfuria</dc:creator>
				<category><![CDATA[Archive]]></category>
		<category><![CDATA[Custom Fields]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.wordpress.darfuria.com/?p=646</guid>
		<description><![CDATA[
< ?php if (post_custom('page_image')) { ?>
]]></description>
			<content:encoded><![CDATA[<p><code><br />
< ?php if (post_custom('page_image')) { ?><br />
<img src="<?php echo get_post_meta($post-/>ID, 'page_image', true); ?>" height="" width="" /><br />
< ?php } else { ?><br />
<img src="link-to-default-image.jpg" height="" width="" /><br />
< ?php } ?><br />
</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.darfuria.com/archive/wordpress-post-image-with-default/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress Get Root Page ID</title>
		<link>http://www.darfuria.com/archive/wordpress-get-root-page-id/</link>
		<comments>http://www.darfuria.com/archive/wordpress-get-root-page-id/#comments</comments>
		<pubDate>Tue, 21 Jul 2009 21:39:05 +0000</pubDate>
		<dc:creator>Darfuria</dc:creator>
				<category><![CDATA[Archive]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[wordpress codex]]></category>

		<guid isPermaLink="false">http://www.wordpress.darfuria.com/?p=644</guid>
		<description><![CDATA[function get_root_parent($page_id) {
global $wpdb;
$parent = $wpdb-&#62;get_var("
SELECT post_parent
FROM $wpdb-&#62;posts
WHERE post_type='page'
AND ID = '$page_id'");
if ($parent == 0) return $page_id;
else return get_root_parent($parent);
}
]]></description>
			<content:encoded><![CDATA[<pre><code>function get_root_parent($page_id) {
global $wpdb;
$parent = $wpdb-&gt;get_var("
SELECT post_parent
FROM $wpdb-&gt;posts
WHERE post_type='page'
AND ID = '$page_id'");
if ($parent == 0) return $page_id;
else return get_root_parent($parent);
}</code></pre>
]]></content:encoded>
			<wfw:commentRss>http://www.darfuria.com/archive/wordpress-get-root-page-id/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
