<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Do the Right Thing</title>
	<atom:link href="http://dotherightthing.co.nz/feed/" rel="self" type="application/rss+xml" />
	<link>http://dotherightthing.co.nz</link>
	<description>Setting the standard since &#039;99</description>
	<lastBuildDate>Sun, 20 Nov 2011 12:31:13 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='dotherightthing.co.nz' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Do the Right Thing</title>
		<link>http://dotherightthing.co.nz</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://dotherightthing.co.nz/osd.xml" title="Do the Right Thing" />
	<atom:link rel='hub' href='http://dotherightthing.co.nz/?pushpress=hub'/>
		<item>
		<title>eq.org.nz</title>
		<link>http://dotherightthing.co.nz/2011/02/27/eq-org-nz/</link>
		<comments>http://dotherightthing.co.nz/2011/02/27/eq-org-nz/#comments</comments>
		<pubDate>Sun, 27 Feb 2011 10:15:47 +0000</pubDate>
		<dc:creator>dotherightthing</dc:creator>
				<category><![CDATA[crisiscommons]]></category>
		<category><![CDATA[mapping]]></category>
		<category><![CDATA[volunteer]]></category>

		<guid isPermaLink="false">http://www.dotherightthing.co.nz/?p=216</guid>
		<description><![CDATA[The Christchurch Recovery Map is getting good press at the moment. Launched by a motivated team of IT volunteers, the site has become a great source of information for the residents of Christchurch, who were hit by a devasting magnitude &#8230; <a href="http://dotherightthing.co.nz/2011/02/27/eq-org-nz/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dotherightthing.co.nz&amp;blog=29625650&amp;post=216&amp;subd=dotherightthingnz&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>The <a href="http://eq.org.nz">Christchurch Recovery Map</a> is getting good press at the moment. Launched by a motivated team of IT volunteers, the site has become a great source of information for the residents of Christchurch, who were hit by a devasting magnitude 6.3 earthquake last Tuesday.</p>
<p>It&#8217;s a great example of intelligent people coming together to use technology in a selfless and positive way.</p>
<p>Check the site out at <a href="http://eq.org.nz">http://eq.org.nz</a>, and see how you can help @ <a href="http://volunteer.eq.org.nz/">http://volunteer.eq.org.nz/</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dotherightthingnz.wordpress.com/216/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dotherightthingnz.wordpress.com/216/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dotherightthingnz.wordpress.com/216/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dotherightthingnz.wordpress.com/216/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/dotherightthingnz.wordpress.com/216/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/dotherightthingnz.wordpress.com/216/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/dotherightthingnz.wordpress.com/216/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/dotherightthingnz.wordpress.com/216/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dotherightthingnz.wordpress.com/216/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dotherightthingnz.wordpress.com/216/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dotherightthingnz.wordpress.com/216/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dotherightthingnz.wordpress.com/216/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dotherightthingnz.wordpress.com/216/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dotherightthingnz.wordpress.com/216/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dotherightthing.co.nz&amp;blog=29625650&amp;post=216&amp;subd=dotherightthingnz&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://dotherightthing.co.nz/2011/02/27/eq-org-nz/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8ca090016793c018181cef9634b0715b?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">playgroundnz</media:title>
		</media:content>
	</item>
		<item>
		<title>IE-friendly HTML5</title>
		<link>http://dotherightthing.co.nz/2010/08/07/ie-friendly-html5/</link>
		<comments>http://dotherightthing.co.nz/2010/08/07/ie-friendly-html5/#comments</comments>
		<pubDate>Fri, 06 Aug 2010 13:32:02 +0000</pubDate>
		<dc:creator>dotherightthing</dc:creator>
				<category><![CDATA[browsers]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[html5]]></category>
		<category><![CDATA[ie6]]></category>
		<category><![CDATA[ie7]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://www.dotherightthing.co.nz/?p=134</guid>
		<description><![CDATA[I&#8217;m learning about HTML5 at the moment, and my current homework assignment is to retrofit a page in such a way that it uses valid HTML5 but also works in IE6: Make it validate as HTML5 Make sure you honor &#8230; <a href="http://dotherightthing.co.nz/2010/08/07/ie-friendly-html5/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dotherightthing.co.nz&amp;blog=29625650&amp;post=134&amp;subd=dotherightthingnz&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><a href="http://courses.sitepoint.com/html5-live">I&#8217;m learning about HTML5 at the moment</a>, and my current homework assignment is to retrofit a page in such a way that it uses valid HTML5 but also works in IE6:</p>
<p><q>Make it validate as HTML5</q><br />
<q>Make sure you honor the semantics of HTML5 as well</q><br />
<q>Make sure that whatever you use would also work in IE6 and up</q></p>
<p>Sounds fine in theory, but that last one&#8217;s actually a bit tricky, because IE6 and IE7 don&#8217;t know about HTML5 elements.</p>
<h2>HTML5 + IE6 + IE7 = <img src='http://s0.wp.com/wp-includes/images/smilies/icon_sad.gif' alt=':-(' class='wp-smiley' /> </h2>
<p>So if you do something like this:</p>
<p>[file lang="html" link="on"]code-snippets/ie-friendly-html5-1.txt[/file]</p>
<p>then IE thinks you mean</p>
<p>[file lang="html" link="on"]code-snippets/ie-friendly-html5-2.txt[/file]</p>
<p>which is totally not what you mean.. and your lovely styled HTML5 <code>header</code> will now collapse because it&#8217;s basically empty.</p>
<h2>Known workarounds: CSS or JavaScript</h2>
<p>There are workarounds, but to be honest, I&#8217;m not about to put my fellow developers through <a title="Styling HTML5 markup in IE without script" href="http://blog.whatwg.org/styling-ie-noscript">that kind of CSS hell</a> to maintain a project that I&#8217;ve built, and <a href="http://code.google.com/p/html5shiv/">the popular JavaScript solution</a> is not appealing to me because I don&#8217;t like to rely on something as easy to disable as JavaScript is.</p>
<p>There&#8217;s also <a title="Chrome Frame. " href="http://code.google.com/chrome/chromeframe/">Chrome Frame</a>, which is currently still in beta, and relies on users having adequate permissions, or the technical know-how to install it.</p>
<h2>A PHP workaround</h2>
<p>So I got my hands dirty with a bit of PHP to come up with something that, if not immediately usable on a busy high-traffic site, is at least going to let me do my homework with the minimum of fuss:</p>
<h3>A function</h3>
<p>[file lang="php" link="on"]code-snippets/pseudo_html5.inc.php.txt[/file]</p>
<h3>An implementation</h3>
<p>[file lang="php" link="on"]code-snippets/pseudo_html5_buffer.txt[/file]</p>
<h3>How it works</h3>
<p>This is pretty straightforward, and it would have to be, because I&#8217;m not a PHP-coder. Tracking down some appropriate Regex took a while and it&#8217;s possible that there is a cleaner solution out there, but it seems robust as-is.</p>
<ol>
<li>There is an array of HTML5 elements, and the HTML4 elements they should map to.</li>
<li>There is a dash of Regex to find the HTML5 tags that need to be replaced.</li>
<li>When the page is served, the page HTML is rendered into a buffer.</li>
<li>We then loop through our array of HTML5 tags and replace any matches in the buffered HTML.</li>
<li>Then we empty the buffer and output the updated HTML.</li>
</ol>
<h4>Only for IE6-7</h4>
<p>To prevent a redundant function call by all of our HTML5-ready visitors.</p>
<ol>
<li>We test whether the page is being viewed in IE6 or IE7 by checking the user-agent string</li>
<li>If the browser is IE6 or IE7, we run the function. If it&#8217;s not, we don&#8217;t.</li>
</ol>
<h3>Caveats</h3>
<p>Did I mention that I&#8217;m not a PHP-coder? I&#8217;m sure this could be done better by someone who is, but, regardless, it works as a proof-of-concept.</p>
<p>Some things to be wary of with this approach:</p>
<ol>
<li>You certainly wouldn&#8217;t want the overhead of running the replacement every time the page was viewed.<br />
My thoughts are that this process would be triggered by a user viewing the page &#8211; if the page was already cached, the cached version would be used. If not the tag rewriting would occur and then the page would be cached. Or maybe a <a title="Newbie: Intro to cron" href="http://www.unixgeeks.org/security/newbie/unix/cron-1.html">cron</a> job could be added to automate this dual-browser caching.</li>
<li> The user agent string can easily be changed in many popular browsers. My personal feeling is that this is most likely something that only a power user (or developer) would do. Regardless, the worst possible outcome for these users is that they will experience well structured pseudo HTML5 instead of fully semantic HTML5.</li>
</ol>
<p>Feel free to flame me in the comments with any other downsides that I&#8217;ve missed <img src='http://s1.wp.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<h3>HTML/CSS Syntax</h3>
<p>To overcome browser differences in the stylability of HTML5 elements, I&#8217;ve used CSS class names which mirror the HTML5 tag names.</p>
<p>While this makes the markup a little more bulky, it means that CSS can be authored once and applied to all browsers, making it easier to maintain.</p>
<p>It also has the advantage that the class names are visible to and usable by all developers working on a project, not just those focussing on IE compatibility.</p>
<p>And finally, it is a &#8216;means to an end&#8217;, the &#8216;end&#8217; being the improved document semantics available in browsers which support HTML5, and a graceful fallback in those that don&#8217;t.</p>
<h4>HTML5</h4>
<p>[file lang="html" link="on"]code-snippets/ie-friendly-html5-3.txt[/file]</p>
<h4>Pseudo HTML5</h4>
<p>[file lang="html" link="on"]code-snippets/ie-friendly-html5-4.txt[/file]</p>
<h4>Shared CSS</h4>
<p>[file lang="css" link="on"]code-snippets/ie-friendly-html5-5.txt[/file]</p>
<h4>Validation</h4>
<p>Because <code>div</code> and <code>span</code> elements still exist in HTML5, both the &#8216;real&#8217; HTML5 and the &#8216;pseudo&#8217; HTML5 will validate as HTML5.</p>
<h3>A demo</h3>
<p>If you made it down this far, it&#8217;s only fair that you should see <a title="Pseudo HTML5 demo. " href="http://www.dotherightthing.co.nz/dev/html5/pseudo-html5.php">a demo of this in action</a>.</p>
<p>Cheers.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dotherightthingnz.wordpress.com/134/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dotherightthingnz.wordpress.com/134/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dotherightthingnz.wordpress.com/134/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dotherightthingnz.wordpress.com/134/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/dotherightthingnz.wordpress.com/134/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/dotherightthingnz.wordpress.com/134/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/dotherightthingnz.wordpress.com/134/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/dotherightthingnz.wordpress.com/134/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dotherightthingnz.wordpress.com/134/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dotherightthingnz.wordpress.com/134/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dotherightthingnz.wordpress.com/134/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dotherightthingnz.wordpress.com/134/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dotherightthingnz.wordpress.com/134/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dotherightthingnz.wordpress.com/134/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dotherightthing.co.nz&amp;blog=29625650&amp;post=134&amp;subd=dotherightthingnz&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://dotherightthing.co.nz/2010/08/07/ie-friendly-html5/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8ca090016793c018181cef9634b0715b?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">playgroundnz</media:title>
		</media:content>
	</item>
		<item>
		<title>Ten or Twenty improvements for Twenty Ten: Part 1</title>
		<link>http://dotherightthing.co.nz/2010/08/01/ten-or-twenty-improvements-for-twenty-ten-part-1/</link>
		<comments>http://dotherightthing.co.nz/2010/08/01/ten-or-twenty-improvements-for-twenty-ten-part-1/#comments</comments>
		<pubDate>Sun, 01 Aug 2010 10:28:12 +0000</pubDate>
		<dc:creator>dotherightthing</dc:creator>
				<category><![CDATA[html]]></category>
		<category><![CDATA[html5]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.dotherightthing.co.nz/?p=81</guid>
		<description><![CDATA[Do The Right Thing came back-from-the-dead yesterday with the help of WordPress. Originally the site was built in Blogger, but when Blogger dropped support for FTP publishing, the site was replaced by a holding page pending some spare time to &#8230; <a href="http://dotherightthing.co.nz/2010/08/01/ten-or-twenty-improvements-for-twenty-ten-part-1/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dotherightthing.co.nz&amp;blog=29625650&amp;post=81&amp;subd=dotherightthingnz&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><em>Do The Right Thing</em> came back-from-the-dead yesterday with the help of <a href="http://wordpress.org/">WordPress</a>. Originally the site was built in <a href="http://www.google.co.nz/url?sa=t&amp;source=web&amp;cd=1&amp;ved=0CBsQFjAA&amp;url=http%3A%2F%2Fwww.blogger.com%2F&amp;ei=Rj9VTI2UE5SesQOjgL3aAg&amp;usg=AFQjCNGb2S_ihucIn-YF2o0ZlC3KCh92Aw&amp;sig2=YBmStGWectijm7jHuWJCSw">Blogger</a>, but when Blogger dropped support for FTP publishing, the site was replaced by a holding page pending some spare time to do something about it&#8230;</p>
<p>I&#8217;m enjoying the new default WordPress skin &#8216;Twenty Ten&#8217;, which replaces the questionable &#8216;Kubrick&#8217; theme that used to be the default. The new skin uses the latest web technologies &#8211; HTML5 replaces HTML4, and WAI-ARIA roles have been added to add extra semantic value to the page, increasing usability in screenreaders and the like.</p>
<p><a href="http://courses.sitepoint.com/html5-live">I&#8217;ve been been learning about HTML5 recently</a> so it&#8217;s timely that I now have a playground for this which is outside of the constraints of paid work, and is as easy to work with as WordPress is.</p>
<p>In line with what I&#8217;ve been learning (and what I already know), I&#8217;ve made a few improvements to the Twenty Ten skin. I&#8217;ll document these in separate posts to keep these short and readable.</p>
<h2>Part 1: Search widget</h2>
<ol>
<li><code>fieldset</code> wrapped around the <code>form</code> elements, to group them (a personal preference)</li>
<li><code>legend</code> added to <code>fieldset</code>, to act as a heading</li>
<li>input <code>type</code> changed from <code>text</code> to <a href="http://diveintohtml5.org/forms.html#type-search"><code>search</code></a>, to pick up the new formatting options available in Safari (this degrades to a <code>type</code> of <code>text</code> in other browsers)</li>
<li><a href="http://diveintohtml5.org/forms.html#placeholder"><code>placeholder</code> attribute</a> added to <code>input</code> to display this text inside the field in Safari (this degrades to no placeholder text displayed in other browsers)</li>
</ol>
<p><em>Apologies for the messy code highlighting &#8211; I&#8217;m still working on getting the <a href="http://startbigthinksmall.wordpress.com/2009/05/28/beautyofcode-jquery-plugin-for-syntax-highlighter-2-0-by-alex-gorbatchev/">beautyOfCode</a> syntax brushes applying correctly.</em></p>
<h3>HTML</h3>
<p>[file lang="html" link="on"]code-snippets/ten-twenty-part-1-search-html.txt[/file]</p>
<h3>PHP<em><br />
</em></h3>
<p>[file lang="php" link="on"]code-snippets/ten-twenty-part-1-search-php.txt[/file] </p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dotherightthingnz.wordpress.com/81/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dotherightthingnz.wordpress.com/81/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dotherightthingnz.wordpress.com/81/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dotherightthingnz.wordpress.com/81/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/dotherightthingnz.wordpress.com/81/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/dotherightthingnz.wordpress.com/81/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/dotherightthingnz.wordpress.com/81/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/dotherightthingnz.wordpress.com/81/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dotherightthingnz.wordpress.com/81/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dotherightthingnz.wordpress.com/81/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dotherightthingnz.wordpress.com/81/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dotherightthingnz.wordpress.com/81/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dotherightthingnz.wordpress.com/81/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dotherightthingnz.wordpress.com/81/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dotherightthing.co.nz&amp;blog=29625650&amp;post=81&amp;subd=dotherightthingnz&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://dotherightthing.co.nz/2010/08/01/ten-or-twenty-improvements-for-twenty-ten-part-1/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8ca090016793c018181cef9634b0715b?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">playgroundnz</media:title>
		</media:content>
	</item>
		<item>
		<title>Do The Right Thing</title>
		<link>http://dotherightthing.co.nz/2009/11/01/do-the-right-thing/</link>
		<comments>http://dotherightthing.co.nz/2009/11/01/do-the-right-thing/#comments</comments>
		<pubDate>Sat, 31 Oct 2009 13:40:18 +0000</pubDate>
		<dc:creator>dotherightthing</dc:creator>
				<category><![CDATA[accessibility]]></category>

		<guid isPermaLink="false">http://www.dotherightthing.co.nz/?p=66</guid>
		<description><![CDATA[Standards schmandards. What really matters when building a website in 2009? At least 80% of humanity lives on less than $10 a day. How much does that leave for a fast broadband connection with a high data cap? Or a &#8230; <a href="http://dotherightthing.co.nz/2009/11/01/do-the-right-thing/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dotherightthing.co.nz&amp;blog=29625650&amp;post=66&amp;subd=dotherightthingnz&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Standards schmandards. What really matters when building a website in 2009?</p>
<p><a href="http://www.globalissues.org/article/26/poverty-facts-and-stats">At least 80% of humanity lives on less than $10 a day</a>.</p>
<p>How much does that leave</p>
<ul>
<li>for a fast broadband connection with a high data cap?</li>
<li>Or a shiny new dual processor laptop with a high def screen?</li>
</ul>
<p>Are people that earn less than $10 a day</p>
<ul>
<li>boring?</li>
<li>stupid?</li>
<li>narrowminded?</li>
<li>uninterested in what is happening in the rest of the world?</li>
</ul>
<p><a href="http://www.globalenvision.org/library/7/637">What Can Computers do for the Poor?</a></p>
<p>Could the wealthy 20% of humanity, with their armies of scientists and research facilities funded by wealthy benefactors share knowledge that could lead their fellow man out of  poverty?</p>
<p>Could this knowledge be shared via the internet, to a shared community computer <a href="http://www.comminit.com/en/node/242180/36">in a school or internet cafe</a>?</p>
<p>Are having</p>
<ol>
<li>JavaScript enabled,</li>
<li>Flash 9.0.124 (or higher) installed,</li>
<li>a minimum browser spec of Internet Explorer 7+ / Firefox 1+ / Safari 2.04+,</li>
<li>a minimum screen size of 1024&#215;768,</li>
<li>a broadband connection,</li>
<li>and at least 2GB of RAM</li>
</ol>
<p>all requirements to enable knowledge sharing?</p>
<p>Or are they barriers?</p>
<p>Ever considered   the carbon footprint of all those server farms running 24/7 to serve up your sexy graphics?</p>
<p>Are any of these  modern web development concepts helpful here:</p>
<ul>
<li>progressive enhancement,</li>
<li>alternate stylesheets,</li>
<li>bandwidth detection</li>
</ul>
<p>?</p>
<p>How are most languages spoken?</p>
<p>Voice.</p>
<p>How are most languages read?</p>
<p>Written word / text.</p>
<p>HTML is text. Screenreaders convert text to voice. Printers print text.</p>
<p>Less is more. Keep it simple. Do the Right Thing.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dotherightthingnz.wordpress.com/66/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dotherightthingnz.wordpress.com/66/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dotherightthingnz.wordpress.com/66/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dotherightthingnz.wordpress.com/66/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/dotherightthingnz.wordpress.com/66/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/dotherightthingnz.wordpress.com/66/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/dotherightthingnz.wordpress.com/66/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/dotherightthingnz.wordpress.com/66/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dotherightthingnz.wordpress.com/66/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dotherightthingnz.wordpress.com/66/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dotherightthingnz.wordpress.com/66/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dotherightthingnz.wordpress.com/66/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dotherightthingnz.wordpress.com/66/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dotherightthingnz.wordpress.com/66/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dotherightthing.co.nz&amp;blog=29625650&amp;post=66&amp;subd=dotherightthingnz&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://dotherightthing.co.nz/2009/11/01/do-the-right-thing/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8ca090016793c018181cef9634b0715b?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">playgroundnz</media:title>
		</media:content>
	</item>
		<item>
		<title>The Elixir of Life!</title>
		<link>http://dotherightthing.co.nz/2008/11/18/the-elixir-of-life/</link>
		<comments>http://dotherightthing.co.nz/2008/11/18/the-elixir-of-life/#comments</comments>
		<pubDate>Mon, 17 Nov 2008 13:19:35 +0000</pubDate>
		<dc:creator>dotherightthing</dc:creator>
				<category><![CDATA[htmlblues]]></category>

		<guid isPermaLink="false">http://www.dotherightthing.co.nz/?p=32</guid>
		<description><![CDATA[&#8230;aka Web Resource Blog 101. Every week I receive a respectable email newsletter containing a bunch of links on topics related to making me a better web developer. Yes, even I am not perfect (you heard it here first). In &#8230; <a href="http://dotherightthing.co.nz/2008/11/18/the-elixir-of-life/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dotherightthing.co.nz&amp;blog=29625650&amp;post=32&amp;subd=dotherightthingnz&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>&#8230;aka Web Resource Blog 101.</p>
<p>Every week I receive a respectable email newsletter containing a bunch of links on topics related to making me a better web developer. Yes, even I am not perfect (you heard it here first).</p>
<p>In amongst a handful of genuinely  useful articles, there are an increasing number of clone sites which at first glance  appear to offer their readers The Elixir of Life in one short, easy to digest post.</p>
<p>Too often though, they just recycle content and rely on visitors to fill in the blanks.</p>
<p>Because they&#8217;re becoming something of a cliché I thought I would expose them for the money grubbing &#8216;entrepreneurs&#8217; that they are (IMO).</p>
<p>It goes something like this. Follow along to make some extra cash:</p>
<ol>
<li>Set up a blog.</li>
<li>Give your blog a nice Web 2.0 skin. If you can&#8217;t design, get a crack designer. Don&#8217;t worry if it costs a bit (see <a href="#step11">11</a>).</li>
<li>The title should have something to do with web development, and make you appear to be benevolent and only concerned with the welfare of other developers.</li>
<li>Read other blogs, copy their content. It doesn&#8217;t matter if you&#8217;re somewhat short on content, see <a href="#step12">12</a>.</li>
<li>Add ads. This is the real reason for your blog, but no-one will know except you (and me). Also, try and keep the total number of ads down to 10 or less, scattered around the page &#8211; or someone else might cotton on to your scam.</li>
<li>Create a blog post.</li>
<li>Give your post a totally unbelievable title &#8211; this will guarantee that you will get lots of trackbacks from people wanting your magic content on their site &#8211; or in their respectable mailing list.</li>
<li>Add a dash of content. If you know there&#8217;s something that&#8217;s missing, don&#8217;t bust your ass to learn about it &#8211; see <a href="#step12">12</a>.</li>
<li>Post it and they will come &#8211; developers I mean.</li>
<li>The <abbr title="New Kids on the Block. ">NKOTB</abbr> will read your post and thank you, thank you, THANK YOU!!!</li>
<li id="step11">Because the <abbr title="New Kids on the Block. ">NKOTB</abbr> now trust you they will probably blindly click your ads. Ching ching.</li>
<li id="step12">The experienced devs, on the other hand, will critique your content, tell you where you stole it from, and &#8211; most importantly &#8211; tell you what you should have posted, supplying links to some real gems that only real developers would know about. In short they will spill their secrets to you.</li>
<li>Now you have lots of good content from people that know what they&#8217;re doing. Plus you have loads of trackbacks from people keen to show that they too know what&#8217;s  hip and cool, and that they are also benevolent and only concerned with the welfare of other developers.</li>
<li>Rinse and repeat.</li>
</ol>
<p class="access">
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dotherightthingnz.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dotherightthingnz.wordpress.com/32/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dotherightthingnz.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dotherightthingnz.wordpress.com/32/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/dotherightthingnz.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/dotherightthingnz.wordpress.com/32/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/dotherightthingnz.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/dotherightthingnz.wordpress.com/32/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dotherightthingnz.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dotherightthingnz.wordpress.com/32/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dotherightthingnz.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dotherightthingnz.wordpress.com/32/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dotherightthingnz.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dotherightthingnz.wordpress.com/32/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dotherightthing.co.nz&amp;blog=29625650&amp;post=32&amp;subd=dotherightthingnz&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://dotherightthing.co.nz/2008/11/18/the-elixir-of-life/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8ca090016793c018181cef9634b0715b?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">playgroundnz</media:title>
		</media:content>
	</item>
		<item>
		<title>Flow-on benefits of considering accessibility</title>
		<link>http://dotherightthing.co.nz/2008/10/04/flow-on-benefits-of-considering-accessibility/</link>
		<comments>http://dotherightthing.co.nz/2008/10/04/flow-on-benefits-of-considering-accessibility/#comments</comments>
		<pubDate>Fri, 03 Oct 2008 13:14:14 +0000</pubDate>
		<dc:creator>dotherightthing</dc:creator>
				<category><![CDATA[htmlblues]]></category>

		<guid isPermaLink="false">http://www.dotherightthing.co.nz/?p=28</guid>
		<description><![CDATA[&#8216;Oh, great&#8217;, I hear you say &#8211; &#8216;another bill&#8217;. Well ok, yes, if it&#8217;s from Telecom, it probably is another bill. But it&#8217;s what&#8217;s different about this month&#8217;s bill that got my attention. You see, I&#8217;d just returned home, after &#8230; <a href="http://dotherightthing.co.nz/2008/10/04/flow-on-benefits-of-considering-accessibility/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dotherightthing.co.nz&amp;blog=29625650&amp;post=28&amp;subd=dotherightthingnz&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><img class="alignright size-full wp-image-29" title="Telecom bill" src="http://www.dotherightthing.co.nz/wp-content/uploads/telecom-20081004.jpg" alt="Telecom bill, showing Telecom's new (larger) font size in the letter window" width="405" height="304" />&#8216;Oh, great&#8217;, I hear you say &#8211; &#8216;another bill&#8217;.</p>
<p>Well ok, yes, if it&#8217;s from Telecom, it probably is another bill.</p>
<p>But it&#8217;s what&#8217;s different about this month&#8217;s bill that got my attention.</p>
<p>You see, I&#8217;d just returned home, after spending the best part of the day picnicing with friends in Dunedin&#8217;s botanical gardens (which incidentally were planted by my partner&#8217;s great grandfather. He did a splendid job and on a beautiful summer&#8217;s day they look great &#8211; respect.)</p>
<p>Anyway, our picnic friends were a couple, Tom, who works in the web department down at Otago Polytechnic, and his partner Francis, who had recently returned from Australia after finishing her PHD. It was the first time we had seen them together, and they made a lovely pair.</p>
<p>After the initial introductions and a bite to eat, the girls and the guys paired off, and the conversation between Tom and I naturally turned to web accessibility. It&#8217;s something we both feel strongly about and try to incorporate into our working life as much as possible. Unfortunately with the conflicting priorities of marketing people, designers, and those holding the purse strings, accessibility often comes off second best, so we inevitably found ourselves moaning about the state of commercial websites in NZ, and our desire to make them better.</p>
<p>Lightening our combined consciences by airing these issues, and seeing the sun disappear behind some grey clouds, we agreed to meet up later to share techniques and knowledge, said our goodbyes and headed our separate ways.</p>
<p>Returning home afterwards, then, I was actually quite relieved to retrieve this bill-like envelope from the letterbox.</p>
<p>And why was that? <a href="http://flickr.com/photos/panoramica_nz/2911579338/">Check it out</a>. This corporate communication just has &#8216;Accessibility&#8217; written all over it.</p>
<p>Now I&#8217;m not sure if Telecom are suddenly making an effort to reclaim marketshare, or whether they&#8217;d simply outsourced their mail design to a different printer, but two things jumped out at me:</p>
<ol>
<li>the size of the typeface, and</li>
<li>the size of plastic window.</li>
</ol>
<p>As an ex-postal-worker, I can immediately see a number of benefits in the updating packaging:</p>
<ol>
<li>older people can read the address without donning their spectacles, so they won&#8217;t open your bill by mistake (your 0900 call logs are safe and sound).</li>
<li>the postie can get the bill to the right person the first time.</li>
<li>the address can&#8217;t slip down out of view of the plastic window.</li>
<li>it looks professional, but not in a we-want-to-sell-you-something kind of way</li>
<li>the envelope is, naturally, white, but within the plastic window there is also a lot of whitespace.</li>
</ol>
<p>Now let&#8217;s assume that Telecom were thinking about the end-user here, and figured that they could make their bills more accessible to older people by increasing the size of the address text. This, despite the fact that they&#8217;d probably prefer to funk up their correspondence so that it appealed to the younger crowd, you know, the potential customer base that are going to be around longer, and thus make them more money. No, instead they considered the communication needs of the secondary, older audience. Brownie point #1 granted. The envelope is more readable and more appealing.</p>
<p>But look at the flow-on benefits. The NZ Post sorters can read the envelope more easily, which helps efficiency when they&#8217;re processing thousands of letters a day. And some of those mail workers are probably pretty old too&#8230; but even for the younger ones, it&#8217;s a welcome relief from 12pt type and of course the scribbly hand-written nonsense that many non-corporates are responsible for. The end-result here is that the sorter&#8217;s job is easier and the letter gets to the correct delivery branch quicker. Brownie point #2.</p>
<p>And the postie (read: &#8216;Postal Delivery Officer&#8217;) also benefits. These guys street sort the mail after it&#8217;s been zone sorted at the mail centre. They spend the early hours of their day sorting and bundling mail, before heading out on the fun part of the job &#8211; delivering it. Despite the well-known risks of territorial dogs, lonely old people, and impatient shop assistants, there are also the less well-publicised annoyances, like addresses slipping down below &#8216;the fold&#8217; in transit.<br />
So instead of rapid fire delivery into suburban mailboxes, posties find themselves constantly stopping and tapping envelopes to unhide the last few lines of the address. And when it&#8217;s <em>that</em> time of the month, and there are thousands of bills to deliver in a short timeframe, your local postie definitely appreciates any extra thought on the part of the product designer. So Telecom score brownie point #3 for making the messenger&#8217;s job that much easier.</p>
<p>Now, maybe Telecom didn&#8217;t think about the flow-on effects, or maybe I&#8217;m barking up the wrong tree and picked the wrong NZ corporate to pin my moral hopes on. Maybe they don&#8217;t give a toss about old people, and they just wanted to save money by getting the mail out more efficiently. But no matter what the goal was, the point is that they put it a certain amount of considered effort, for X return, and they got X+Y+Z real-life benefits out of it.</p>
<p>And it&#8217;s the same for web accessibility. For example, you might code in Alt attributes and skip links to add blind users to your potential audience, and inadvertently the sighted yuppie on the mobile device also benefits. Or you could increase the size of the typeface for customers with poor eyesight and actually make your design seem friendlier to new customers.</p>
<p>The message is: you put in a certain amount of considered effort for one user group and inadvertently you increase your appeal to other user groups.</p>
<p>So, next time your Project Manager or client tries to pooh-pooh your attempts to incorporate universal accessibility into your site build, have them consider that money well-spent now translates to added value in the future.</p>
<p>And corners cut now &#8211; well they might just cut you out of some very lucrative new markets in a couple of years time.</p>
<p>Postscript: Upon opening  the envelope it turns out that Telecom are actually running a &#8216;Bigger is better&#8217; broadband campaign&#8230; so only time will tell whether they keep their brownie points or go back to 12pt type.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dotherightthingnz.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dotherightthingnz.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dotherightthingnz.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dotherightthingnz.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/dotherightthingnz.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/dotherightthingnz.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/dotherightthingnz.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/dotherightthingnz.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dotherightthingnz.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dotherightthingnz.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dotherightthingnz.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dotherightthingnz.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dotherightthingnz.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dotherightthingnz.wordpress.com/28/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dotherightthing.co.nz&amp;blog=29625650&amp;post=28&amp;subd=dotherightthingnz&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://dotherightthing.co.nz/2008/10/04/flow-on-benefits-of-considering-accessibility/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8ca090016793c018181cef9634b0715b?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">playgroundnz</media:title>
		</media:content>

		<media:content url="http://www.dotherightthing.co.nz/wp-content/uploads/telecom-20081004.jpg" medium="image">
			<media:title type="html">Telecom bill</media:title>
		</media:content>
	</item>
		<item>
		<title>Dreamweaver for dummies?</title>
		<link>http://dotherightthing.co.nz/2008/05/08/dreamweaver-for-dummies/</link>
		<comments>http://dotherightthing.co.nz/2008/05/08/dreamweaver-for-dummies/#comments</comments>
		<pubDate>Wed, 07 May 2008 13:10:28 +0000</pubDate>
		<dc:creator>dotherightthing</dc:creator>
				<category><![CDATA[htmlblues]]></category>

		<guid isPermaLink="false">http://www.dotherightthing.co.nz/?p=25</guid>
		<description><![CDATA[How often have you seen ads for Front End Web Developers where they advertise that, upon accepting employment, the applicant must &#8216;hand code&#8217; their sites, without the aid of Dreamweaver or HTML editors? Here&#8217;s one I saw a few months &#8230; <a href="http://dotherightthing.co.nz/2008/05/08/dreamweaver-for-dummies/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dotherightthing.co.nz&amp;blog=29625650&amp;post=25&amp;subd=dotherightthingnz&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>How often have you seen ads for Front End Web Developers where they advertise that, upon accepting employment, the applicant must &#8216;hand code&#8217; their sites, without the aid of Dreamweaver or HTML editors?</p>
<p>Here&#8217;s one I saw a few months back, in the Webstockers Friday jobs edition:</p>
<blockquote>
<ul>
<li>Modern, efficient X/HTML and standards compliant hand written coding (we don&#8217;t use Dreamweaver or other WYSIWYG editors, etc)</li>
<li>Photoshop &#8211; ability to originate/manipulate graphics for web</li>
</ul>
</blockquote>
<p>I see this far too often, really, and it always bugs me.</p>
<p>Why are they so pro-Photoshop? Why not write &#8220;we hand draw our graphics pixel by pixel (we don&#8217;t use Photoshop to originate/manipulate graphics)&#8221;.</p>
<p>Come on people, that anti-Dreamweaver attitide is so 2000. Dreamweaver is a development tool, and as such it&#8217;s up to the developer to use it correctly.</p>
<p>I build standards compliant sites, and I use Dreamweaver.  I handcode in Dreamweaver, no less. Go figure.</p>
<p>I use Dreamweaver for its ability to introduce efficiencies into the coding process, e.g.:</p>
<ul>
<li>auto tag completion,<br />
to save me typing out the same code over and over</li>
<li>code colouring,<br />
to help my tired eyes scan for mistakes</li>
<li>built-in reference material (as well as Google)</li>
<li>file organisation,<br />
in particular the file linking and the FTP synching</li>
<li>Dreamweaver templating,<br />
for clients that do not have a budget for CMS development</li>
<li>automatic code formatting,<br />
(indenting etc)</li>
<li>find and replace,<br />
across multiple files</li>
<li>integration with a test server</li>
<li>fast preview in multiple browsers</li>
</ul>
<p>Using Dreamweaver does not mean that:</p>
<ul>
<li>I am going to build every site using tables</li>
<li>I am going to drag and drop all manner of Adobe JS/AJAX widgets that I do not understand into my site</li>
<li>I will rely on the little browser checker to do my testing for me</li>
<li>I will rely on the design view to do my testing for me</li>
</ul>
<p>When it comes down to it, you&#8217;re advertising for a person to do a coding job because you can&#8217;t do it yourself. Why not let them decide which tools they want to use?</p>
<p>P.S. I handcoded this myself in the Blogger editor. Woohoo.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/dotherightthingnz.wordpress.com/25/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/dotherightthingnz.wordpress.com/25/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dotherightthingnz.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dotherightthingnz.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dotherightthingnz.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dotherightthingnz.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/dotherightthingnz.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/dotherightthingnz.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/dotherightthingnz.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/dotherightthingnz.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dotherightthingnz.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dotherightthingnz.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dotherightthingnz.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dotherightthingnz.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dotherightthingnz.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dotherightthingnz.wordpress.com/25/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dotherightthing.co.nz&amp;blog=29625650&amp;post=25&amp;subd=dotherightthingnz&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://dotherightthing.co.nz/2008/05/08/dreamweaver-for-dummies/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8ca090016793c018181cef9634b0715b?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">playgroundnz</media:title>
		</media:content>
	</item>
		<item>
		<title>Hacking CSS</title>
		<link>http://dotherightthing.co.nz/2007/09/12/hacking-css/</link>
		<comments>http://dotherightthing.co.nz/2007/09/12/hacking-css/#comments</comments>
		<pubDate>Tue, 11 Sep 2007 12:59:34 +0000</pubDate>
		<dc:creator>dotherightthing</dc:creator>
				<category><![CDATA[htmlblues]]></category>
		<category><![CDATA[ie6]]></category>

		<guid isPermaLink="false">http://www.dotherightthing.co.nz/?p=22</guid>
		<description><![CDATA[I&#8217;m having a quieter-than-usual week at work this week (which is just as well considering that I spent 90 minutes of today with no internet connection thanks to a ghost in my machine/router..). So it was a bit of a &#8230; <a href="http://dotherightthing.co.nz/2007/09/12/hacking-css/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dotherightthing.co.nz&amp;blog=29625650&amp;post=22&amp;subd=dotherightthingnz&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m having a quieter-than-usual week at work this week (which is just as well considering that I spent 90 minutes of today with no internet connection thanks to a ghost in my machine/router..). So it was a bit of a shock to the system to have to swing into action mid-afternoon to tackle a bug that was crashing <abbr title="Internet Explorer">IE</abbr>6 when it attempted to load a previously-tested-and-working web page that was supposed to go live the very next day.</p>
<p>My first thought was that maybe an automatic Windows Update had somehow adversely affected my install of IE6. That&#8217;s not usually my first thought, but for a previously tested and working HTML  page to suddenly start crashing all by itself? Nup, no way was it my CSS. To be honest it was just as  unlikely that it was a Windows Update that was at fault either, but it was worth a shot.</p>
<p>So I went into my XP Control Panel (&#8220;Add or Remove Programs&#8221;) and Googled the last couple of Windows updates.</p>
<p><em>Security Update for Windows XP (KB937143), installed on 15/08/2007</em> turned up some worrying info &#8211; apparently <a href="http://patch-info.de/">some guy in Germany</a> had noticed that <a href="http://blogs.msdn.com/ie/archive/2007/08/14/ie-august-security-update-is-now-available.aspx#ctl00___ctl00___ctl01___Comments___Comments_ctl41_PermaLink">IE6 had started to crash &#8220;while accessing at least one site&#8221;, after installing the GDR version of the update</a>. Maybe I was on the right track?</p>
<p>After a bit more Googling,  I arrived at the <abbr title="Microsoft. ">MS</abbr> support page for <a href="http://support.microsoft.com/kb/937143/">MS07-045: Cumulative Security Update for Internet Explorer</a>.</p>
<p>Completely missing the &#8216;<a href="http://www.microsoft.com/technet/security/bulletin/ms07-045.mspx">IT professionals</a>&#8216; link at the top of the page (maybe that says something) and finding nothing useful anywhere else, I ended up Googling the update name and got to a page about <a href="http://osvdb.org/displayvuln.php?osvdb_id=36397">Microsoft IE Crafted CSS Unspecified Memory Corruption</a>, which told me of<br />
<q>&#8220;a flaw that may allow a malicious user to gain  the same user rights as the logged in user. The issue is triggered when  IE parses certain strings in CSS. It is possible for a malacious person  to construct a specially crafted website which could remotely execute  code on the visitor&#8217;s computer.&#8221; </q></p>
<p>I wondered who  these &#8216;malacious&#8217; people were? And why didn&#8217;t they just stick to the accepted label of &#8216;malicious&#8217;? Clearly they were social outcasts, determined to make my life harder by forcing me to rewrite my CSS so that it didn&#8217;t look like it was attempting to trick people into giving up their Facebook passwords.</p>
<p>A bit more Googling and a bit more info from <a href="http://www.zerodayinitiative.com/advisories/ZDI-06-041.html">this page</a> which explained that <q>&#8220;The specific vulnerability exists due to improper parsing of HTML CSS  &#8216;float&#8217; properties. By ordering specially crafted &#8216;div&#8217; tags in a web  page, memory corruption can occur leading to remote code execution.&#8221;</q></p>
<p>To cut a long story short, the page in question was debugged after I followed up the notion of improperly parsed &#8216;float&#8217; properties and ended up at  <a href="http://meyerweb.com/eric/thoughts/2004/09/16/when-browsers-attack/">an old post on Eric Meyer&#8217;s site</a>. This  kicked my brain into revisiting the CSS, and after some playing around, I resolved the issue by adding a couple of lines of otherwise unnecessary CSS, to prevent a floated list from bringing the house down in IE6.</p>
<p>I still don&#8217;t know whether Microsoft or KB937143 were at fault, or whether the bug was always there and just waiting for the slightest encouragement, but the afternoon&#8217;s debugging has made me feel that much less secure about developing CSS for Internet Explorer.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/dotherightthingnz.wordpress.com/22/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/dotherightthingnz.wordpress.com/22/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dotherightthingnz.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dotherightthingnz.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dotherightthingnz.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dotherightthingnz.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/dotherightthingnz.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/dotherightthingnz.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/dotherightthingnz.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/dotherightthingnz.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dotherightthingnz.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dotherightthingnz.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dotherightthingnz.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dotherightthingnz.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dotherightthingnz.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dotherightthingnz.wordpress.com/22/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dotherightthing.co.nz&amp;blog=29625650&amp;post=22&amp;subd=dotherightthingnz&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://dotherightthing.co.nz/2007/09/12/hacking-css/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8ca090016793c018181cef9634b0715b?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">playgroundnz</media:title>
		</media:content>
	</item>
		<item>
		<title>But, you&#8217;re BLIND&#8230;</title>
		<link>http://dotherightthing.co.nz/2007/07/26/but-youre-blind/</link>
		<comments>http://dotherightthing.co.nz/2007/07/26/but-youre-blind/#comments</comments>
		<pubDate>Wed, 25 Jul 2007 12:53:27 +0000</pubDate>
		<dc:creator>dotherightthing</dc:creator>
				<category><![CDATA[htmlblues]]></category>

		<guid isPermaLink="false">http://www.dotherightthing.co.nz/?p=15</guid>
		<description><![CDATA[As a conscientious web developer, I build web pages that endeavour to be accessible to as wide a range people as possible. Inevitably, this means that every now and then I have to pull a project manager, client, or designer &#8230; <a href="http://dotherightthing.co.nz/2007/07/26/but-youre-blind/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dotherightthing.co.nz&amp;blog=29625650&amp;post=15&amp;subd=dotherightthingnz&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>As a conscientious web developer, I build web pages that endeavour to be accessible to as wide a range people as possible.</p>
<p>Inevitably, this means that every now and then I have to pull a project manager, client, or designer up on inaccessible content or a poorly thought out design.</p>
<p>So, I might say things like, <q>&#8220;is there an HTML alternative to this Flash content?&#8221;</q> or, <q>&#8220;the <a href="http://www.e.govt.nz/standards/web-guidelines/">Web Guidelines</a> <a href="http://www.e.govt.nz/standards/web-guidelines/web-standards-v1.0/">Web Standards</a>* say that you can&#8217;t use colour alone as an indicator of <em>x</em>&#8220;</q> (*the Web Guidelines Web Standards are great for enforcing personal beliefs and they&#8217;re pretty much the main reason why I code the way I do today).</p>
<p>It never ceases to amaze me that <strong>nine times out of ten</strong> their default response is something along the lines of &#8216;But blind people can&#8217;t do that&#8217;.</p>
<p>It&#8217;s not even a <em>question</em> (&#8216;But blind people can&#8217;t do that, can they?&#8217;), it&#8217;s just an automatic statement &#8211; one that the speaker feels totally justified in sharing with the world.</p>
<p>Because &#8216;blind people can&#8217;t do that&#8217;, there is thus no need to implement my suggestion, and another piece of partially (or totally) inaccessible content joins its friends in the matrix.</p>
<p>The thing that bugs me, is that we&#8217;re supposed to be living in some kind of über <strong>information</strong> age. Why then, are otherwise well-meaning people, with the power to make a difference in the lives of others, so ignorant of the needs of  their fellow citizens?</p>
<p>In the case of today&#8217;s &#8216;stand-off&#8217;, a couple of quick and fruitful visits to Google gave me the virtual ammo I needed to prove that &#8216;yes&#8217;, blind people <em>could</em> indeed partake in the activity in question. Armed with this I managed to bug the project manager in question enough that he bugged the client in question into finally accepting my recommendation <img src="http://www.dansmith.co.nz/_resources/images/web/smile.gif" alt="(smile)." width="11" height="11" /> So, all&#8217;s well that ends well, this time..</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/dotherightthingnz.wordpress.com/15/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/dotherightthingnz.wordpress.com/15/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dotherightthingnz.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dotherightthingnz.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dotherightthingnz.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dotherightthingnz.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/dotherightthingnz.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/dotherightthingnz.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/dotherightthingnz.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/dotherightthingnz.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dotherightthingnz.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dotherightthingnz.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dotherightthingnz.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dotherightthingnz.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dotherightthingnz.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dotherightthingnz.wordpress.com/15/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dotherightthing.co.nz&amp;blog=29625650&amp;post=15&amp;subd=dotherightthingnz&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://dotherightthing.co.nz/2007/07/26/but-youre-blind/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8ca090016793c018181cef9634b0715b?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">playgroundnz</media:title>
		</media:content>

		<media:content url="http://www.dansmith.co.nz/_resources/images/web/smile.gif" medium="image">
			<media:title type="html">(smile).</media:title>
		</media:content>
	</item>
		<item>
		<title>EXTREME Animation</title>
		<link>http://dotherightthing.co.nz/2007/07/24/extreme-animation/</link>
		<comments>http://dotherightthing.co.nz/2007/07/24/extreme-animation/#comments</comments>
		<pubDate>Mon, 23 Jul 2007 12:50:41 +0000</pubDate>
		<dc:creator>dotherightthing</dc:creator>
				<category><![CDATA[htmlblues]]></category>

		<guid isPermaLink="false">http://www.dotherightthing.co.nz/?p=12</guid>
		<description><![CDATA[Checking my Gmail inbox this afternoon, I noticed one of those newsletters for an airline whose air miles scheme I don&#8217;t actually belong to, but that I signed up for in expectation, last time I went somewhere exciting.. They had &#8230; <a href="http://dotherightthing.co.nz/2007/07/24/extreme-animation/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dotherightthing.co.nz&amp;blog=29625650&amp;post=12&amp;subd=dotherightthingnz&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Checking my Gmail inbox this afternoon, I noticed one of those newsletters for an airline whose air miles scheme I don&#8217;t actually belong to, but that I signed up for in expectation, last time I went somewhere exciting..</p>
<p>They had a feature on India, and because my partner rates India I thought I&#8217;d check it out. Well whatever else I found faded into nothingness when I discovered this gem of a webpage, for the</p>
<p><a href="http://delhitourism.nic.in/index.aspx">.o:O:o. Delhi Tourism and Transportation Development Corporation .o:O:o.</a></p>
<p>Yes, those wonderful circles were already in the page title (I wonder how they help their Google ranking?) Now, we all know that most clients like a bit of animation and movement on their otherwise corporate homepage, but come ON, isn&#8217;t seven counts going a bit far? Or does the average Indian web surfer have an even shorter attention span than that of his over stimulated Western counterpart?</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/dotherightthingnz.wordpress.com/12/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/dotherightthingnz.wordpress.com/12/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dotherightthingnz.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dotherightthingnz.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dotherightthingnz.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dotherightthingnz.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/dotherightthingnz.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/dotherightthingnz.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/dotherightthingnz.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/dotherightthingnz.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dotherightthingnz.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dotherightthingnz.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dotherightthingnz.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dotherightthingnz.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dotherightthingnz.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dotherightthingnz.wordpress.com/12/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dotherightthing.co.nz&amp;blog=29625650&amp;post=12&amp;subd=dotherightthingnz&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://dotherightthing.co.nz/2007/07/24/extreme-animation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8ca090016793c018181cef9634b0715b?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">playgroundnz</media:title>
		</media:content>
	</item>
	</channel>
</rss>
