<?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>David Churchill - Web Design Extraordinaire</title>
	<atom:link href="http://www.dcportfolio.co.uk/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.dcportfolio.co.uk</link>
	<description>Web Design Portfolio of David Churchill, Front End Developer based in Liverpool. UK.</description>
	<lastBuildDate>Fri, 08 Jun 2012 23:10:44 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5</generator>
		<item>
		<title>Limit the manual excerpt in WordPress</title>
		<link>http://www.dcportfolio.co.uk/blog/2012/03/09/limit-the-manual-excerpt-in-wordpress/</link>
		<comments>http://www.dcportfolio.co.uk/blog/2012/03/09/limit-the-manual-excerpt-in-wordpress/#comments</comments>
		<pubDate>Fri, 09 Mar 2012 01:01:55 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Web Design]]></category>

		<guid isPermaLink="false">http://www.dcportfolio.co.uk/?p=283</guid>
		<description><![CDATA[Recently I was working on a project where I needed to use the wordpress post/page manual excerpt and truncate it. I figured this would be easy, so tried using the following from the codex&#8230; function...]]></description>
				<content:encoded><![CDATA[<p>Recently I was working on a project where I needed to use the wordpress post/page manual excerpt and truncate it. I figured this would be easy, so tried using the following from the <a href="http://codex.wordpress.org/Plugin_API/Filter_Reference/excerpt_length" target="_blank">codex&#8230;</a></p>
<p><code>function custom_excerpt_length( $length ) {<br />
return 20;<br />
}<br />
add_filter( 'excerpt_length', 'custom_excerpt_length', 999 );</code></p>
<p>Once I’d put this in my functions.php file I reloaded the site and what did I see…</p>
<p>Nothing, it didn’t truncate the text, why didn’t it work?</p>
<p>Well after some googling I found out that you can only truncate the auto generated excerpt which is created when you call &#8216;the_excerpt()’.</p>
<p>I really needed this functionality, so I created this simple snippet you can put in your functions file to truncate the manual excerpt or anything you can echo (just incase).</p>
<p>In this example I’ve added the excerpt to my pages post type, but you can easily do this to regular posts too.</p>
<p><strong>First just add this to your functions.php</strong></p>
<p><code>// This add the excerpt widget to your pages in the admin area<br />
add_action( 'init', 'add_excerpts_to_pages' );<br />
function add_excerpts_to_pages() {<br />
add_post_type_support( 'page', 'excerpt' );<br />
}<br />
// This creates the function for truncating<br />
// $string = the echoed text you’d like to truncate i.e. the_excerpt()<br />
function limit_excerpt($string, $word_limit) {<br />
$words = explode(' ', $string, ($word_limit + 1));<br />
if(count($words) &gt; $word_limit)<br />
array_pop($words);<br />
return implode(' ', $words);<br />
}</code></p>
<p><strong>Then just add this to your page.php</strong></p>
<p><code>// this displays the excerpts first 15 words and then an ellipses<br />
echo limit_excerpt($excerpt,15) . "…\r\n";</code></p>
<p>Pretty simple, but really handy, You can also use this to truncate the_content() too, just replace $excerpt with $content.</p>
<p>Let me know what you think, and if you have any ideas for improvements in the comments.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.dcportfolio.co.uk/blog/2012/03/09/limit-the-manual-excerpt-in-wordpress/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>What will be the impact of Adobe’s switch from Flash to HTML5?</title>
		<link>http://www.dcportfolio.co.uk/blog/2011/11/30/what-will-be-the-impact-of-adobe%e2%80%99s-switch-from-flash-to-html5/</link>
		<comments>http://www.dcportfolio.co.uk/blog/2011/11/30/what-will-be-the-impact-of-adobe%e2%80%99s-switch-from-flash-to-html5/#comments</comments>
		<pubDate>Wed, 30 Nov 2011 21:37:46 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Web Design]]></category>

		<guid isPermaLink="false">http://www.dcportfolio.co.uk/?p=255</guid>
		<description><![CDATA[There&#8217;s a lot of talk online at the moment regarding Adobe&#8217;s decision to scrap production on a mobile version of Flash, and switch focus to HTML5 from here on out. Back in April 2010, following...]]></description>
				<content:encoded><![CDATA[<p>There&#8217;s a lot of talk online at the moment regarding Adobe&#8217;s decision to scrap production on a mobile version of Flash, and switch focus to HTML5 from here on out.</p>
<p>Back in April 2010, following criticism from the late Steve Jobs, Adobe resolutely stood by its Flash mobile plug-in, suggesting it would &#8220;continue to be the dominant tool&#8221; for media across the internet. Just over 18 months later and Adobe has had a change of heart, <a target="_blank" title="Adobe blog post" href="http://blogs.adobe.com/conversations/2011/11/flash-focus.html" target="_blank">commenting via its blog</a> that HTML5 is the &#8220;best solution for creating and deploying content in the browser across mobile platforms&#8221;.</p>
<p>It&#8217;s hardly surprising given that HTML is universally supported across major mobile devices and, in the case of Apple&#8217;s iPad and iPod, exclusively so.</p>
<h2>Resource hog</h2>
<p>Having experienced working with both flash, and more recently, HTML5 as a front end developer, I can&#8217;t think of a single reason why Flash will be required any longer, especially in the mobile domain.</p>
<p>For starters, Flash has always been a resource hog. In order to process a Flash movie, for example, a user&#8217;s CPU/GPU has to do a variety of vector calculations and more besides (all the while eating up memory and slowing down the user&#8217;s system). The pay-off, of course, was that users got pretty graphics, nice animation and good support for audio/video.</p>
<p>To some degree with HTML5/CSS3 it&#8217;s now possible to reproduce these graphics and animations, and some would argue it offers even stronger audio/video capabilities; all in a much more controlled approach by the browser (i.e. less processor intensive).</p>
<p>So why not let the browser and HTML5 do the work natively, rather than through a third-party plug-in?</p>
<h2>HTML5 support</h2>
<p>As IDC analyst Al Hilwa also pointed out&#8230; “&#8230;HTML5 is coming on strong as a standard, accelerated by the speed of change of hardware devices. By 2013 we will reach a point where 90% of smartphones and tablets will sport HTML5 capable browsers.”</p>
<p>So as we can see, with HTML5 so well supported already (iPhone, Android, Blackberry) and the support only increasing, why continue using Flash?</p>
<p>“But what about my flash games?” I hear you (and many of the Rippleffect team) cry. Well, following this announcement from Adobe, it can only be a matter of time before we start to see everyone&#8217;s favourite games popping up in every major platforms app store, as well as the now inevitable HTML5 versions.</p>
<h2>Desktop accessibility</h2>
<p>More important, however, is accessibility on the desktop; and I think this is where flash will be disappearing from next.</p>
<p>Flash worked wonders for clients who wanted slick-looking websites all the way back to its first version. But it has always had a major flaw: its lack of accessibility.</p>
<p>As our understanding of web standards and users&#8217; needs have grown, so too has the demand for accessible sites. Businesses want to reach as many people as possible with their message, but have to compromise on the design due to Flash&#8217;s lack of accessibility.</p>
<p>HTML5 gives us the tools to create the sites clients have always wanted; a website that is compliant with the World Wide Web Consortium&#8217;s AAA standard for accessibility, but which also looks amazing.</p>
<p>Digital agencies and businesses should be embracing HTML5 with open arms.</p>
<p><em>I originally wrote this for the rippleffect.com&#8217;s blog (bear in mind this was heavily edited to make me sound like I know what i&#8217;m talking about)</em></p>
]]></content:encoded>
			<wfw:commentRss>http://www.dcportfolio.co.uk/blog/2011/11/30/what-will-be-the-impact-of-adobe%e2%80%99s-switch-from-flash-to-html5/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Neil Campbell Live!</title>
		<link>http://www.dcportfolio.co.uk/blog/2010/09/21/neil-campbell-live/</link>
		<comments>http://www.dcportfolio.co.uk/blog/2010/09/21/neil-campbell-live/#comments</comments>
		<pubDate>Tue, 21 Sep 2010 13:05:30 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Gigs]]></category>

		<guid isPermaLink="false">http://www.dcportfolio.co.uk/?p=240</guid>
		<description><![CDATA[At 8pm on Friday 2nd July 2010, Neil Campbell and Perri Alleyne-Hughes will be performing an intimate concert of their new music at the beautiful new Hope Theatre (part of Liverpool Hope University’s new Creative...]]></description>
				<content:encoded><![CDATA[<p>At 8pm on Friday 2nd July 2010, Neil Campbell and Perri Alleyne-Hughes will be performing an intimate concert of their new music at the beautiful new Hope Theatre (part of Liverpool Hope University’s new Creative Campus) on Shaw Street, Liverpool. As part of the programme Neil will also be playing a set of some of his original music for solo guitar.</p>
<p>I implore anyone interested in music, whatever the genre, to come and see Neil live. Its an experience not to be missed!</p>
<p>Tickets are £8 (£6 concessions) and are available at the venue on the door<br />
please <a href="http://www.multimap.com/maps/?qs=L3+8QB&amp;countryCode=GB#map=53.41245,-2.96931|16|4&amp;bd=useful_information&amp;loc=GB:53.41246:-2.96933:16|L3%208QB|L3%208QB">click here for a map</a></p>
<p>For more information on Neil, visit his website at: <a href="http://www.neilcampbell.org.uk/">http://www.neilcampbell.org.uk/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.dcportfolio.co.uk/blog/2010/09/21/neil-campbell-live/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>In Time You&#8217;ll Taste all the Salt in my Lungs.</title>
		<link>http://www.dcportfolio.co.uk/blog/2010/07/07/in-time-youll-taste-all-the-salt-in-my-lungs/</link>
		<comments>http://www.dcportfolio.co.uk/blog/2010/07/07/in-time-youll-taste-all-the-salt-in-my-lungs/#comments</comments>
		<pubDate>Tue, 06 Jul 2010 23:23:34 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Music]]></category>

		<guid isPermaLink="false">http://www.dcportfolio.co.uk/?p=221</guid>
		<description><![CDATA[It started in the winter around 3 years ago. Deciding to search online for some new music, I began my routine. First I start by scoping out my favourite music blogs &#8211; see what&#8217;s getting...]]></description>
				<content:encoded><![CDATA[<p>It started in the winter around 3 years ago. Deciding to search online for some new music, I began my routine. First I start by scoping out my favourite music blogs &#8211; see what&#8217;s getting good reviews &#8211; then search through the artists on the same record label as musicians I already like. Finish off by looking at the &#8216;influences&#8217;  listed on other artists MySpace pages.  A simple formula, and yet it works for me.</p>
<p>Due to the nature of my search, I couldn&#8217;t tell you the exact source, but I &#8216;discovered&#8217; a side project from Manchester Orchestra frontman <a title="Wikipedia link to Andy Hull" href="http://en.wikipedia.org/wiki/Andy_Hull" target="_blank">Andy Hull</a>, entitled <em>Right Away Great Captain!</em> He created a trilogy telling the, as of now, ongoing saga of a 17th century sailor who catches his wife sleeping with his brother. I decided to give the project a listen. The first track I heard was &#8216;Cutting off the Blood to ten&#8217;.</p>
<p><strong><em>&#8220;Well I didn&#8217;t think it would end like this cutting of the blood to ten with a rope around my wrist&#8230;&#8221;</em></strong></p>
<p>Considering this is a fictional story, the sincerity shone through every aspect of the music, from Andy&#8217;s hushed vocals to the sparsely produced guitar riffs, everything about this song made me want to hear more. So I did, 2 albums at 25 tracks in total later, and I was in love.</p>
<p>The first album of the trilogy, <em>The Bitter End</em> was recorded in only 3 days! Each song is a journal entry, either aimed toward his family at home or to his captain. The second and newest release to date, <em>The Eventually Home</em> tells of the sailor returning home from sea with the intention of killing both his wife and brother. Lots of dark emotions running through these albums then.</p>
<p>I&#8217;ve fallen for albums before, but these have taken up space in my conscience like no others ever have, they haunt me. I care that our protagonist has suffered a devastating betrayal. I worry whether he&#8217;ll drown in his own despair. But more than this, I feel like the aura of the album transcends the humdrum constraints of the everyday, making it another landmark in the soundtrack to my life.</p>
<p>In summery you should hear <a title="iTunes Link to the Album The Eventually Home" href="http://itunes.apple.com/gb/album/the-eventually-home/id293879921" target="_blank">The Eventually Home</a> and <a title="iTunes Link to the Album The Bitter End" href="http://itunes.apple.com/gb/album/the-bitter-end/id213740527" target="_blank">The Bitter End</a> for yourselves, they&#8217;re really good.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.dcportfolio.co.uk/blog/2010/07/07/in-time-youll-taste-all-the-salt-in-my-lungs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Protection Racket &#8211; Hand Over the Packet</title>
		<link>http://www.dcportfolio.co.uk/blog/2010/04/26/protection-racket-hand-over-the-packet/</link>
		<comments>http://www.dcportfolio.co.uk/blog/2010/04/26/protection-racket-hand-over-the-packet/#comments</comments>
		<pubDate>Mon, 26 Apr 2010 22:47:54 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Music]]></category>

		<guid isPermaLink="false">http://www.dcportfolio.co.uk/?p=185</guid>
		<description><![CDATA[Have you ever been in a really awful mood? I mean really annoyed, frustrated at all other beings for no real reason, you know people need to wear shoes, but its that type of day...]]></description>
				<content:encoded><![CDATA[<p>Have you ever been in a really awful mood? I mean really annoyed, frustrated at all other beings for no real reason, you know people need to wear shoes, but its that type of day where it just rubs you the wrong way.</p>
<p>Well about a month ago now, I had one of those days. I was having a nightmare day at the office, nothing was going right, I came close to screaming until my ears bleed, then I realised the new Fionn Regan album had been freshly uploaded to my iPod and I&#8217;d not yet listened to it.</p>
<p>From track one my mood was lifted and shoes became a distant memory. Fionn Regan&#8217;s &#8220;The Shadow of an Empire&#8221; is brilliant and its first track, &#8216;Protection Racket&#8217; is my feel good hit of the summer.</p>
<p>That&#8217;s all I wanted to say.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.dcportfolio.co.uk/blog/2010/04/26/protection-racket-hand-over-the-packet/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Welcome to the new site!</title>
		<link>http://www.dcportfolio.co.uk/blog/2010/04/07/my-first-post/</link>
		<comments>http://www.dcportfolio.co.uk/blog/2010/04/07/my-first-post/#comments</comments>
		<pubDate>Wed, 07 Apr 2010 21:46:59 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Web Design]]></category>

		<guid isPermaLink="false">http://www.dcportfolio.co.uk/?p=134</guid>
		<description><![CDATA[So I finally got it together and designed myself a new site. I was planning to link to my old portfolio, but aside from it looking a bit naff, it just isn&#8217;t me, you know...]]></description>
				<content:encoded><![CDATA[<p>So I finally got it together and designed myself a new site. I was planning to link to my old portfolio, but aside from it looking a bit naff, it just isn&#8217;t me, you know what its like, when you look back at previous designs and cringe? But enough of that, I&#8217;ll introduce myself.</p>
<p>My names David Churchill, I&#8217;ve been dabbling in web development since I was a padawan. Skip forward a few years to when I left school, I decided I should get some qualifications in what I loved, web design, so got myself onto a course.</p>
<p>After 4 years of education, and many a drunken night out, I needed a job. At first it was a struggle, with a portfolio lacking content, and freelance sites seeming pretty difficult to come by. I ended up working in various other areas, But I always kept up to date with the latest technologies and web development initiatives.</p>
<p>So I eventually got a job at a small privately owned firm, doing what I was born too, website stuff! With the experience from that job, and a few freelance sites under my belt, I moved to to bigger and better things, Cut to now, where I&#8217;m a dealer site designer at Auto Trader Digital.</p>
<p>So that&#8217;s pretty much my story, its probably only interesting to me, and maybe my mother, but it at least took up some space on this new blog of mine. I promise, the next post will be more focused on web design and development techniques. I might even do something about web standards&#8230;</p>
<p>I&#8217;ve always felt designing and building with standards was awesome. You see it simplifies and lowers the cost of site production, while delivering sites that are accessible to more people and more types of Internet devices.</p>
<p>But even more so, sites developed along these lines will continue to function correctly as traditional desktop browsers evolve, and as new Internet devices come to the market.</p>
<p>I imagine I&#8217;ll post more about this in the future, I may even look at posting some WordPress related stuff. I&#8217;ve been working towards coding all my newer sites with WordPress as a foundation.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.dcportfolio.co.uk/blog/2010/04/07/my-first-post/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
