<?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>Psyked &#187; HTML</title>
	<atom:link href="http://www.psyked.co.uk/category/html/feed" rel="self" type="application/rss+xml" />
	<link>http://www.psyked.co.uk</link>
	<description></description>
	<lastBuildDate>Fri, 27 Jan 2012 15:02:36 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Improving your website with Nibbler</title>
		<link>http://www.psyked.co.uk/html/improving-your-website-with-nibbler.htm</link>
		<comments>http://www.psyked.co.uk/html/improving-your-website-with-nibbler.htm#comments</comments>
		<pubDate>Mon, 14 Nov 2011 07:30:29 +0000</pubDate>
		<dc:creator>James</dc:creator>
				<category><![CDATA[HTML]]></category>
		<category><![CDATA[External links]]></category>
		<category><![CDATA[nibbler]]></category>
		<category><![CDATA[Validation]]></category>

		<guid isPermaLink="false">http://www.psyked.co.uk/?p=1446</guid>
		<description><![CDATA[If you haven&#8217;t encountered Nibbler before, Nibbler is a free-to-use website quality checker.  It&#8217;s developed and maintained by Silktide, and is a tool for checking up to 5 pages of a website against 20 different quality checks &#8211; from Social Media to W3C compliance, Alternative text to Semantic HTML. You can test any website &#8211; [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-full wp-image-1447" title="I love Nibbler" src="http://uploads.psyked.co.uk//2011/11/love-nibbler.png" alt="" width="500" height="280" /></p>
<p>If you haven&#8217;t encountered <a title="Visit the Nibbler website." href="http://nibbler.silktide.com/">Nibbler</a> before, Nibbler is a free-to-use website quality checker.  It&#8217;s developed and maintained by <a href="http://www.silktide.com/">Silktide</a>, and is a tool for checking up to 5 pages of a website against 20 different quality checks &#8211; from Social Media to W3C compliance, Alternative text to Semantic HTML.</p>
<p><span id="more-1446"></span> You can test any website &#8211; be it your own or a competitors&#8217; website, and you&#8217;ll get the results from of a wide range of tests returned to you with both a grade, from 0.0  to a perfect 10, along with some background information and suggestions for improvement. Pretty neat, eh?</p>
<p><a href="http://nibbler.silktide.com/reports/www.psyked.co.uk">See how well Psyked.co.uk does on Nibbler.</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.psyked.co.uk/html/improving-your-website-with-nibbler.htm/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Hacking Facebook &#8220;Like&#8221; buttons for W3C Validation in HTML5</title>
		<link>http://www.psyked.co.uk/html/hacking-facebook-like-buttons-for-w3c-validation-in-html5.htm</link>
		<comments>http://www.psyked.co.uk/html/hacking-facebook-like-buttons-for-w3c-validation-in-html5.htm#comments</comments>
		<pubDate>Fri, 11 Nov 2011 00:11:03 +0000</pubDate>
		<dc:creator>James</dc:creator>
				<category><![CDATA[HTML]]></category>
		<category><![CDATA[Facebook]]></category>
		<category><![CDATA[hacks]]></category>
		<category><![CDATA[HTML5]]></category>
		<category><![CDATA[Validation]]></category>

		<guid isPermaLink="false">http://So,itturnsoutthatthegoodoldFacebook&#039;Like&#039;buttonsandGoogle&#039;s&#039;Plusone&#039;buttonsdon&#039;tbehavewellonHTML5formatwebsites.That&#039;sbecausetheymakeuseofXHTMLandnamespaces.Sure,mixingXHTMLandHTML5togetheronasinglepageworksjust</guid>
		<description><![CDATA[So, it turns out that the good old Facebook &#8216;Like&#8217; buttons and Google&#8217;s &#8216;Plus one&#8217; buttons don&#8217;t behave well on HTML5 format websites. That&#8217;s because they make use of XHTML and namespaces. Sure, mixing XHTML and HTML5 together on a single page works just fine for the end-user, but when it comes to validating your [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://uploads.psyked.co.uk//2011/11/html5-facebook.png" alt="" title="HTML5 &amp; Facebook" width="500" height="280" class="alignnone size-full wp-image-1437" /></p>
<p>So, it turns out that the good old Facebook &#8216;Like&#8217; buttons and Google&#8217;s &#8216;Plus one&#8217; buttons don&#8217;t behave well on HTML5 format websites. That&#8217;s because they make use of XHTML and namespaces. Sure, mixing XHTML and HTML5 together on a single page works just fine for the end-user, but when it comes to validating your pages on the W3C, it just won&#8217;t work.</p>
<p>What&#8217;s the &#8216;solution&#8217;? Why, hacking it, of course. Take the code for those elements out of the source, and embed it with JavaScript instead.  And it doesn&#8217;t have to be complex either &#8211; you can use inline JavaScript code.</p>
<p>Wrap your button embed HTML in a &lt;script&gt; tag, add a CDATA block, and encompass it in a <code>document.write()</code> function, and you&#8217;re done.</p>
<p>So this code:<br />
<script src="https://gist.github.com/1356698.js"></script></p>
<p>Becomes this code:<br />
<script src="https://gist.github.com/1356694.js"></script></p>
<p>Of course, this being a hack, I can&#8217;t really speak for this being good practice, but it works.  Evaluating the pitfalls will come later, I&#8217;m sure!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.psyked.co.uk/html/hacking-facebook-like-buttons-for-w3c-validation-in-html5.htm/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Link: Flash, Google, VP8, and the future of internet video</title>
		<link>http://www.psyked.co.uk/html/link-flash-google-vp8-and-the-future-of-internet-video.htm</link>
		<comments>http://www.psyked.co.uk/html/link-flash-google-vp8-and-the-future-of-internet-video.htm#comments</comments>
		<pubDate>Wed, 12 May 2010 12:27:09 +0000</pubDate>
		<dc:creator>James</dc:creator>
				<category><![CDATA[HTML]]></category>
		<category><![CDATA[Flash Video]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[Interesting and very thorough post on the history, state of play and possible motivations for the row over Flash and HTML5 video &#8211; formats, patents, support; that kind of thing. http://x264dev.multimedia.cx/?p=292]]></description>
			<content:encoded><![CDATA[<p>Interesting and very thorough post on the history, state of play and possible motivations for the row over Flash and HTML5 video &#8211; formats, patents, support; that kind of thing.</p>
<p><a href="http://x264dev.multimedia.cx/?p=292" target="_blank">http://x264dev.multimedia.cx/?p=292</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.psyked.co.uk/html/link-flash-google-vp8-and-the-future-of-internet-video.htm/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>So, what can you do with HTML5?</title>
		<link>http://www.psyked.co.uk/html/so-what-can-you-do-with-html5.htm</link>
		<comments>http://www.psyked.co.uk/html/so-what-can-you-do-with-html5.htm#comments</comments>
		<pubDate>Wed, 14 Apr 2010 08:29:57 +0000</pubDate>
		<dc:creator>James</dc:creator>
				<category><![CDATA[HTML]]></category>
		<category><![CDATA[HTML5]]></category>
		<category><![CDATA[Internet Explorer]]></category>

		<guid isPermaLink="false">http://Forallthebuzzit&#039;sgetting,you&#039;dthinkHTML5wasanavalancheofnewfeaturescrashingaroundtheweb. Seemsmorelikethefirstsnowoftheyear-youknow;theoneeveryonehopeswillheralddaysoffworkandsnowballfights,butthenmeltsawayo</guid>
		<description><![CDATA[For all the buzz it&#8217;s getting, you&#8217;d think HTML5 was an avalanche of new features crashing around the web.  Seems more like the first snow of the year &#8211; you know; the one everyone hopes will herald days off work and snowball fights, but then melts away overnight.  So I thought it was time I [...]]]></description>
			<content:encoded><![CDATA[<p>For all the buzz it&#8217;s getting, you&#8217;d think HTML5 was an avalanche of new features crashing around the web.  Seems more like the first snow of the year &#8211; you know; the one everyone hopes will herald days off work and snowball fights, but then melts away overnight.  So I thought it was time I got off my ass and learned a bit more about HTML5 to see if it&#8217;s really all people say it is.</p>
<p>First things first &#8211; <strong>what features actually make up HTML5, and how widely supported are they?<br />
<span style="font-weight: normal;">Turns out, there&#8217;s already a site which tracks the features and their browser support:</span></strong></p>
<p><a href="http://www.findmebyip.com/litmus" target="_blank"><img class="alignnone size-full wp-image-1203" title="Litmus HTML5" src="http://uploads.psyked.co.uk/2010/04/litmus.png" alt="" width="500" height="280" /></a></p>
<p><a href="http://www.findmebyip.com/litmus" target="_blank">http://www.findmebyip.com/litmus</a></p>
<p>HTML5 is made up of a lot of things &#8211; storage, offline modes, video, audio, dynamic drawing, clever forms.  Make sense I guess &#8211; HTML5 is a cherry-picked set of features we can implement already with plugins and javascript.  Reading through the checklist it&#8217;s clear that there&#8217;s a couple of hands down winners on the adoption front, and total losers too.  None of them implement everything just yet though.</p>
<p><span id="more-1202"></span>CSS 3 is the most kick-ass part of the specification in my opinion &#8211; finally bringing things like native rounded corners, drop shadows and advanced dynamic graphics to the web.  The rest of it is all &#8216;meh&#8217; as it currently exists in acceptable formats.</p>
<h2>Is it practical? No.</h2>
<p>&#8220;Oh Internet Explorer, how your legacy haunts us.&#8221;<br />
If the <a href="http://en.wikipedia.org/wiki/Usage_share_of_web_browsers" target="_blank">browser adoption statistics</a> are to be believed &#8211; even the most pessimistic ones &#8211; Internet Explorer&#8217;s market share is not something to take lightly.  You can&#8217;t ignore 40-60% of your users because they use a browser that isn&#8217;t up to the same standard as its competitors.  I&#8217;d dearly like too, but I can&#8217;t.  Which means everything has to be developed without HTML5 &amp; CSS 3, either using browser targeting and using multiple styles and coding options, or developed to the lowest common denominator &#8211; IE.</p>
<p>You might say that things will eventually catch up &#8211; but considering IE6 is still at 10% market share, you&#8217;re always going to be developing something for IE6, or IE7, or IE8.  None of which have very much HTML5 support at all.  IE9 isn&#8217;t going to be available for users on Windows XP, which means the best they&#8217;ll ever get is IE8, which means&#8230; argh, this really isn&#8217;t going to work.</p>
<p>If we&#8217;re ever going to accept HTML5 as a development language for the web we&#8217;re just going to have to adopt a more fractured development style than we use right now &#8211; develop twice, deploy once (with browser targeting).  HTML5 is effectively never coming to Internet Explorer, and if it does; by the time it&#8217;s arrived it&#8217;ll be too late for the party.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.psyked.co.uk/html/so-what-can-you-do-with-html5.htm/feed</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Creating Outlook Calendar events through hyperlinks</title>
		<link>http://www.psyked.co.uk/html/creating-outlook-calendar-events-through-http-links.htm</link>
		<comments>http://www.psyked.co.uk/html/creating-outlook-calendar-events-through-http-links.htm#comments</comments>
		<pubDate>Thu, 07 Aug 2008 22:45:02 +0000</pubDate>
		<dc:creator>James</dc:creator>
				<category><![CDATA[HTML]]></category>
		<category><![CDATA[HTTP link]]></category>
		<category><![CDATA[iCalendar]]></category>
		<category><![CDATA[Outlook]]></category>

		<guid isPermaLink="false">http://Youmightn&#039;tthinkitwaspossible,thelackofimplimentationsyouseeforitonaday-to-daybasis,butactuallyyoucancreateCalendareventsforawiderangeofemail/organiserclientsusingtheiCalendarfileformat.Fromtheusers&#039;pointofvi</guid>
		<description><![CDATA[You mightn&#8217;t think it was possible, the lack of implimentations you see for it on a day-to-day basis, but actually you can create Calendar events for a wide range of email / organiser clients using the iCalendar file format. From the users&#8217; point of view, your Calendar event appears as every other hyperlink does in [...]]]></description>
			<content:encoded><![CDATA[<p>You mightn&#8217;t think it was possible, the lack of implimentations you see for it on a day-to-day basis, but actually you can create Calendar events for a wide range of email / organiser clients using the iCalendar file format.</p>
<p>From the users&#8217; point of view, your Calendar event appears as every other hyperlink does in your html pages &#8211; but when they click on the link, instead of being taken to a new page, Outlook opens up an &#8216;add event&#8217; just as if they&#8217;d clicked on a meeting request (in Outlook).</p>
<p>From the developers&#8217; point of view, once you have your server configured correctly, it&#8217;s just a case of creating and linking to an .ics file instead of a .htm file &#8211; at which point the client&#8217;s email software should take over.</p>
<p><img class="alignnone size-full wp-image-276" title="icalendar" src="http://uploads.psyked.co.uk/2008/08/icalendar.jpg" alt="" width="500" height="280" /></p>
<h2>Does it work for me?</h2>
<p>I don&#8217;t know &#8211; try clicking on <a href="http://www.psyked.co.uk/icalendar.ics" target="_blank">this link</a>.  If MIME types are incorrectly set you&#8217;ll probably see a plain text file, and if you don&#8217;t have an application setup that&#8217;s compatable with iCalendar events, you&#8217;ll probably just be asked to save the file to your hard drive.</p>
<p><span id="more-265"></span></p>
<h2>How do you create a Calendar event then?</h2>
<p>First up, you need to sort out your MIME-types.  I&#8217;m not going into that because it can get a little too complex, but just make sure you have the file extension .ics registered under the MIME-type &#8220;<strong>text/calendar</strong>&#8221; &#8211; if you&#8217;re lucky it might already be setup!</p>
<p>Next, you need to make the actual file, which is simple in one sense and complex in another.  iCalendar files are plain text files, so you just need notepad or something to create them, but they do have a very specific format. Wikipedia has a very <a href="http://en.wikipedia.org/wiki/ICalendar#Core_object" target="_blank">simple example</a>, so we&#8217;re going to use that as a basis for our sample file.</p>
<p>So lets create a working example &#8211; and we&#8217;ll use the Flash on the Beach conference as a basis.</p>
<p>This is the example on Wikipedia;</p>
<pre>BEGIN:VCALENDAR
VERSION:2.0
PRODID:-//hacksw/handcal//NONSGML v1.0//EN
BEGIN:VEVENT
DTSTART:19970714T170000Z
DTEND:19970715T035959Z
SUMMARY:Bastille Day Party
END:VEVENT
END:VCALENDAR</pre>
<p>The framework we need to keep is pretty self explanitory &#8211; there&#8217;s elements like the beginning and ending of portions of the file, and a basic framework for the dates and summary.  According to the RFC iCalendar specification, VERSION and PRODID are both required, so we&#8217;ll leave those in also &#8211; which just leaves us with some customizing to do on the dates and summary information;</p>
<pre>BEGIN:VCALENDAR
VERSION:2.0
PRODID:-//hacksw/handcal//NONSGML v1.0//EN
BEGIN:VEVENT
DTSTART:20080928T000000Z
DTEND:20081001T000000Z
SUMMARY:Flash on the Beach 08 Conference
DESCRIPTION:Flash on the Beach 08 is here again!
Wow, Flash on the Beach is in it's third year already! FOTB06 was awesome,
FOTB07 was even better, and we are now pulling out all the stops to make
FOTB08 the best yet! We have the best talent around speaking, new speakers
to FOTB, the Inspired Sessions, workshops, parties and more! It's gonna rock!
END:VEVENT
END:VCALENDAR</pre>
<p>You can see that there&#8217;s practically no special formatting for the actual content &#8211; just plain text.  (Which is a shock after working with XML and CDATA for so long.)  And date formatting is just a condensed string &#8211; 1/11/2008, 15:30:00 just becomes 20081101T153000Z.</p>
<p>Whack that into notepad, change the file extension to .ics and you&#8217;re away!</p>
<h2>That&#8217;s it?</h2>
<p>That really is it. It&#8217;s an incredibly easy thing to customize &#8211; I&#8217;d really recommend you skim through the <a href="http://tools.ietf.org/html/rfc2445" target="_blank">spec for iCalendar</a> if you&#8217;re thinking of doing more clever things &#8211; there&#8217;s formats and properties that control priorities, due dates, durations, status, alarms, journal entries &#8211; practically everything that Outlook does (beyond emails) can be done with the iCalendar format.</p>
<h2>Resources</h2>
<ul>
<li><a href="http://en.wikipedia.org/wiki/ICalendar" target="_blank">iCalendar information on Wikipedia</a></li>
<li><a href="http://tools.ietf.org/html/rfc2445" target="_blank">iCalendar technical specification</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.psyked.co.uk/html/creating-outlook-calendar-events-through-http-links.htm/feed</wfw:commentRss>
		<slash:comments>24</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic (Feed is rejected)
Page Caching using disk: enhanced
Database Caching 1/29 queries in 0.014 seconds using disk: basic
Object Caching 745/790 objects using disk: basic

Served from: www.psyked.co.uk @ 2012-02-04 04:33:40 -->
