<?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>ValidateThis</title>
	<atom:link href="http://www.validatethis.co.uk/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.validatethis.co.uk</link>
	<description>No pixels were harmed in the making of this site</description>
	<lastBuildDate>Thu, 20 Dec 2012 14:05:45 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
		<item>
		<title>Fix Bad value X-UA-Compatible once and for all</title>
		<link>http://www.validatethis.co.uk/news/fix-bad-value-x-ua-compatible-once-and-for-all/</link>
		<comments>http://www.validatethis.co.uk/news/fix-bad-value-x-ua-compatible-once-and-for-all/#comments</comments>
		<pubDate>Thu, 20 Dec 2012 14:05:45 +0000</pubDate>
		<dc:creator>Aaron Layton</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[apache server]]></category>
		<category><![CDATA[attribute]]></category>
		<category><![CDATA[best practices]]></category>
		<category><![CDATA[chrome frame]]></category>
		<category><![CDATA[compatibility list]]></category>
		<category><![CDATA[compatibility mode]]></category>
		<category><![CDATA[github]]></category>
		<category><![CDATA[HTML5]]></category>
		<category><![CDATA[internet explorer 10]]></category>
		<category><![CDATA[meta tag]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[quirks mode]]></category>
		<category><![CDATA[validation]]></category>
		<category><![CDATA[X-UA-Compatible]]></category>
		<category><![CDATA[XML Internet Explorer]]></category>

		<guid isPermaLink="false">http://www.validatethis.co.uk/?p=645</guid>
		<description><![CDATA[If you are still stuck having to support older browsers when developing your brand new sites, or even developing sites for an intranet, then chances are you are using the X-UA-Compatible meta tag. It&#8217;s that meta tag that you place &#8230; <a href="http://www.validatethis.co.uk/news/fix-bad-value-x-ua-compatible-once-and-for-all/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>If you are still stuck having to support older browsers when developing your brand new sites, or even developing sites for an intranet, then chances are you are using the <a href="http://www.validatethis.co.uk/tag/x-ua-compatible/" class="st_tag internal_tag" rel="tag" title="Posts tagged with X-UA-Compatible">X-UA-Compatible</a> <a href="http://www.validatethis.co.uk/tag/meta-tag/" class="st_tag internal_tag" rel="tag" title="Posts tagged with meta tag">meta tag</a>. It&#8217;s that <a href="http://www.validatethis.co.uk/tag/meta-tag/" class="st_tag internal_tag" rel="tag" title="Posts tagged with meta tag">meta tag</a> that you place in your header to let Internet Explorer know to use a certain rendering engine. There are a few issues with it though, <a href="http://www.validatethis.co.uk/tag/best-practices/" class="st_tag internal_tag" rel="tag" title="Posts tagged with best practices">best practices</a>, <a href="http://www.validatethis.co.uk/tag/validation/" class="st_tag internal_tag" rel="tag" title="Posts tagged with validation">validation</a>, site speed to name a few&#8230; Lets fix this once and for all!</p>
<pre class="nopadding">

<div class="codecolorer-container html4strict vibrant" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:100%;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="html4strict codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/meta.html"><span style="color: #000000; font-weight: bold;">meta</span></a> <span style="color: #000066;">http-equiv</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;X-UA-Compatible&quot;</span> <span style="color: #000066;">content</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;IE=edge,chrome=1&quot;</span> <span style="color: #66cc66;">/</span>&gt;</span></div></td></tr></tbody></table></div>

</pre>
<p>When Internet Explorer comes across this line it will change the engine that is being used to first <a href="http://www.validatethis.co.uk/tag/chrome-frame/" class="st_tag internal_tag" rel="tag" title="Posts tagged with chrome frame">Chrome Frame</a>, if the plugin is installed, and then to Edge (the highest supported document mode of the browser). We need to override this in certain situations as by default, any website running on an Intranet will run in Compatibility Mode (<a href="http://www.validatethis.co.uk/tag/quirks-mode/" class="st_tag internal_tag" rel="tag" title="Posts tagged with quirks mode">Quirks mode</a>) and any website on Microsoft&#8217;s Compatibility List will change to it as well.</p>
<p><em><strong>Note:</strong> In Internet Explorer 9 and earlier versions, quirks mode restricted the webpage to the features supported by Microsoft Internet Explorer 5.5. As of Internet Explorer 10, quirks mode behaves differently than the previous versions of the browser. In Internet Explorer 10, quirks mode conforms to the differences specified in the HTML5 specification. For more info, see <a href="http://msdn.microsoft.com/en-us/library/jj676915(v=vs.85).aspx" target="_blank" rel="external">Specifying legacy document modes</a>.</em></p>
<p>So If the above line works what is the problem, why should you fix it and what are the reasons you should fix it?</p>
<h2> Validation</h2>
<p>One of the first things I notice is that this meta tag is used on <a title="Engadget" href="http://www.engadget.com/" target="_blank">quite</a>, <a title="Initializr" href="http://www.initializr.com/" target="_blank">a few</a>, <a title="Github" href="https://github.com/" target="_blank">websites</a> already, but it causes validation errors when checking against the HTML5 doctype. When checking on <a href="http://www.validatethis.co.uk/tag/twitter/" class="st_tag internal_tag" rel="tag" title="Posts tagged with twitter">Twitter</a> what to do about the X-UA-Compatible entry here are some of the responses I received.</p>
<blockquote class="twitter-tweet" data-in-reply-to="281536408265560065"><p>@<a href="https://twitter.com/aaronlayton">aaronlayton</a> Don&#8217;t live your life by HTML validation, sometimes it&#8217;s ok to be invalid!</p>
<p>— Colin Bacon (@iambacon) <a href="https://twitter.com/iambacon/status/281689693886767104" data-datetime="2012-12-20T09:17:11+00:00">December 20, 2012</a></p></blockquote>
<blockquote class="twitter-tweet" data-in-reply-to="281536408265560065"><p>@<a href="https://twitter.com/aaronlayton">aaronlayton</a> nothing! Validation is just a guide.</p>
<p>— Joe Kendall (@_JoeKendall) <a href="https://twitter.com/_JoeKendall/status/281539721107238912" data-datetime="2012-12-19T23:21:14+00:00">December 19, 2012</a></p></blockquote>
<p>So should you worry about this? Probably not, but it&#8217;s easy to fix and I am a believer that if you can fix a validation error then you should.</p>
<p><em><strong>Note: </strong>I agree that validation is only a guide and I too don&#8217;t follow it 100%. It is a guideline of best practices, use it as such.</em></p>
<h2>Rendering Speed</h2>
<p>The last nail in the coffin for the Meta fix is the overall rendering speed for your pages. Lets say you are on an Intranet so the website <em>will</em> load up in compatibility mode. The browser will request the page and then start downloading as normal, then it will start rendering as normal&#8230; until it comes to your meta tag.</p>
<p>The browser will then have to discard anything that it has done and start all over again. This is the same as causing Layout or Style recalculations, it is just another stop along the way to a fast site.</p>
<h2>TMI my friend</h2>
<p>Too much <a href="http://www.validatethis.co.uk/tag/information/" class="st_tag internal_tag" rel="tag" title="Posts tagged with information">information</a>! Now days there are a lot of people out there that don&#8217;t use Internet Explorer so you just end up sending this data needlessly. Browsers like Chrome, Firefox, Opera, Safari ..etc&#8230; just don&#8217;t need to see this, but we send it anyway as adding the meta tag is an easy fix for a problem that only occurs on Internet Explorer.</p>
<p>While the extra 62 bytes are negligible, they are still removable and as we know &#8220;Every little helps&#8221;. As people are increasingly browsing the internet on some form of mobile device, it starts to become more important to think about all of these small wins. For every byte of data we have to wait, it is another ~ms in the delay to a site being usable. Remember just because you have a fast site, doesn&#8217;t mean your user has a fast internet connection.</p>
<div id="attachment_656" class="wp-caption aligncenter" style="width: 774px"><img class="size-full wp-image-656 colorbox-645" alt="Visitor loss vs page load time - http://www.pearanalytics.com/blog/2009/how-webpage-load-time-related-to-visitor-loss/" src="http://www.validatethis.co.uk/wp-content/uploads/2012/12/visitor-loss-graph.png" width="764" height="474" /><p class="wp-caption-text">Visitor loss vs page load time<br />http://www.pearanalytics.com/blog/2009/how-webpage-load-time-related-to-visitor-loss/</p></div>
<p>Just removing this meta tag could save you lots of time overall. A site that I work on gets on average 6 million page views a month and if you multiply that through out the year it is still a saving of over 260mb of data.</p>
<h2>The fix</h2>
<p>The fix is simple enough but obviously it is not as easy as dropping in a line of HTML. The new fix will be implemented server side and to make this fix complete we need to</p>
<ol>
<li>Fix the page validation &#8211; This is achieved by simply removing the tag</li>
<li>Rendering speed &#8211; Instead of waiting for the browser to see the tag and then change modes we will send the correct mode upfront as a response header</li>
<li>Make sure that we only show the fix for Internet Explorer &#8211; We will just use some server side browser detection and only send it to IE</li>
</ol>
<h2>PHP</h2>
<p>To add the header in PHP we can just add this to our page</p>
<pre class="nopadding">

<div class="codecolorer-container php vibrant" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:100%;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br /></div></td><td><div class="php codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><a href="http://www.php.net/isset"><span style="color: #990000;">isset</span></a><span style="color: #009900;">&#40;</span><span style="color: #000088;">$_SERVER</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'HTTP_USER_AGENT'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">&amp;</span>amp<span style="color: #339933;">;&amp;</span>amp<span style="color: #339933;">;</span> <br />
&nbsp; &nbsp; <span style="color: #009900;">&#40;</span><a href="http://www.php.net/strpos"><span style="color: #990000;">strpos</span></a><span style="color: #009900;">&#40;</span><span style="color: #000088;">$_SERVER</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'HTTP_USER_AGENT'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'MSIE'</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">!==</span> <span style="color: #009900; font-weight: bold;">false</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <a href="http://www.php.net/header"><span style="color: #990000;">header</span></a><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'X-UA-Compatible: IE=edge,chrome=1'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></div></td></tr></tbody></table></div>

</pre>
<p>Or you could add it to your .htaccess file like so</p>
<pre class="nopadding">

<div class="codecolorer-container php vibrant" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:100%;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br /></div></td><td><div class="php codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #339933;">&lt;</span>FilesMatch <span style="color: #0000ff;">&quot;\.(htm|html|php)$&quot;</span><span style="color: #339933;">&gt;</span><br />
&nbsp; &nbsp; <span style="color: #339933;">&lt;</span>IfModule mod_headers<span style="color: #339933;">.</span>c<span style="color: #339933;">&gt;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; BrowserMatch MSIE ie<br />
&nbsp; &nbsp; &nbsp; &nbsp; <a href="http://www.php.net/header"><span style="color: #990000;">Header</span></a> set X<span style="color: #339933;">-</span>UA<span style="color: #339933;">-</span>Compatible <span style="color: #0000ff;">&quot;IE=Edge,chrome=1&quot;</span> env<span style="color: #339933;">=</span>ie<br />
&nbsp; &nbsp; <span style="color: #339933;">&lt;/</span>IfModule<span style="color: #339933;">&gt;</span><br />
<span style="color: #339933;">&lt;/</span>FilesMatch<span style="color: #339933;">&gt;</span></div></td></tr></tbody></table></div>

</pre>
<p>You can change the files that are matched and doing it this way will mean the header isn&#8217;t set for every resource (images / <a href="http://www.validatethis.co.uk/tag/javascript/" class="st_tag internal_tag" rel="tag" title="Posts tagged with Javascript">javascript</a> / <a href="http://www.validatethis.co.uk/tag/css/" class="st_tag internal_tag" rel="tag" title="Posts tagged with CSS">css</a>). That should be everything to make sure your site is running good and you are following best practices for a PHP site.</p>
<h2>C# (csharp)</h2>
<p>You could add in a new customHeader to your web.config file like below, but as far as I am aware you can&#8217;t do browser detection in here.</p>
<pre class="nopadding">

<div class="codecolorer-container xml vibrant" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:100%;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br />9<br /></div></td><td><div class="xml codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;configuration<span style="color: #000000; font-weight: bold;">&gt;</span></span></span><br />
&nbsp; <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;system.webServer<span style="color: #000000; font-weight: bold;">&gt;</span></span></span><br />
&nbsp; &nbsp; &nbsp;<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;httpProtocol<span style="color: #000000; font-weight: bold;">&gt;</span></span></span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;customHeaders<span style="color: #000000; font-weight: bold;">&gt;</span></span></span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;add</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;X-UA-Compatible&quot;</span> <span style="color: #000066;">value</span>=<span style="color: #ff0000;">&quot;IE=Edge,chrome=1&quot;</span> <span style="color: #000000; font-weight: bold;">/&gt;</span></span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/customHeaders<span style="color: #000000; font-weight: bold;">&gt;</span></span></span><br />
&nbsp; &nbsp; &nbsp;<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/httpProtocol<span style="color: #000000; font-weight: bold;">&gt;</span></span></span><br />
&nbsp; <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/system.webServer<span style="color: #000000; font-weight: bold;">&gt;</span></span></span><br />
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/configuration<span style="color: #000000; font-weight: bold;">&gt;</span></span></span></div></td></tr></tbody></table></div>

</pre>
<p>So the better solution would be to inherit all your pages from a custom Controller (or extend from System.Web.UI.Page if you are using WebForms) and add in the following check.</p>
<pre class="nopadding">

<div class="codecolorer-container csharp vibrant" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:100%;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br /></div></td><td><div class="csharp codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #0600FF; font-weight: bold;">if</span> <span style="color: #008000;">&#40;</span>Request<span style="color: #008000;">.</span><span style="color: #0000FF;">ServerVariables</span><span style="color: #008000;">&#91;</span><span style="color: #666666;">&quot;HTTP_USER_AGENT&quot;</span><span style="color: #008000;">&#93;</span> <span style="color: #008000;">!=</span> <span style="color: #0600FF; font-weight: bold;">null</span> <span style="color: #008000;">&amp;&amp;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Request<span style="color: #008000;">.</span><span style="color: #0000FF;">ServerVariables</span><span style="color: #008000;">&#91;</span><span style="color: #666666;">&quot;HTTP_USER_AGENT&quot;</span><span style="color: #008000;">&#93;</span><span style="color: #008000;">.</span><span style="color: #0000FF;">ToString</span><span style="color: #008000;">&#40;</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">.</span><span style="color: #0000FF;">IndexOf</span><span style="color: #008000;">&#40;</span><span style="color: #666666;">&quot;MSIE&quot;</span><span style="color: #008000;">&#41;</span> <span style="color: #008000;">&gt;</span> <span style="color: #008000;">-</span><span style="color: #FF0000;">1</span><span style="color: #008000;">&#41;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Response<span style="color: #008000;">.</span><span style="color: #0000FF;">AddHeader</span><span style="color: #008000;">&#40;</span><span style="color: #666666;">&quot;X-UA-Compatible&quot;</span>, <span style="color: #666666;">&quot;IE=edge,chrome=1&quot;</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span></div></td></tr></tbody></table></div>

</pre>
<p>So that&#8217;s it&#8230; &#8220;<strong> Bad value X-UA-Compatible for <a href="http://www.validatethis.co.uk/tag/attribute/" class="st_tag internal_tag" rel="tag" title="Posts tagged with attribute">attribute</a> http-equiv on element meta.</strong>&#8221; fixed for good&#8230;</p>
<p>In the future we won&#8217;t need to include this in our projects but for now we have to just stick with it. Let&#8217;s hope that everyone adopts Windows 8 <img src='http://www.validatethis.co.uk/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley colorbox-645' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.validatethis.co.uk/news/fix-bad-value-x-ua-compatible-once-and-for-all/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Add Social info to WordPress Profiles</title>
		<link>http://www.validatethis.co.uk/tutorials/add-social-info-to-wordpress-profiles/</link>
		<comments>http://www.validatethis.co.uk/tutorials/add-social-info-to-wordpress-profiles/#comments</comments>
		<pubDate>Mon, 10 Dec 2012 13:17:49 +0000</pubDate>
		<dc:creator>Aaron Layton</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[array]]></category>
		<category><![CDATA[contact]]></category>
		<category><![CDATA[contactmethod]]></category>
		<category><![CDATA[custom]]></category>
		<category><![CDATA[custom filter]]></category>
		<category><![CDATA[facebook]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[information]]></category>
		<category><![CDATA[key value]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[skype]]></category>
		<category><![CDATA[snippet]]></category>
		<category><![CDATA[Social]]></category>
		<category><![CDATA[twitter]]></category>
		<category><![CDATA[unset]]></category>
		<category><![CDATA[yahoo]]></category>

		<guid isPermaLink="false">http://www.validatethis.co.uk/?p=423</guid>
		<description><![CDATA[Just a quick snippet for you all as I needed to do this recently for my custom AuthorBox on this site and I didn&#8217;t want to include a separate plugin to achieve this. Just open up your functions.php and add the &#8230; <a href="http://www.validatethis.co.uk/tutorials/add-social-info-to-wordpress-profiles/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>Just a quick <a href="http://www.validatethis.co.uk/tag/snippet/" class="st_tag internal_tag" rel="tag" title="Posts tagged with snippet">snippet</a> for you all as I needed to do this recently for my <a href="http://www.validatethis.co.uk/tag/custom/" class="st_tag internal_tag" rel="tag" title="Posts tagged with custom">custom</a> AuthorBox on this site and I didn&#8217;t want to include a separate plugin to achieve this.</p>
<p>Just open up your <em>functions.<a href="http://www.validatethis.co.uk/tag/php/" class="st_tag internal_tag" rel="tag" title="Posts tagged with PHP">php</a></em> and add the below&#8230;</p>
<pre class="nopadding">

<div class="codecolorer-container php vibrant" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:100%;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br />9<br />10<br />11<br />12<br />13<br />14<br />15<br />16<br />17<br />18<br />19<br /></div></td><td><div class="php codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #666666; font-style: italic;">// Add contact links</span><br />
<span style="color: #000000; font-weight: bold;">function</span> add_contactmethod<span style="color: #009900;">&#40;</span> <span style="color: #000088;">$contactmethods</span> <span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span><br />
&nbsp; &nbsp; <span style="color: #666666; font-style: italic;">// Add Twitter</span><br />
&nbsp; &nbsp; <span style="color: #000088;">$contactmethods</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'twitter'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">'Twitter'</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; <span style="color: #666666; font-style: italic;">// Add Facebook</span><br />
&nbsp; &nbsp; <span style="color: #000088;">$contactmethods</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'facebook'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">'Facebook'</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; <span style="color: #666666; font-style: italic;">// Add Facebook</span><br />
&nbsp; &nbsp; <span style="color: #000088;">$contactmethods</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'googleplus'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">'Google+'</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; <span style="color: #666666; font-style: italic;">// Add Facebook</span><br />
&nbsp; &nbsp; <span style="color: #000088;">$contactmethods</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'skype'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">'Skype'</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; <span style="color: #666666; font-style: italic;">// Remove Yahoo IM</span><br />
<br />
&nbsp; &nbsp; <a href="http://www.php.net/unset"><span style="color: #990000;">unset</span></a><span style="color: #009900;">&#40;</span><span style="color: #000088;">$contactmethods</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'yim'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; <a href="http://www.php.net/unset"><span style="color: #990000;">unset</span></a><span style="color: #009900;">&#40;</span><span style="color: #000088;">$contactmethods</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'aim'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<br />
&nbsp; &nbsp; <span style="color: #b1b100;">return</span> <span style="color: #000088;">$contactmethods</span><span style="color: #339933;">;</span><br />
<span style="color: #009900;">&#125;</span><br />
<br />
add_filter<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'user_contactmethods'</span><span style="color: #339933;">,</span><span style="color: #0000ff;">'add_contactmethod'</span><span style="color: #339933;">,</span><span style="color: #cc66cc;">10</span><span style="color: #339933;">,</span><span style="color: #cc66cc;">1</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></div></td></tr></tbody></table></div>

</pre>
<p>I would class the above as pretty self explanatory if your used to <a href="http://www.validatethis.co.uk/tag/wordpress-tutorials/" class="st_tag internal_tag" rel="tag" title="Posts tagged with Wordpress">WordPress</a> but if not let me try and break it down for you.</p>
<p>We add a custom filter to</p>
<pre>user_contactmethods</pre>
<p>This lets us intercept the listed options before being processed. We get passed an array which we store in $contactmethods</p>
<pre>Array
(
    [aim] =&gt; AIM
    [yim] =&gt; <a href="http://www.validatethis.co.uk/tag/yahoo/" class="st_tag internal_tag" rel="tag" title="Posts tagged with yahoo">Yahoo</a> IM
    [jabber] =&gt; Jabber / <a href="http://www.validatethis.co.uk/tag/google/" class="st_tag internal_tag" rel="tag" title="Posts tagged with Google">Google</a> Talk
)</pre>
<p>From here we can just use normal PHP to create a new element to be stored. We could have used array_push() also but this way looks better to me. Try and keep the Key to one word or a hyphenated word, the value will be the text the end user sees.</p>
<pre class="nopadding">

<div class="codecolorer-container php vibrant" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:100%;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br /></div></td><td><div class="php codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #666666; font-style: italic;">// Add Twitter</span><br />
<span style="color: #000088;">$contactmethods</span><span style="color: #009900;">&#91;</span> <a href="http://www.php.net/key"><span style="color: #990000;">KEY</span></a> <span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> VALUE<span style="color: #339933;">;</span></div></td></tr></tbody></table></div>

</pre>
<p>Notice how I also <a href="http://www.validatethis.co.uk/tag/unset/" class="st_tag internal_tag" rel="tag" title="Posts tagged with unset">unset</a> some of the entries? These are just ones that I don&#8217;t feel I will need, you can either include these lines or not. Well I hope this helps you understand how to add your own custom <a href="http://www.validatethis.co.uk/tag/contact/" class="st_tag internal_tag" rel="tag" title="Posts tagged with contact">contact</a> details to the WordPress Profile pages. What&#8217;s that? You need to know how to get them back out aswell&#8230; ok then.</p>
<h2>Retrieving Author information</h2>
<p>Getting the new author meta information is really easy! Check out the official documentation on it afterwards <a title="Function Reference/the author meta" href="http://codex.wordpress.org/Function_Reference/the_author_meta" target="_blank">here</a>. If you are within the Loop then you can just use the below</p>
<pre class="nopadding">

<div class="codecolorer-container php vibrant" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:100%;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br /></div></td><td><div class="php codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #666666; font-style: italic;">// Get the Googleplus contact information</span><br />
<span style="color: #666666; font-style: italic;">// This echo's out</span><br />
the_author_meta<span style="color: #009900;">&#40;</span> <span style="color: #0000ff;">&quot;googleplus&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></div></td></tr></tbody></table></div>

</pre>
<p>Or if you need to use this somewhere else then just pass in the User ID along with the meta you want to get</p>
<pre class="nopadding">

<div class="codecolorer-container php vibrant" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:100%;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br /></div></td><td><div class="php codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #666666; font-style: italic;">// Get the Googleplus contact information</span><br />
<span style="color: #666666; font-style: italic;">// This echo's out</span><br />
the_author_meta<span style="color: #009900;">&#40;</span> <span style="color: #0000ff;">&quot;googleplus&quot;</span><span style="color: #339933;">,</span> <span style="color: #cc66cc;">21</span> <span style="color: #666666; font-style: italic;">//UserID );</span></div></td></tr></tbody></table></div>

</pre>
<p>Simple as that folks <img src='http://www.validatethis.co.uk/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley colorbox-423' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.validatethis.co.uk/tutorials/add-social-info-to-wordpress-profiles/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Web Lab Collection</title>
		<link>http://www.validatethis.co.uk/news/web-lab-collection/</link>
		<comments>http://www.validatethis.co.uk/news/web-lab-collection/#comments</comments>
		<pubDate>Wed, 21 Nov 2012 20:59:07 +0000</pubDate>
		<dc:creator>Aaron Layton</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[alice bot]]></category>
		<category><![CDATA[collection]]></category>
		<category><![CDATA[cool things]]></category>
		<category><![CDATA[HTML5]]></category>
		<category><![CDATA[JSFiddle]]></category>
		<category><![CDATA[JSONP]]></category>
		<category><![CDATA[Lab]]></category>
		<category><![CDATA[mashup]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[playground]]></category>
		<category><![CDATA[random stuff]]></category>
		<category><![CDATA[test experiments]]></category>
		<category><![CDATA[voice recognition]]></category>
		<category><![CDATA[web lab]]></category>
		<category><![CDATA[web labs]]></category>
		<category><![CDATA[Work]]></category>
		<category><![CDATA[XML]]></category>

		<guid isPermaLink="false">http://www.validatethis.co.uk/?p=626</guid>
		<description><![CDATA[Ok so I have just done a quick impromptu page for Web Labs. I will edit the page shortly and come up with a better layout, but my aim is to get a collection of other peoples web labs, test, &#8230; <a href="http://www.validatethis.co.uk/news/web-lab-collection/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>Ok so I have just done a quick impromptu page for <a title="Web Labs" href="http://www.validatethis.co.uk/web-labs/">Web Labs</a>. I will edit the page shortly and come up with a better layout, but my aim is to get a <a href="http://www.validatethis.co.uk/tag/collection/" class="st_tag internal_tag" rel="tag" title="Posts tagged with collection">collection</a> of other peoples <a href="http://www.validatethis.co.uk/tag/web-labs/" class="st_tag internal_tag" rel="tag" title="Posts tagged with web labs">web labs</a>, test, experiments, <a href="http://www.validatethis.co.uk/tag/playground/" class="st_tag internal_tag" rel="tag" title="Posts tagged with playground">playground</a> folders.</p>
<p>We all have some place that we put our experiments and more people now are turning to services like <a href="http://codepen.io/" target="_blank">codepen.io</a>, <a href="http://jsfiddle.net/" target="_blank">jsfiddle</a> etc. I just think it would be great to have the more personal list of labs.</p>
<p>If I can get 20 labs I will release the link to my own labs page that just has such random stuff in there. I once did a <a href="http://www.validatethis.co.uk/tag/mashup/" class="st_tag internal_tag" rel="tag" title="Posts tagged with mashup">mashup</a> that merged HTML5 <a href="http://www.validatethis.co.uk/tag/voice-recognition/" class="st_tag internal_tag" rel="tag" title="Posts tagged with voice recognition">Voice Recognition</a>, <a href="http://www.validatethis.co.uk/tag/jsonp/" class="st_tag internal_tag" rel="tag" title="Posts tagged with JSONP">JSONP</a> (running through a PHP proxy that retrieved XML), <a href="http://www.validatethis.co.uk/tag/alice-bot/" class="st_tag internal_tag" rel="tag" title="Posts tagged with alice bot">Alice Bot</a> and Google Translation to get an AI that I could talk to and it would talk back to me&#8230;</p>
<p>What <a href="http://www.validatethis.co.uk/tag/cool-things/" class="st_tag internal_tag" rel="tag" title="Posts tagged with cool things">cool things</a> have you worked on? Want to share your labs let me know in the comments on here or <a href="http://www.validatethis.co.uk/web-labs/">here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.validatethis.co.uk/news/web-lab-collection/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Give your Apache file Index a face lift with h5ai</title>
		<link>http://www.validatethis.co.uk/news/give-your-apache-file-index-a-face-lift-with-h5ai/</link>
		<comments>http://www.validatethis.co.uk/news/give-your-apache-file-index-a-face-lift-with-h5ai/#comments</comments>
		<pubDate>Sun, 11 Nov 2012 20:13:17 +0000</pubDate>
		<dc:creator>Aaron Layton</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[apache server]]></category>
		<category><![CDATA[breadcrumb]]></category>
		<category><![CDATA[colorbox]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[css3]]></category>
		<category><![CDATA[Design]]></category>
		<category><![CDATA[folder listings]]></category>
		<category><![CDATA[github]]></category>
		<category><![CDATA[H5BP]]></category>
		<category><![CDATA[HTML5]]></category>
		<category><![CDATA[index file]]></category>
		<category><![CDATA[index pages]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[Lars Jung]]></category>
		<category><![CDATA[neat features]]></category>
		<category><![CDATA[optional features]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[zip archive]]></category>

		<guid isPermaLink="false">http://www.validatethis.co.uk/?p=608</guid>
		<description><![CDATA[Are you running an Apache server? If you are then you would have been greeted by that horrible directory page more than once. Isn&#8217;t it time to get rid of the old to make way for the new? Give your &#8230; <a href="http://www.validatethis.co.uk/news/give-your-apache-file-index-a-face-lift-with-h5ai/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>Are you running an <a href="http://www.validatethis.co.uk/tag/apache/" class="st_tag internal_tag" rel="tag" title="Posts tagged with Apache">Apache</a> server?</p>
<p>If you are then you would have been greeted by that horrible directory page more than once. Isn&#8217;t it time to get rid of the old to make way for the new? Give your Index pages a face lift with <a href="http://larsjung.de/h5ai/" target="_blank">h5ai</a>.</p>
<blockquote><p>h5ai makes browsing directories on HTTP web servers more pleasant</p></blockquote>
<p><strong>h5ai</strong> is a modern replacement for the built in Index view for folder listings and it boast plenty of <a href="http://www.validatethis.co.uk/tag/neat-features/" class="st_tag internal_tag" rel="tag" title="Posts tagged with neat features">neat features</a>. It is build with <strong><a href="http://www.validatethis.co.uk/tag/html5/" class="st_tag internal_tag" rel="tag" title="Posts tagged with HTML5">HTML5</a> Boilerplace, jQuery + Modernizr</strong> and can be implemented with just a few steps (2 in my case). It has been created by <a href="http://larsjung.de/" target="_blank">Lars Jung</a> (<a href="https://twitter.com/lrsjng" target="_blank">@lrsjng</a>) and he has a number of other useful libraries and tools, go check him out.</p>
<p style="text-align: center;"><a href="http://larsjung.de/h5ai/sample/"><img class="aligncenter  wp-image-609 colorbox-608" title="h5ai" src="http://www.validatethis.co.uk/wp-content/uploads/2012/11/h5ai-1024x540.png" alt="" width="584" height="307" /></a></p>
<p>The <a href="http://www.validatethis.co.uk/tag/design/" class="st_tag internal_tag" rel="tag" title="Posts tagged with Design">design</a> of h5ai is nice and minimal and uses <a href="http://www.validatethis.co.uk/tag/css/" class="st_tag internal_tag" rel="tag" title="Posts tagged with CSS">CSS</a>3 and sprinkles of <a href="http://www.validatethis.co.uk/tag/js/" class="st_tag internal_tag" rel="tag" title="Posts tagged with js">JS</a> to get things working. If you have <a href="http://www.validatethis.co.uk/tag/js/" class="st_tag internal_tag" rel="tag" title="Posts tagged with js">JS</a> turned off though it degrades nicely. There is a built in <a href="http://www.validatethis.co.uk/tag/colorbox/" class="st_tag internal_tag" rel="tag" title="Posts tagged with colorbox">colorbox</a> that enables you to view images on the fly and to top it all off there is a code syntax view so you can easily read things like <a href="http://www.validatethis.co.uk/tag/js/" class="st_tag internal_tag" rel="tag" title="Posts tagged with js">JS</a> and XML.</p>
<p>This definitely makes your index views easier to digest and easier to navigate around as there is a built in search and tree view.</p>
<p>There are plenty of optional features and extensions you can enable with h5ai as seen above where you can enable QR Codes on file hover. The whole install sits in one folder at the root of your site and all you need to do is get your server to add its index file to the index file list. Basically just add this line to your .htaccess</p>
<div class="codecolorer-container php vibrant" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:100%;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="php codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">DirectoryIndex index<span style="color: #339933;">.</span>html index<span style="color: #339933;">.</span>php <span style="color: #339933;">/</span>_h5ai<span style="color: #339933;">/</span>server<span style="color: #339933;">/</span>php<span style="color: #339933;">/</span>index<span style="color: #339933;">.</span>php</div></td></tr></tbody></table></div>
<p>Here are just some of the optional features that are available</p>
<ul>
<li><a href="http://www.validatethis.co.uk/tag/breadcrumb/" class="st_tag internal_tag" rel="tag" title="Posts tagged with breadcrumb">breadcrumb</a> for the current directory, linked to all parent directories</li>
<li>auto refresh</li>
<li>custom header and/or footer for each directory</li>
<li>select and download multiple files and folders at once, either as tar or zip archive</li>
<li>filter function for the displayed files and folders</li>
<li>folder sizes</li>
<li>localization with a lot of languages already included</li>
<li>link hover states between main view, breadcrumb and tree view</li>
<li>display HTTP web server details</li>
<li>image preview with keyboard support</li>
<li>text file preview with Markdown rendering and keyboard support</li>
<li><a href="http://larsjung.de/qrcode/">QR codes</a> on hovering files</li>
<li>sort files and folders</li>
<li>status bar with additional information about files and folders</li>
<li>thumbnails for images, pdfs and movies</li>
<li>directory tree view</li>
<li>display breadcrumb in the browser title</li>
</ul>
<p>If your not convinced yet then why not head on over to the <a href="http://larsjung.de/h5ai/" target="_blank">official page</a> or check out the <a href="https://github.com/lrsjng/h5ai" target="_blank">Github repo</a>.</p>
<p style="text-align: center;"><a class="coolButton" title="h5ai demo" href="http://larsjung.de/h5ai/sample/" target="_blank">h5ai demo</a></p>
<p>Know of any other cool scripts like this? Let me know so I can get them installed and featured on here.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.validatethis.co.uk/news/give-your-apache-file-index-a-face-lift-with-h5ai/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Could this mean in the future we can Cache the rendering of DOM elements</title>
		<link>http://www.validatethis.co.uk/news/could-this-mean-in-the-future-we-can-cache-the-rendering-of-dom-elements/</link>
		<comments>http://www.validatethis.co.uk/news/could-this-mean-in-the-future-we-can-cache-the-rendering-of-dom-elements/#comments</comments>
		<pubDate>Tue, 06 Nov 2012 20:10:44 +0000</pubDate>
		<dc:creator>Aaron Layton</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[attribute]]></category>
		<category><![CDATA[cache]]></category>
		<category><![CDATA[cacheAsBitmap]]></category>
		<category><![CDATA[Components]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[elements]]></category>
		<category><![CDATA[head]]></category>
		<category><![CDATA[href]]></category>
		<category><![CDATA[iframe]]></category>
		<category><![CDATA[js]]></category>
		<category><![CDATA[Node]]></category>
		<category><![CDATA[Root]]></category>
		<category><![CDATA[scoped]]></category>
		<category><![CDATA[Shadow]]></category>
		<category><![CDATA[src]]></category>

		<guid isPermaLink="false">http://www.validatethis.co.uk/?p=602</guid>
		<description><![CDATA[I have just been watching this talk about the Shadow Dom by +Angelina Fabbro and although it is for things that I have read about and played with before something seems to have just clicked in my head (where else would it &#8230; <a href="http://www.validatethis.co.uk/news/could-this-mean-in-the-future-we-can-cache-the-rendering-of-dom-elements/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>I have just been watching this talk about the <a href="http://www.validatethis.co.uk/tag/shadow/" class="st_tag internal_tag" rel="tag" title="Posts tagged with Shadow">Shadow</a> Dom by <a href="https://plus.google.com/117339576748577555094/posts">+Angelina Fabbro</a> and although it is for things that I have read about and played with before something seems to have just clicked in my <a href="http://www.validatethis.co.uk/tag/head/" class="st_tag internal_tag" rel="tag" title="Posts tagged with head">head</a> (where else would it click?).</p>
<p>I love the idea of making re-usable <a href="http://www.validatethis.co.uk/tag/components/" class="st_tag internal_tag" rel="tag" title="Posts tagged with Components">components</a> but always thought that <a href="http://www.validatethis.co.uk/tag/scoped/" class="st_tag internal_tag" rel="tag" title="Posts tagged with scoped">scoped</a> JS and CSS would be enough, why add on this layer of complexity with the Shadow Dom? I looked at it as just another way to hide spam content. A way to display something without <a href="http://www.validatethis.co.uk/tag/google/" class="st_tag internal_tag" rel="tag" title="Posts tagged with Google">Google</a> being able to see it so you can market a page the best way possible but when you visit it you just seem spam, everywhere &gt;_&gt;</p>
<p>I have just stopped this video at 8:49, the thing that has clicked for me is that the Shadow <a href="http://www.validatethis.co.uk/tag/root/" class="st_tag internal_tag" rel="tag" title="Posts tagged with Root">Root</a> is then placed into the Host <a href="http://www.validatethis.co.uk/tag/node/" class="st_tag internal_tag" rel="tag" title="Posts tagged with Node">Node</a>&#8230; The rendering of the Shadow <a href="http://www.validatethis.co.uk/tag/node/" class="st_tag internal_tag" rel="tag" title="Posts tagged with Node">Node</a> was done by the Shadow <a href="http://www.validatethis.co.uk/tag/root/" class="st_tag internal_tag" rel="tag" title="Posts tagged with Root">Root</a>!</p>
<p>I&#8217;m sure I mentioned this to <a href="https://plus.google.com/113127438179392830442/posts">+Paul Irish</a> or <a href="https://plus.google.com/115133653231679625609/posts">+Addy Osmani</a>  before but I always thought it would be neat to give Front-end devs a way to do what Flash devs have been doing for a while&#8230; <a href="http://www.validatethis.co.uk/tag/cacheasbitmap/" class="st_tag internal_tag" rel="tag" title="Posts tagged with cacheAsBitmap">cacheAsBitmap</a>&#8230;. Tell the browser that this section shouldn&#8217;t be updated, no matter what.</p>
<p>Am I right in thinking that each Shadow Dom could be rendered and cached this way and hence save on Render times? keeping the FPS down and only having to render when its Child Nodes become *dirty*&#8230;</p>
<p>There may not be a way to get the browser to cache this just yet, but having an <a href="http://www.validatethis.co.uk/tag/attribute/" class="st_tag internal_tag" rel="tag" title="Posts tagged with attribute">attribute</a> we can change for this would be most useful. Having the browser *cough*chrome*cough* cache these automatically would be useful too. Who knows the structure of our pages better than us right? Why can&#8217;t we say when to and not to update a frame?</p>
<p>Either way that has just made Components a lot more tempting in my books.</p>
<p><iframe src="http://www.youtube.com/embed/JNjnv-Gcpnw" frameborder="0" width="560" height="315"></iframe></p>
]]></content:encoded>
			<wfw:commentRss>http://www.validatethis.co.uk/news/could-this-mean-in-the-future-we-can-cache-the-rendering-of-dom-elements/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Is it time for an upgrade, to Android?</title>
		<link>http://www.validatethis.co.uk/news/is-it-time-for-an-upgrade-to-android/</link>
		<comments>http://www.validatethis.co.uk/news/is-it-time-for-an-upgrade-to-android/#comments</comments>
		<pubDate>Tue, 30 Oct 2012 09:17:35 +0000</pubDate>
		<dc:creator>Aaron Layton</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[3d buildings]]></category>
		<category><![CDATA[Android]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[maps]]></category>
		<category><![CDATA[nexus]]></category>
		<category><![CDATA[Nexus 10]]></category>
		<category><![CDATA[Nexus 7]]></category>
		<category><![CDATA[Nexux 4]]></category>
		<category><![CDATA[Tablet]]></category>

		<guid isPermaLink="false">http://www.validatethis.co.uk/?p=600</guid>
		<description><![CDATA[It may be time for an upgrade to an Android phone Google have just announced their brand new Phone and Tablet, and they beat the Specs of both the iPhone 5 and iPad 4th Gen  whilst still being one of &#8230; <a href="http://www.validatethis.co.uk/news/is-it-time-for-an-upgrade-to-android/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>It may be time for an <em>upgrade</em> to an <a href="http://www.validatethis.co.uk/tag/android/" class="st_tag internal_tag" rel="tag" title="Posts tagged with Android">Android</a> phone <img src='http://www.validatethis.co.uk/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley colorbox-600' /> </p>
<p><a href="http://www.validatethis.co.uk/tag/google/" class="st_tag internal_tag" rel="tag" title="Posts tagged with Google">Google</a> have just announced their brand new Phone and <a href="http://www.validatethis.co.uk/tag/tablet/" class="st_tag internal_tag" rel="tag" title="Posts tagged with Tablet">Tablet</a>, and they beat the Specs of both the <a href="http://www.validatethis.co.uk/tag/iphone/" class="st_tag internal_tag" rel="tag" title="Posts tagged with iphone">iPhone</a> 5 and iPad 4<sup>th</sup> Gen  whilst still being one of the cheapest devices out there…</p>
<p><strong><a href="http://www.validatethis.co.uk/tag/nexus/" class="st_tag internal_tag" rel="tag" title="Posts tagged with nexus">Nexus</a> 4 (Phone)</strong><br />
<a href="http://www.google.com/nexus/4/">http://www.google.com/nexus/4/</a></p>
<p><strong><a href="http://www.validatethis.co.uk/tag/nexus-10/" class="st_tag internal_tag" rel="tag" title="Posts tagged with Nexus 10">Nexus 10</a> (Tablet)</strong><br />
<a href="http://www.google.com/nexus/10/">http://www.google.com/nexus/10/</a></p>
<p>Also they innovate and update the operating system <em>a lot</em> faster than iOS who only update once a year. Android have just updated again with more great features, including updates to their Siri killer that now has more useful <a href="http://www.validatethis.co.uk/tag/information/" class="st_tag internal_tag" rel="tag" title="Posts tagged with information">information</a>, and backed by the Knowledge Graph.</p>
<p><strong>Android 4.2</strong><br />
<a href="http://www.android.com/whatsnew/">http://www.android.com/whatsnew/</a></p>
<p><strong>Google Now (Siri killer)</strong><br />
<a href="http://www.google.com/landing/now/">http://www.google.com/landing/now/</a></p>
<p>I like the iPhone, but , Android is winning in my opinion. Did I mention that their <a href="http://www.validatethis.co.uk/tag/maps/" class="st_tag internal_tag" rel="tag" title="Posts tagged with maps">Maps</a> software won&#8217;t take you to the wrong place either and will show you better <a href="http://www.validatethis.co.uk/tag/3d-buildings/" class="st_tag internal_tag" rel="tag" title="Posts tagged with 3d buildings">3D buildings</a> aswell..</p>
<p>What&#8217;s your opinion?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.validatethis.co.uk/news/is-it-time-for-an-upgrade-to-android/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Is max CSS the right way to go?</title>
		<link>http://www.validatethis.co.uk/news/is-max-css-the-right-way-to-go/</link>
		<comments>http://www.validatethis.co.uk/news/is-max-css-the-right-way-to-go/#comments</comments>
		<pubDate>Wed, 11 Jul 2012 10:25:26 +0000</pubDate>
		<dc:creator>Aaron Layton</dc:creator>
				<category><![CDATA[News]]></category>

		<guid isPermaLink="false">http://www.validatethis.co.uk/?p=561</guid>
		<description><![CDATA[I was reading this article from Dan Eden (@_dte) about his idea on &#8220;Max CSS&#8221;. http://daneden.me/2012/07/max-css-in-depth/ He states that if we start using style.max.css as our default style and then style.min.css for our minified styles, then new web designers can easily change &#8230; <a href="http://www.validatethis.co.uk/news/is-max-css-the-right-way-to-go/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>I was reading this article from Dan Eden (<a href="https://twitter.com/_dte" target="_blank">@_dte</a>) about his idea on &#8220;Max <a href="http://www.validatethis.co.uk/tag/css/" class="st_tag internal_tag" rel="tag" title="Posts tagged with CSS">CSS</a>&#8221;.</p>
<p><a href="http://daneden.me/2012/07/max-css-in-depth/" target="_blank">http://daneden.me/2012/07/max-css-in-depth/</a></p>
<p>He states that if we start using <strong>style.max.css</strong> as our default style and then <strong>style.min.css</strong> for our minified styles, then new web designers can easily change the min to max to see our full commented version. Sounds good right? While <em>I agree</em> that we need to make it easy for new and aspiring Designer/Developers I do believe a solution is already implemented in the web platform today.</p>
<p>It is already a widely accepted approach with <a href="http://www.validatethis.co.uk/tag/javascript/" class="st_tag internal_tag" rel="tag" title="Posts tagged with Javascript">javascript</a> files to just have script.<a href="http://www.validatethis.co.uk/tag/js/" class="st_tag internal_tag" rel="tag" title="Posts tagged with js">js</a> and then script.min.<a href="http://www.validatethis.co.uk/tag/js/" class="st_tag internal_tag" rel="tag" title="Posts tagged with js">js</a>. You can see examples of this around nearly every site. Check out the download for <a href="http://www.validatethis.co.uk/tag/jquery/" class="st_tag internal_tag" rel="tag" title="Posts tagged with jQuery">jQuery</a> as an example</p>
<p><strong>Developer (unminified)</strong><br />
<a href="http://code.jquery.com/jquery-1.7.2.js">http://code.jquery.com/jquery-1.7.2.js</a></p>
<p><strong>Production (minified)</strong><br />
<a href="http://code.jquery.com/jquery-1.7.2.min.js">http://code.jquery.com/jquery-1.7.2.min.js</a></p>
<p>This is a great solution as not only do we get to see our learning / hackable file we are also saving a few bytes in the process (these all add up trust me).</p>
<p>An example that was shown to me is the CSS over at <a href="http://www.validatethis.co.uk/tag/github/" class="st_tag internal_tag" rel="tag" title="Posts tagged with github">Github</a> (<a href="http://goo.gl/KWfDR" target="_blank">http://goo.gl/KWfDR</a>). If you take a look at the file name you can see that this is a bundle of lots of different css files. In this case it would make sense that there isn&#8217;t an unminified version as this will be generated in a build process. This doesn&#8217;t mean that we cant improve on it though, and again there is already a solution for minifying things but being able to see the originals.</p>
<p>Take a look at the second example from <a href="http://www.validatethis.co.uk/tag/facebook/" class="st_tag internal_tag" rel="tag" title="Posts tagged with facebook">Facebook</a> (<a href="http://goo.gl/TSnHa" target="_blank">http://goo.gl/TSnHa</a>). This again looks like a script that was built but there is just 1 comment line at the top that includes two numbers (or one really big one). This may just be the 2 original files that went into creating this file?</p>
<p>One solution to all of this is <strong>source mapping</strong> which was recently introduced in Chrome. It allows build/compile scripts to leave a note in the resulting file that tells the IDE what files made up the document. Using this would mean it doesn&#8217;t matter if we have a .max file or not. Source mapping would need to be bought over for CSS but you get the picture.</p>
<p>Read the great <a href="http://www.html5rocks.com/en/tutorials/developertools/sourcemaps/">Introduction to Javascript Source Maps</a> by <a href="http://www.html5rocks.com/profiles/#ryanseddon">Ryan Seddon</a>.</p>
<h2> Final thoughts</h2>
<p>I agree with just about everything Dan says expect for the min / max part as he makes a great argument and covers most of the concerns raised by everyone.</p>
<p>I do believe that if we have to ask everyone to change their default behaviour then things like this will never take off though. Just sticking with removing the .min to get the full version is the way it has always been? Although this is only my opinion I am open to see what other people think of this.</p>
<p>It would be great to see CSS Source mapping in Chrome and other browsers as then anyone looking to learn from your code can then go straight to the good stuff. This would also mean we don&#8217;t have to sorry what a file is called.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.validatethis.co.uk/news/is-max-css-the-right-way-to-go/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Perfect Cookie Law Solution</title>
		<link>http://www.validatethis.co.uk/news/perfect-cookie-law-solution/</link>
		<comments>http://www.validatethis.co.uk/news/perfect-cookie-law-solution/#comments</comments>
		<pubDate>Wed, 30 May 2012 11:14:37 +0000</pubDate>
		<dc:creator>Aaron Layton</dc:creator>
				<category><![CDATA[News]]></category>

		<guid isPermaLink="false">http://www.validatethis.co.uk/?p=517</guid>
		<description><![CDATA[A colleague (Matt Juffs) sent me a link this morning to an awesome weekend project by the guys over at Smore. They have re-created Clippy (and his friends) in Javascript and he is ready to be used in any of your &#8230; <a href="http://www.validatethis.co.uk/news/perfect-cookie-law-solution/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>A colleague (<a title="Matt Juffs on Twitter" href="https://twitter.com/#!/slickhouse" target="_blank">Matt Juffs</a>) sent me a link this morning to an awesome weekend project by the guys over at <a title="Clippy JS" href="http://www.smore.com/clippy-js" target="_blank">Smore</a>. They have re-created Clippy (and his friends) in <a href="http://www.validatethis.co.uk/tag/javascript/" class="st_tag internal_tag" rel="tag" title="Posts tagged with Javascript">Javascript</a> and he is ready to be used in any of your future projects.</p>
<p>They have spent a lot of time on this as each of the characters has a full list of their animations and you can even make them speak.</p>
<p><img class="aligncenter size-medium wp-image-518 colorbox-517" title="ClippyJS" src="http://www.validatethis.co.uk/wp-content/uploads/2012/05/clippy-300x243.jpg" alt="ClippyJS" width="300" height="243" /></p>
<p>We got talking about how annoying Clippy used to be and then (<a title="Trevor D-Thrope on Twitter" href="https://twitter.com/#!/AntiSilence666" target="_blank">Trevor D-Thorpe</a>) suggested that Clippy could be used for Cookie Control.</p>
<p>That&#8217;s where I came in with a quick page mockup. Take a look at the example but please note this does nothing but annoys the end user (no cookies are <em>controlled</em>).</p>
<p style="text-align: center;"><a class="coolButton" title="Clippy Cookie" href="http://www.validatethis.co.uk/playground/cookies/">Clippy Cookie</a></p>
<p>This is exactly what the web has come to with the new EU Law, forcing annoying popups and/or notifications regarding privacy. Surely there should be a better way?<br />
What are your thoughts on the new law? I agree that there should be some control of our data, but I don&#8217;t agree that all site operators should be forced to put something on their site. What solutions has everyone else started using, is there a really good universal one? or are you rolling your own? Let me know in the comments.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.validatethis.co.uk/news/perfect-cookie-law-solution/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Live Redesign</title>
		<link>http://www.validatethis.co.uk/news/live-redesign/</link>
		<comments>http://www.validatethis.co.uk/news/live-redesign/#comments</comments>
		<pubDate>Sun, 13 May 2012 09:12:28 +0000</pubDate>
		<dc:creator>Aaron Layton</dc:creator>
				<category><![CDATA[News]]></category>

		<guid isPermaLink="false">http://www.validatethis.co.uk/?p=403</guid>
		<description><![CDATA[It&#8217;s this time already and I am about to start chopping the new design. I have taken a local copy of all the server files and have setup everything so as soon as I press save the file is automatically &#8230; <a href="http://www.validatethis.co.uk/news/live-redesign/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>It&#8217;s this time already and I am about to start chopping the new design. I have taken a local copy of all the server files and have setup everything so as soon as I press save the file is automatically uploaded back to the server.</p>
<p>I can&#8217;t wait to see the new design up and running so I&#8217;m going to get started, underneath here should be the live blog section where I will post small updates to what I am doing. I will keep my eyes on the comments if you have any questions.</p>
<p>Thank you for coming to check my progress and please remember to share this with as many people as you can.</p>
<script type="text/javascript">
               /*<![CDATA[ */
                setTimeout(function(){live_blogging_poll("403");}, 15000)
               /*]]&gt;*/
               </script><div id="liveblog-403"><div id="liveblog-entry-507"><p><strong>19.32</strong></p><p>Im just working on the post titles right now</p>
<div style="width:100%; height:1px; background-color:#6f6f6f; margin-bottom:3px;"></div></div><div id="liveblog-entry-506"><p><strong>19.32</strong></p><p>The LIVE redesign of ValidateThis is coming along nicely. Just been adding some more behind the scene bits</p>
<div style="width:100%; height:1px; background-color:#6f6f6f; margin-bottom:3px;"></div></div><div id="liveblog-entry-499"><p><strong>14.06</strong></p><p>The header is coming along nicely, still not sure on this menu. Will it do for now?</p>
<div style="width:100%; height:1px; background-color:#6f6f6f; margin-bottom:3px;"></div></div><div id="liveblog-entry-498"><p><strong>12.46</strong></p><p>Just messing around with the header and my mountain like effect. z-indexing used to be hard but I find it really easy now</p>
<div style="width:100%; height:1px; background-color:#6f6f6f; margin-bottom:3px;"></div></div><div id="liveblog-entry-497"><p><strong>11.57</strong></p><p>Ok it&#8217;s setup but I will re-active it only when it is needed</p>
<div style="width:100%; height:1px; background-color:#6f6f6f; margin-bottom:3px;"></div></div><div id="liveblog-entry-495"><p><strong>11.47</strong></p><p>This cookie control is stupid. The web should be open and about Conventions not Requirements</p>
<div style="width:100%; height:1px; background-color:#6f6f6f; margin-bottom:3px;"></div></div><div id="liveblog-entry-493"><p><strong>11.35</strong></p><p>Just adding in some Cookie control to ValidateThis to make sure I comply with the new EU Law <img src='http://www.validatethis.co.uk/wp-includes/images/smilies/icon_sad.gif' alt=':-(' class='wp-smiley colorbox-403' /> </p>
<div style="width:100%; height:1px; background-color:#6f6f6f; margin-bottom:3px;"></div></div><div id="liveblog-entry-492"><p><strong>11.31</strong></p><p>Woah that looks funky&#8230; A massive header!</p>
<div style="width:100%; height:1px; background-color:#6f6f6f; margin-bottom:3px;"></div></div><div id="liveblog-entry-489"><p><strong>09.15</strong></p><p>What&#8217;s everyone upto today? I&#8217;m just about to start working on <a href="http://www.validatethis.co.uk">http://www.validatethis.co.uk</a> again, getting closer to finishing it</p>
<div style="width:100%; height:1px; background-color:#6f6f6f; margin-bottom:3px;"></div></div><div id="liveblog-entry-474"><p><strong>21.43</strong></p><p>Had to resort to an extra div but the end effect is there&#8230; I bet this looks horrible on a mobile upto yet haha</p>
<div style="width:100%; height:1px; background-color:#6f6f6f; margin-bottom:3px;"></div></div><div id="liveblog-entry-473"><p><strong>21.28</strong></p><p>The share box looks great here <a href="http://www.validatethis.co.uk/news/join-along-with-our-live-redesign/">http://www.validatethis.co.uk/news/join-along-with-our-live-redesign/</a> but Im having to rethink, try liking on FB, ideas?</p>
<div style="width:100%; height:1px; background-color:#6f6f6f; margin-bottom:3px;"></div></div><div id="liveblog-entry-471"><p><strong>20.58</strong></p><p>Now to get rid of the AddThis <a href="http://www.validatethis.co.uk/tag/wordpress-tutorials/" class="st_tag internal_tag" rel="tag" title="Posts tagged with Wordpress">wordpress</a> plugin as it seems to be added to every Liveblog entry aswell</p>
<div style="width:100%; height:1px; background-color:#6f6f6f; margin-bottom:3px;"></div></div><div id="liveblog-entry-470"><p><strong>20.57</strong></p><p>Ok I think that&#8217;s good, what you think? looks better in firefox <a href="http://www.validatethis.co.uk/news/join-along-with-our-live-redesign/">http://www.validatethis.co.uk/news/join-along-with-our-live-redesign/</a></p>
<div style="width:100%; height:1px; background-color:#6f6f6f; margin-bottom:3px;"></div></div><div id="liveblog-entry-469"><p><strong>20.43</strong></p><p>Check out the new share box in Firefox and then Chrome&#8230; Firefox seems to do a better job at clipping <img src='http://www.validatethis.co.uk/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley colorbox-403' /> </p>
<div style="width:100%; height:1px; background-color:#6f6f6f; margin-bottom:3px;"></div></div><div id="liveblog-entry-468"><p><strong>20.19</strong></p><p>Points to anyone who knows the best way to vertical align text inside a single element. Not wanting line-height as it could be 2 lines</p>
<div style="width:100%; height:1px; background-color:#6f6f6f; margin-bottom:3px;"></div></div><div id="liveblog-entry-467"><p><strong>20.12</strong></p><p>Want to follow along with what I&#8217;m working on? Go to a single blog entry (not the homepage). Just before the comments <img src='http://www.validatethis.co.uk/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley colorbox-403' /> </p>
<div style="width:100%; height:1px; background-color:#6f6f6f; margin-bottom:3px;"></div></div><div id="liveblog-entry-466"><p><strong>20.05</strong></p><p>And were back, LIVE redesign of <a href="http://www.validatethis.co.uk">http://www.validatethis.co.uk</a> Day 3 is gonna be a short one but its a labor of love so why not get a few hours in?</p>
<div style="width:100%; height:1px; background-color:#6f6f6f; margin-bottom:3px;"></div></div><div id="liveblog-entry-462"><p><strong>21.51</strong></p><p>I have just identified a problem with the site that is affecting speed, but I will do all the speed optimizations in one go</p>
<div style="width:100%; height:1px; background-color:#6f6f6f; margin-bottom:3px;"></div></div><div id="liveblog-entry-461"><p><strong>21.31</strong></p><p>Just about to setup #Chrome remote debugging on my #<a href="http://www.validatethis.co.uk/tag/android/" class="st_tag internal_tag" rel="tag" title="Posts tagged with Android">Android</a> <a href="http://www.validatethis.co.uk/tag/tablet/" class="st_tag internal_tag" rel="tag" title="Posts tagged with Tablet">tablet</a>. Gotta love these features thanks @paul_irish @ChromiumDev @googlechrome</p>
<div style="width:100%; height:1px; background-color:#6f6f6f; margin-bottom:3px;"></div></div><div id="liveblog-entry-460"><p><strong>21.11</strong></p><p>A nice and simple footer for <a href="http://www.validatethis.co.uk">http://www.validatethis.co.uk</a></p>
<div style="width:100%; height:1px; background-color:#6f6f6f; margin-bottom:3px;"></div></div><div id="liveblog-entry-459"><p><strong>20.03</strong></p><p>Its looking good up to yet, now onto the footer text and logo</p>
<div style="width:100%; height:1px; background-color:#6f6f6f; margin-bottom:3px;"></div></div><div id="liveblog-entry-457"><p><strong>19.37</strong></p><p>I&#8217;m just working on the footer now, check out the <a href="http://www.validatethis.co.uk/tag/css/" class="st_tag internal_tag" rel="tag" title="Posts tagged with CSS">CSS</a>3 circles complete with clipping</p>
<div style="width:100%; height:1px; background-color:#6f6f6f; margin-bottom:3px;"></div></div><div id="liveblog-entry-456"><p><strong>18.43</strong></p><p>Pc&#8230;. sooo&#8230;. slow&#8230;</p>
<div style="width:100%; height:1px; background-color:#6f6f6f; margin-bottom:3px;"></div></div><div id="liveblog-entry-453"><p><strong>17.48</strong></p><p>Ooohhh it looks pretty being all dark! O_o</p>
<div style="width:100%; height:1px; background-color:#6f6f6f; margin-bottom:3px;"></div></div><div id="liveblog-entry-452"><p><strong>17.03</strong></p><p>The white theme is growing on me, so I will create a theme option to easily switch back if I want to. TwentyEleven has these built in</p>
<div style="width:100%; height:1px; background-color:#6f6f6f; margin-bottom:3px;"></div></div><div id="liveblog-entry-450"><p><strong>16.39</strong></p><p>Just about to start working on <a href="http://www.validatethis.co.uk">www.validatethis.co.uk</a> again in my live redesign. Just getting a plan together for the next step and mobile</p>
<div style="width:100%; height:1px; background-color:#6f6f6f; margin-bottom:3px;"></div></div><div id="liveblog-entry-442"><p><strong>23.11</strong></p><p>Well <a href="http://www.validatethis.co.uk/tag/work/" class="st_tag internal_tag" rel="tag" title="Posts tagged with Work">work</a> on <a href="http://www.validatethis.co.uk">www.validatethis.co.uk</a> is done for the day. I will pick up where I left off after work tomorrow. What do you think upto yet?</p>
<div style="width:100%; height:1px; background-color:#6f6f6f; margin-bottom:3px;"></div></div><div id="liveblog-entry-440"><p><strong>20.31</strong></p><p>Now to add a background vignette effect. Anyone see any examples of this in the wild?</p>
<div style="width:100%; height:1px; background-color:#6f6f6f; margin-bottom:3px;"></div></div><div id="liveblog-entry-437"><p><strong>19.49</strong></p><p>Ok so the sidebar is complete now, minus a few tweaks, but the look of it is there, check it out <a href="http://www.validatethis.co.uk/">http://www.validatethis.co.uk/</a></p>
<div style="width:100%; height:1px; background-color:#6f6f6f; margin-bottom:3px;"></div></div><div id="liveblog-entry-434"><p><strong>19.02</strong></p><p>That&#8217;s both of the <a href="http://www.validatethis.co.uk/tag/twitter/" class="st_tag internal_tag" rel="tag" title="Posts tagged with twitter">Twitter</a> box&#8217;s complete, along with <a href="http://www.validatethis.co.uk/tag/custom/" class="st_tag internal_tag" rel="tag" title="Posts tagged with custom">custom</a> <a href="http://www.validatethis.co.uk/tag/js/" class="st_tag internal_tag" rel="tag" title="Posts tagged with js">JS</a>.. What do you think?
<div class="liveblog-image"><img width="279" height="282" src="http://www.validatethis.co.uk/wp-content/uploads/2012/05/tweetsbox.png" class="attachment-large colorbox-403" alt="tweetsbox" title="tweetsbox" /></div>
<div style="width:100%; height:1px; background-color:#6f6f6f; margin-bottom:3px;"></div></div><div id="liveblog-entry-432"><p><strong>17.46</strong></p><p>That took longer than I though, but I now have a list of recent followers, quick share to all your friends so they can be on it</p>
<div style="width:100%; height:1px; background-color:#6f6f6f; margin-bottom:3px;"></div></div><div id="liveblog-entry-430"><p><strong>16.52</strong></p><p>Just creating some <a href="http://www.validatethis.co.uk/tag/javascript/" class="st_tag internal_tag" rel="tag" title="Posts tagged with Javascript">Javascript</a> / <a href="http://www.validatethis.co.uk/tag/jquery/" class="st_tag internal_tag" rel="tag" title="Posts tagged with jQuery">jQuery</a> to get a list of my recent followers and display then just how I want them <img src='http://www.validatethis.co.uk/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley colorbox-403' /> </p>
<div style="width:100%; height:1px; background-color:#6f6f6f; margin-bottom:3px;"></div></div><div id="liveblog-entry-426"><p><strong>15.56</strong></p><p>It need some tweaking but it works now, AuthorBox complete http://goo.gl/kUgZo @andrewbeniston</p>
<div style="width:100%; height:1px; background-color:#6f6f6f; margin-bottom:3px;"></div></div><div id="liveblog-entry-425"><p><strong>15.37</strong></p><p>Now the author box is dynamic lets test it for a different user! @andrewbeniston</p>
<div style="width:100%; height:1px; background-color:#6f6f6f; margin-bottom:3px;"></div></div><div id="liveblog-entry-421"><p><strong>14.57</strong></p><p>Just getting the user data in <a href="http://www.validatethis.co.uk/tag/wordpress-tutorials/" class="st_tag internal_tag" rel="tag" title="Posts tagged with Wordpress">wordpress</a> with a set variable and falling back to a default profile if its not set $curauth = ($currentAuthor) ? get_user_by(&#8216;id&#8217;, $currentAuthor) : get_user_by(&#8216;id&#8217;, 2);</p>
<div style="width:100%; height:1px; background-color:#6f6f6f; margin-bottom:3px;"></div></div><div id="liveblog-entry-418"><p><strong>14.43</strong></p><p>That&#8217;s the static version done, now to make it dynamic. Still want one extra effect but it can wait until later today
<div class="liveblog-image"><img width="344" height="221" src="http://www.validatethis.co.uk/wp-content/uploads/2012/05/authorbox.png" class="attachment-large colorbox-403" alt="authorbox" title="authorbox" /></div>
<div style="width:100%; height:1px; background-color:#6f6f6f; margin-bottom:3px;"></div></div><div id="liveblog-entry-417"><p><strong>14.18</strong></p><p>I can already see where I can optimize thing, but I will leave them for now and write them in to articles explaining why</p>
<div style="width:100%; height:1px; background-color:#6f6f6f; margin-bottom:3px;"></div></div><div id="liveblog-entry-416"><p><strong>13.40</strong></p><p>Check out my pure #<a href="http://www.validatethis.co.uk/tag/css/" class="st_tag internal_tag" rel="tag" title="Posts tagged with CSS">css</a>3 hello my name is sticker http://goo.gl/2mycp, nearly finished with the author box now</p>
<div style="width:100%; height:1px; background-color:#6f6f6f; margin-bottom:3px;"></div></div><div id="liveblog-entry-415"><p><strong>13.00</strong></p><p>Chopping sprites is fun! Just got all the images ready for the author box</p>
<div style="width:100%; height:1px; background-color:#6f6f6f; margin-bottom:3px;"></div></div><div id="liveblog-entry-414"><p><strong>11.57</strong></p><p>Base widget styling is done, onto my new author box, static at first then make dynamic with <a href="http://www.validatethis.co.uk/tag/wordpress-tutorials/" class="st_tag internal_tag" rel="tag" title="Posts tagged with Wordpress">wordpress</a> author info</p>
<div style="width:100%; height:1px; background-color:#6f6f6f; margin-bottom:3px;"></div></div><div id="liveblog-entry-413"><p><strong>11.42</strong></p><p>The widget area is coming along nicely, just added some <a href="http://www.validatethis.co.uk/tag/css3/" class="st_tag internal_tag" rel="tag" title="Posts tagged with css3">CSS3</a> transitions but only working in #ff at the minute</p>
<div style="width:100%; height:1px; background-color:#6f6f6f; margin-bottom:3px;"></div></div><div id="liveblog-entry-412"><p><strong>11.07</strong></p><p>The widget sidebar is coming along nicely, still some tweaking needed</p>
<div style="width:100%; height:1px; background-color:#6f6f6f; margin-bottom:3px;"></div></div><div id="liveblog-entry-409"><p><strong>10.22</strong></p><p>Working through someone else&#8217;s theme is weird at first, until you start getting your <a href="http://www.validatethis.co.uk/tag/head/" class="st_tag internal_tag" rel="tag" title="Posts tagged with head">head</a> around it</p>
<div style="width:100%; height:1px; background-color:#6f6f6f; margin-bottom:3px;"></div></div><div id="liveblog-entry-408"><p><strong>09.27</strong></p><p>First, copy the TwentyEleven theme as a starting point and customize the settings</p>
<div style="width:100%; height:1px; background-color:#6f6f6f; margin-bottom:3px;"></div></div><div id="liveblog-entry-406"><p><strong>09.13</strong></p><p>Testing, testing, 1,2,3! Does the liveblog <a href="http://www.validatethis.co.uk/tag/work/" class="st_tag internal_tag" rel="tag" title="Posts tagged with Work">work</a>?</p>
<div style="width:100%; height:1px; background-color:#6f6f6f; margin-bottom:3px;"></div></div></div>
]]></content:encoded>
			<wfw:commentRss>http://www.validatethis.co.uk/news/live-redesign/feed/</wfw:commentRss>
		<slash:comments>26</slash:comments>
		</item>
		<item>
		<title>Join along with our Live Redesign</title>
		<link>http://www.validatethis.co.uk/news/join-along-with-our-live-redesign/</link>
		<comments>http://www.validatethis.co.uk/news/join-along-with-our-live-redesign/#comments</comments>
		<pubDate>Thu, 10 May 2012 18:29:58 +0000</pubDate>
		<dc:creator>Aaron Layton</dc:creator>
				<category><![CDATA[News]]></category>

		<guid isPermaLink="false">http://www.validatethis.co.uk/?p=382</guid>
		<description><![CDATA[What&#8217;s this madness you ask? I am in the process of redesigning things around here and I thought it may be fun to do something a little different. We&#8217;re all taught early on that we should never modify files that sit &#8230; <a href="http://www.validatethis.co.uk/news/join-along-with-our-live-redesign/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>What&#8217;s this madness you ask? I am in the process of redesigning things around here and I thought it may be fun to do something a little different.</p>
<p>We&#8217;re all taught early on that we should never modify files that sit directly on the server. This is because if something goes wrong then it means downtime, and when your site is mission critical (like an ecommerce site) then it can also mean loss of earnings. Having a visitor come to your site and see a 404 or worse a 500 could even damage your reputation.</p>
<h2>So why am I doing it</h2>
<p>You may have noticed, but the design that we use on ValidateThis is the default <a href="http://www.validatethis.co.uk/tag/wordpress-tutorials/" class="st_tag internal_tag" rel="tag" title="Posts tagged with Wordpress">WordPress</a> theme &#8216;Twenty Eleven 1.3&#8242;, it&#8217;s nice but a little boring at the same time. I wanted to make the site a little more my own and in the process maybe write up something about chopping / <a href="http://www.validatethis.co.uk/tag/wordpress-tutorials/" class="st_tag internal_tag" rel="tag" title="Posts tagged with Wordpress">WordPress</a> theming.</p>
<p>I like creating front-end experiences through design and HTML/<a href="http://www.validatethis.co.uk/tag/css/" class="st_tag internal_tag" rel="tag" title="Posts tagged with CSS">CSS</a>/<a href="http://www.validatethis.co.uk/tag/js/" class="st_tag internal_tag" rel="tag" title="Posts tagged with js">JS</a> and I thought it would be nice to somehow share this process with everyone else.</p>
<h2>What will we see</h2>
<div id="attachment_396" class="wp-caption alignright" style="width: 160px"><img class="size-full wp-image-396 colorbox-382" title="Under Construction" src="http://www.validatethis.co.uk/wp-content/uploads/2012/05/Under-Construction.gif" alt="" width="150" height="150" /><p class="wp-caption-text">Can you remember when all sites had one of these?</p></div>
<p>Anyone that is visiting the site during the live redesign will see all the changes I am making as I am making them (or at least when I save the file).</p>
<p>Nothing has been chopped or CSS&#8217;d before hand so when I am creating the widgets for the sidebars you will essentially be able to see me building them up from just a div to the finished style. I&#8217;m hoping that anyone on the site will get a glimpse of the thought processes and will be able to see the new design take shape along the way.</p>
<p>If I am changing <a href="http://www.validatethis.co.uk/tag/php/" class="st_tag internal_tag" rel="tag" title="Posts tagged with PHP">PHP</a> behind the scenes or doing anything I deem technical then I will update the live blog to try and explain it as I go along. It would be great to get feedback from the community at these points to see if they would do anything different or where I could improve.</p>
<p>I am not putting any time frame on completing this task and I expect that I will be working on it for about a week as I will be doing it after working hours. I will try and answer any questions left in the comments so if you are unsure of why I did something, or think I have messed something up then let me know.</p>
<p>There are still some things that I have not fully decided on so I am also open to suggestions / feedback and critique.</p>
<p>So if you like checking out other people <a href="http://www.validatethis.co.uk/tag/work/" class="st_tag internal_tag" rel="tag" title="Posts tagged with Work">work</a> in HTML / CSS or seeing how certain things are done in JS then you should enjoy this.<em><strong> I am also leaving some &#8216;Easter eggs&#8217; around the site</strong></em> for like minded people, if you spot one then make sure you <strong><a title="Tell everyone about my Easter Eggs" href="https://twitter.com/intent/tweet?source=webclient&amp;text=Geeky+website+easter+eggs%2C+yes+please!+Watch+%40AaronLayton+as+he+redesigns+%2F+chops+%23Validatethis+Live+http%3A%2F%2Fgoo.gl%2F2mycp " target="_blank">Tweet about it</a>!</strong></p>
<h2>Questions?</h2>
<ul>
<li><em><strong>Can we see the design now</strong></em><br />
Nope, you will see it come together as I am building it, more exciting this way</li>
<li><em><strong>Will you be starting from fresh or building on top of Twenty Eleven</strong></em><br />
I am undecided yet, know any good WordPress boilerplate themes?</li>
<li><em><strong>When will work start</strong></em><br />
Some time this Sunday 13th May after I have woken up and enjoyed an English breakfast</li>
<li><em><strong>What technologies do you plan on using</strong></em><br />
All of them!! The site will be built in <a href="http://www.validatethis.co.uk/tag/html5/" class="st_tag internal_tag" rel="tag" title="Posts tagged with HTML5">HTML5</a> and I will utilize <a href="http://www.validatethis.co.uk/tag/css3/" class="st_tag internal_tag" rel="tag" title="Posts tagged with css3">CSS3</a> where needed. <a href="http://www.validatethis.co.uk/tag/jquery/" class="st_tag internal_tag" rel="tag" title="Posts tagged with jQuery">jQuery</a> will be used on the site but I am going to try and keep everything modular. I plan on using ajax calls, transitions, minifications, sprites etc&#8230;</li>
<li><em><strong>What if the site breaks or looks funny</strong></em><br />
This is bound to happen, just refresh as I will be working on that section</li>
<li><em><strong>I have a question</strong></em><br />
Just leave it in the comments and I will add it to this list</li>
</ul>
<h2>OK now you know the plan I am going to go back to my design and start planning ahead. Still think this is crazy? <a title="Spread the word with a tweet" href="https://twitter.com/intent/tweet?source=webclient&amp;text=Woah!+%40AaronLayton+is+crazy%2C+watch+as+he+redesigns+%2F+chops+%23Validatethis+Live+http%3A%2F%2Fgoo.gl%2F2mycp" target="_blank">Spread the word with a tweet</a>.</h2>
<p>I hope to see you all on Sunday,</p>
]]></content:encoded>
			<wfw:commentRss>http://www.validatethis.co.uk/news/join-along-with-our-live-redesign/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: basic
Database Caching using disk: basic
Object Caching 18379/18404 objects using disk: basic

Served from: www.validatethis.co.uk @ 2013-05-22 13:47:21 -->