<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>Daniel's Blog</title>
	
	<link>http://www.daniels.net.nz</link>
	<description>Just another WordPress site</description>
	<lastBuildDate>Wed, 14 Mar 2012 07:58:15 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/DanielsView" /><feedburner:info uri="danielsview" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item>
		<title>Introducing Simple OAuth.net – because OAuth doesn’t have to be that hard</title>
		<link>http://feedproxy.google.com/~r/DanielsView/~3/4ZlqUW_TsOs/</link>
		<comments>http://www.daniels.net.nz/2012/03/introducing-simple-oauth-net-because-oauth-doesnt-have-to-be-that-hard/#comments</comments>
		<pubDate>Wed, 14 Mar 2012 07:58:15 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[.net]]></category>
		<category><![CDATA[coding]]></category>
		<category><![CDATA[oauth]]></category>
		<category><![CDATA[open source]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[project]]></category>

		<guid isPermaLink="false">http://www.daniels.net.nz/?p=144</guid>
		<description><![CDATA[Recently I&#8217;ve been working on a site that needed to interact with another site via OAuth via .Net. There are quite a few .Net OAuth libraries out there, but they&#8217;re all needlessly complicated. For example, in DevDefined OAuth, you have to specify the authorization URLs with the object, and use all these weird objects to [...]]]></description>
			<content:encoded><![CDATA[<p>Recently I&#8217;ve been working on a site that needed to interact with another site via OAuth via .Net. There are quite a few .Net OAuth libraries out there, but they&#8217;re all needlessly complicated. For example, in <a href="https://github.com/bittercoder/DevDefined.OAuth">DevDefined OAuth</a>, you have to specify the authorization URLs with the object, and use all these weird objects to make a simple request.</p>
<p><em>And</em> if you&#8217;re using a POST with a custom content-type (like <code>application/xml</code>) you&#8217;re screwed. What is this business?</p>
<p>So, in Simple OAuth.net, if you want to get an access token, you do this:</p>
<p><code>
<pre>var tokens = new Tokens() { ConsumerKey = "key", ConsumerSecret = "secret",
    AccessKey = "key", AccessKeySecret = "secret" };

var request = WebRequest.Create("https://api.twitter.com/oauth/request_token");
request.Method = "POST";

request.SignRequest(tokens)
    .WithCallback("oob")
    .InHeader();

var accessTokens = request.GetOAuthTokens();
tokens.MergeWith(accessTokens);</pre>
<p></code></p>
<p>After you have all your access tokens, and you want to POST, say, a status update, that&#8217;s easy too:<br />
<code>
<pre>var tweet = "status=Hello%20world&#038;trim_user=true";

var request = WebRequest.Create("https://api.twitter.com/1/statuses/update.json");
request.Method = "POST";
request.SignRequest(tokens)
    .WithPostParameters(tweet)
    .InHeader();

using (var stream = new StreamWriter(request.GetRequestStream())) {
    stream.Write(UrlHelper.Encode(requestString));
    stream.Close();
}</pre>
<p></code></p>
<p>This came about because I kept complaining on Twitter about OAuth, and mentioned that OAuth libraries in .Net should just be extension methods off a WebRequest object. I got challenged to make it and open source it, so a couple of months later I did. (Thanks, <a href="https://twitter.com/#!/traskjd">John-Daniel Trask</a>).</p>
<p>It provides some helper methods to get through the OAuth handshake (like <code>GetOAuthTokens</code> and <code>Tokens.MergeWith</code>), and it doesn&#8217;t completely abstract that process away from you. It&#8217;s something I dislike about many OAuth libraries, they all try to be all fuddy-duddy and hide the choicest bit of OAuth &#8211; the handshake.</p>
<p>So simply,</p>
<ol>
<li>Create a WebRequest object to your OAuth call.</li>
<li>Set any Method and query string/form post sections.</li>
<li>Start with <code>.SignRequest()</code> and pass in your tokens.</li>
<li>Then finish it off with <code>.InHeader()</code></li>
</ol>
<p>BAM! Done, you have an OAuth signed request that&#8217;s ready to be used. Just call for the Response Stream like you normally would.</p>
<p>It is not a Portable Library unfortunately. It&#8217;s currently in progress when I have time (or you could do it, the power of Open Source!). It&#8217;s under the MIT License.</p>
<ul>
<li><a href="https://github.com/djmc/SimpleOAuth.Net"><strong>Simple OAuth.net</strong> &#8211; download, fork and read the docs at GitHub</a></li>
</ul>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/DanielsView?a=4ZlqUW_TsOs:lXjDXnd02R0:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/DanielsView?i=4ZlqUW_TsOs:lXjDXnd02R0:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/DanielsView?a=4ZlqUW_TsOs:lXjDXnd02R0:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/DanielsView?d=qj6IDK7rITs" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/DanielsView/~4/4ZlqUW_TsOs" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.daniels.net.nz/2012/03/introducing-simple-oauth-net-because-oauth-doesnt-have-to-be-that-hard/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.daniels.net.nz/2012/03/introducing-simple-oauth-net-because-oauth-doesnt-have-to-be-that-hard/</feedburner:origLink></item>
		<item>
		<title>Get a Home gets an update</title>
		<link>http://feedproxy.google.com/~r/DanielsView/~3/c05jNefPpeQ/</link>
		<comments>http://www.daniels.net.nz/2011/09/get-a-home-gets-an-update/#comments</comments>
		<pubDate>Sun, 25 Sep 2011 02:14:19 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.daniels.net.nz/?p=134</guid>
		<description><![CDATA[Version 24-09-2011 is live, and what does it bring? Well, saying that, it&#8217;s the first major front-end release in a while. It&#8217;s a pet project, one that I make sure still functions, so recently there have been a few mishaps, both from Trade Me and Google&#8230; fortunately, I just needed to upgrade the calls to [...]]]></description>
			<content:encoded><![CDATA[<p>Version 24-09-2011 is live, and what does it bring?</p>
<p>Well, saying that, it&#8217;s the first major front-end release in a while. It&#8217;s a pet project, one that I make sure still functions, so recently there have been a few mishaps, both from Trade Me and Google&#8230; fortunately, I just needed to upgrade the calls to be all proper in the backend, and with Google I had to downgrade the maps (until they reverted the changes they made earlier this week). Since these changes, things have been working tickity-boo.</p>
<p><img src="http://www.daniels.net.nz/wp-content/uploads/2011/09/get-a-home-markers.png" alt="" title="get a home markers" class="alignright size-full wp-image-135" />One of the first changes you&#8217;ll note is the markers have changed colour. Red with a square dot in the middle indicates it&#8217;s an open home upcoming, but yellow with a down-facing triangle indicates that it&#8217;s coming up in the next&#8230; erm&#8230; day. There are still time sync issues I need to resolve, one of those issues where I work on the code in one timezone, and the code runs in a completely different timezone. They should be tidied up shortly. The colours should even be distinctive for colour blind users too (even without the symbols).</p>
<p>The bigger change comes in with the info pane. More info, but using less space! Price, bedrooms and bathrooms are all at the top, followed by photos, open home times and the description. The rest of the details (including Agent details) appear at the end. Not only that, but todays open home time appears at the very top so you can quickly glance at it while out and about. The thing you&#8217;ll need to look out for is the change of the close button, it&#8217;s now a cunningly placed tab on the very edge. This is bigger, and should be easier to hit with your finger on iPad/iPhone/Android.</p>
<p><img src="http://www.daniels.net.nz/wp-content/uploads/2011/09/get-a-home-sidebar-528x480.png" alt="" title="get a home sidebar" class="aligncenter size-large wp-image-136" /></p>
<p>I had feedback asking for the zoom to stop happening, which is a fair comment as things get a bit crazy confusing when you click on something and suddenly you&#8217;re whisked into the middle of no where (a known bug). So, Get a Home will no longer take over your zoom</p>
<p>Meanwhile, if you have it bookmarked on your iPad homescreen, you might want to redo it as it now features a slick new splash screen. No longer do you have to look into the empty white space of no splash screen while the iPad loads in the cached stuff.</p>
<p>I&#8217;ve learnt recently that the appcache will take a while to tick over, so you need to either completely clear your cache in your browser, or wait patiently for up to a week before you get it. This shouldn&#8217;t be a problem in the future.</p>
<ul>
<li><a href="http://www.getahome.co.nz"><strong>Get a Home</strong> for open homes in New Zealand</a></li>
</ul>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/DanielsView?a=c05jNefPpeQ:uZQT0fHjoB4:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/DanielsView?i=c05jNefPpeQ:uZQT0fHjoB4:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/DanielsView?a=c05jNefPpeQ:uZQT0fHjoB4:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/DanielsView?d=qj6IDK7rITs" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/DanielsView/~4/c05jNefPpeQ" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.daniels.net.nz/2011/09/get-a-home-gets-an-update/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.daniels.net.nz/2011/09/get-a-home-gets-an-update/</feedburner:origLink></item>
		<item>
		<title>The web will rule the day, eventually</title>
		<link>http://feedproxy.google.com/~r/DanielsView/~3/bXpx66ElURE/</link>
		<comments>http://www.daniels.net.nz/2011/08/the-web-will-rule-the-day-eventually/#comments</comments>
		<pubDate>Sat, 13 Aug 2011 23:58:09 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[android]]></category>
		<category><![CDATA[apple]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[html5]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[mobile web]]></category>
		<category><![CDATA[mozilla]]></category>

		<guid isPermaLink="false">http://www.daniels.net.nz/?p=118</guid>
		<description><![CDATA[Back in 2006, Apple had announced the iPhone. It was slick, it was the combination of the iPod, a phone and internet connectivity. It was unique, it was touch based, and I&#8217;m pretty sure we&#8217;ll look back at the launch of the iPhone as one of the definers of technology for the next decade. Device [...]]]></description>
			<content:encoded><![CDATA[<p>Back in 2006, Apple had announced the iPhone. It was slick, it was the combination of the iPod, a phone and internet connectivity. It was unique, it was touch based, and I&#8217;m pretty sure we&#8217;ll look back at the launch of the iPhone as one of the definers of technology for the next decade. Device makers had never built a device that is for personal use with such power, of course we had the Palm&#8217;s and Windows Mobile&#8217;s, but they were designed for business. For once, a smartphone was developed for your life, and with that, rolled in a new generation of touch-capable, internet-focused devices from all over trying to catch on to the pie.</p>
<p><img src="http://www.daniels.net.nz/wp-content/uploads/2011/08/iphone-announcement-620x347.jpg" alt="Steve Jobs announcing the iPhone" title="Image courtesy - ilounge.com" class="aligncenter size-large wp-image-120" /></p>
<p>One of the more curious aspects of this device was that it did what Apple does best&#8230; it stripped something and replaced it in favour of something else. While in the past Apple would strip out the floppy disk drive in favour of a CD drive, and these days the DVD drive in favour of the web, in this case they stripped out native applications in favour of web-based apps.</p>
<p>It didn&#8217;t last long. The developer community was unhappy that they couldn&#8217;t get direct hardware access, invented the term &#8220;jailbreaking&#8221; and launched Cydia &ndash; your iPhone hackers app portal. For Apple this meant the web to take a backseat while things got sorted out, and in rolled an official SDK and an App Store in 2008.</p>
<p>Here we are 3 years later, and what has happened? Well, we&#8217;ve got iPads now, and the rise of the &#8220;web app.&#8221; But not quite where it should be. Thanks to Internet Explorer 6 (and other reasons), the internet is 10 years behind. HTML 4 was released in 1998, and it took a separate working group to develop the next iteration, HTML 5. It&#8217;s almost ready, almost. But HTML 5 doesn&#8217;t just need the semantic markup, it needs the APIs to access hardware, and for the first time in a wee while, we&#8217;re seeing rapid development in this area.</p>
<p><img src="http://www.daniels.net.nz/wp-content/uploads/2011/08/HTML5_Logo_256.png" alt="HTML 5 Logo" title="Image courtesy - http://www.w3.org/html/logo" class="alignright size-full wp-image-124" />Thanks to the likes of Google, Mozilla and even Apple, we&#8217;re seeing some fantastic work being done. You can now access the GPS and the accelerometer. You can have up to eleven fingers of touch input (on iPad and iPhone, and Android 3.x). You can have hardware rendered special effects that run silky smooth. Soon, Android browsers will have access to the camera via <a href="http://www.w3.org/TR/dap-api-reqs/">HTML 5&#8242;s Device APIs</a>. Chrome now enables C/C++ applications. The web standards today are being just as dynamic as the web it&#8217;s trying to deliver.</p>
<p>The web isn&#8217;t suited to everything, and that&#8217;s the case even on the desktop. On the desktop the native application is solving what I&#8217;d consider niche problems now. When was the last time you saw someone running a native mail client? The only people who would are running Outlook where email and communication demands are not the same as your general consumer. Games and music players are other examples, however music is already floating up in the cloud thanks to <a href="http://last.fm">Last.fm</a> and <a href="http://www.grooveshark.com">Grooveshark</a>.</p>
<p>Native apps on mobile are sure to do the same&#8230; eventually the web will win out and native apps will solve niche problems that the web can&#8217;t solve (but may take a couple of years to get there). The current wave of native apps are pretty much a stop-gap. The argument that people expect a native experience all the time is a farce, people are more accepting of differences and quirks more than some realise. Look at the iPhone app landscape &#8211; everyone is banging on about &#8220;native! native! native!&#8221; and then rave about <a href="http://tapbots.com/software/tweetbot/">TapBots TweetBot</a> which looks <em>like no other iPhone app on the store</em>.</p>
<p>Is the demand for native apps for websites coming about because websites aren&#8217;t creating adequate mobile web experiences? If you look at Facebook, it doesn&#8217;t function quite right on the iPad, so demand for an iPad app grows (and is to be announced?). Something that can be solved by Facebook easier if they accept that using Facebook on an iPad sucks. Utilising touch in your website isn&#8217;t hard, if you have a photo scroller, use something like jQuery.swipe to add left/right scrolling when someone swipes their finger.</p>
<p>I saw one of my friends&#8217; friends had an iPhone and asked her how she found it, considering she wasn&#8217;t the most computer literate person and didn&#8217;t work around technologists. She described it as &#8220;awesome&#8221; and that email on it was &#8220;amazing.&#8221; Looking at her homescreen however, she was using Gmail. Yup, the mobile version of Gmail&#8217;s website. It was adequate for her.</p>
<p>The only factor not in favour of using the mobile web is Apple&#8217;s curious decisions with its HTML 5 &#8220;App Platform.&#8221; Keeping homescreen apps one-step-away from normal Safari, not having any way to upload files (even just photos), and limiting WebGL to their ad platform. Still, it does have the better HTML 5 device support, it&#8217;s just the web app developers need to talk louder.</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/DanielsView?a=bXpx66ElURE:9DyfuL_LQ-o:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/DanielsView?i=bXpx66ElURE:9DyfuL_LQ-o:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/DanielsView?a=bXpx66ElURE:9DyfuL_LQ-o:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/DanielsView?d=qj6IDK7rITs" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/DanielsView/~4/bXpx66ElURE" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.daniels.net.nz/2011/08/the-web-will-rule-the-day-eventually/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.daniels.net.nz/2011/08/the-web-will-rule-the-day-eventually/</feedburner:origLink></item>
		<item>
		<title>Some HTML5+CSS3+Touch experiments</title>
		<link>http://feedproxy.google.com/~r/DanielsView/~3/4SPAOHdQmkA/</link>
		<comments>http://www.daniels.net.nz/2011/06/some-html5css3touch-experiments/#comments</comments>
		<pubDate>Fri, 17 Jun 2011 22:14:05 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[css3]]></category>
		<category><![CDATA[experiments]]></category>
		<category><![CDATA[html5]]></category>

		<guid isPermaLink="false">http://www.daniels.net.nz/?p=103</guid>
		<description><![CDATA[I had been talking on my Twitters about experimenting with HTML5+CSS3 with touch events a few times, so I thought I should share as someone out there might find these useful. I got my iPad to play around with touch, and it&#8217;s already given me a few ideas about what to do next. The Canvas [...]]]></description>
			<content:encoded><![CDATA[<p>I had been talking on my Twitters about experimenting with HTML5+CSS3 with touch events a few times, so I thought I should share as someone out there might find these useful. I got my iPad to play around with touch, and it&#8217;s already given me a few ideas about what to do next.</p>
<p>The <a href="http://play.daniels.net.nz/html5/canvas.html">Canvas experiment</a> was my first foray into touch events. Put your finger down, and it draws circles. Put two fingers down, it draws lots of circles. Put all 10 of your fingers down, and you have a storm of circles.</p>
<p>This uses the touchmove event to loop through all the fingers that are passed through the <a href="http://developer.apple.com/library/safari/#documentation/UserExperience/Reference/TouchEventClassReference/TouchEvent/TouchEvent.html#//apple_ref/javascript/cl/TouchEvent">touch event handler</a>, drawing a circle at each.</p>
<p>The <a href="http://play.daniels.net.nz/html5/flick.html">Flick experiment</a> was on applying CSS3 transforms and animations to make a nice smooth effect when you attempted to drag around a box. I&#8217;m planning on applying this to <a href="http://www.getahome.co.nz">Get a Home</a> for the photo pop-up.</p>
<p>Put your finger on the box and drag left/right. Let go and it&#8217;ll animate back to its original position. Not only is it using Touch events, but also <a href="http://developer.apple.com/library/safari/#documentation/AudioVideo/Reference/WebKitTransitionEventClassReference/WebKitTransitionEvent/WebKitTransitionEvent.html">WebKit Transition Events</a>. Basically, in the touchend event, I apply the CSS3 &#8220;Transition&#8221; property &#8211; &#8220;all 0.25s ease&#8221; &#8211; and then remove the &#8220;Transform&#8221; property. It makes this nice effect that you&#8217;d be used to when, say, you don&#8217;t drag your finger enough to go further in a list, or even you are at the end of the list and get that bounce effect.</p>
<p>You can use them in Chrome, but you won&#8217;t get the full effect. Plus it appears that Chrome 14-dev is rather broken right now with Canvas. (However, while developing the Flick experiment, I found that Safari Mobile ran it better than Chrome-dev did).</p>
<p>Feel free to modify either as you see fit. There are a lot of effects you can play around with in the Flick experiment!</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/DanielsView?a=4SPAOHdQmkA:NiRrnDU1NEk:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/DanielsView?i=4SPAOHdQmkA:NiRrnDU1NEk:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/DanielsView?a=4SPAOHdQmkA:NiRrnDU1NEk:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/DanielsView?d=qj6IDK7rITs" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/DanielsView/~4/4SPAOHdQmkA" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.daniels.net.nz/2011/06/some-html5css3touch-experiments/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.daniels.net.nz/2011/06/some-html5css3touch-experiments/</feedburner:origLink></item>
		<item>
		<title>Use HTML5 offline caching to speed up your web app</title>
		<link>http://feedproxy.google.com/~r/DanielsView/~3/DsnuB4E76gs/</link>
		<comments>http://www.daniels.net.nz/2011/05/using-html5-offline-caching-to-speed-up-your-website/#comments</comments>
		<pubDate>Tue, 31 May 2011 08:47:34 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[html5]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://www.daniels.net.nz/?p=96</guid>
		<description><![CDATA[So you have a fancy new mobile web app, it loads OK, but wouldn&#8217;t it be good if the user was in 3G they didn&#8217;t have to suffer longer load times? Or waste their bandwidth each time they loaded your large JavaScript? HTML 5 thought this needed rectifying, so in rolls the Web Application Cache. [...]]]></description>
			<content:encoded><![CDATA[<p>So you have a fancy new mobile web app, it loads OK, but wouldn&#8217;t it be good if the user was in 3G they didn&#8217;t have to suffer longer load times? Or waste their bandwidth each time they loaded your large JavaScript? HTML 5 thought this needed rectifying, so in rolls the Web Application Cache. </p>
<p>The cache identifies files that need to be stored on the users device to use in subsequent visits to the site. Funny, you may say, that this is what the cache that&#8217;s built in your browser is supposed to do, right? Well&#8230; yeah, it doesn&#8217;t quite work that way. The benefit of HTML5 application caching is that you explicitly tell the browser to store bits and pieces, and it remembers it, seemingly forever. It also doesn&#8217;t even attempt to download those files again, unless either the cache changes or you tell it to.</p>
<p><a href="http://www.getahome.co.nz">Get a Home</a> has just enabled this offline application cache support, so I&#8217;ll go through the steps I went through to add it in.</p>
<p>First thing&#8217;s first, figure out what you want to cache. When you want to cache a webpage, you don&#8217;t automatically get a free pass to cache everything on a webpage. As soon as you add support to your page, your site will break. That is unless you set it up correctly.</p>
<p>You then need a cache manifest. This can be any extension, it seems that some use <code>.appcache</code> and others use <code>.manifest</code>. It doesn&#8217;t matter, but what does matter is that it must be sent as <code>text/cache-manifest</code>, there is no way around it and if you use a shared host that doesn&#8217;t let you change MIME types then your SOL.</p>
<p>The file starts with the line <code>CACHE MANIFEST</code>, and then a list of addresses. These do not have to be on your server, you can provide a full URL to cache or just a relative path. There can only be one per line, and you don&#8217;t get a wildcard, nor can you specify a folder to fully download. As an example,</p>
<pre>CACHE MANIFEST
style/style.css
script/getahome.js
image/logo.png
image/load-big.gif
image/logo-black.png</pre>
<p>You do not need to include the page that is calling it. The page that you set the offline manifest on is treated as the <em>master page</em> and will be included in the cache regardless.</p>
<p>Let&#8217;s say you called this file offline.manifest. To add your cache, just add the <code>manifest</code> attribute to your <code>html</code> element, like,</p>
<pre>&lt;html manifest="offline.manifest"&gt;</pre>
<p>Visit your site and, presto! Hey wait&#8230; everything&#8217;s broke!</p>
<p>Here&#8217;s the fun part, the browser will only ever load things explicitly set in your manifest file, unless you add a handy <code>NETWORK</code> section. This section will specify what to give access to no matter. In this section, you can specify folders. But you can also give it a wildcard to mean &#8220;anything and everything that isn&#8217;t specified in this manifest can be downloaded.&#8221; So our example,</p>
<pre>CACHE MANIFEST
style/style.css
script/getahome.js
image/logo.png
image/load-big.gif
image/logo-black.png
NETWORK:
*</pre>
<p>Now visit your site and, presto! It&#8217;s all working again! Kill your internet connection, and try, you&#8217;ll see your site still loads.</p>
<p>How do you get it to update? Simple! Add a comment below the 1st line, these start with a #. Change this every time, as the web browser will check byte-for-byte any changes to the manifest file when you go to the page (online). If it&#8217;s different, it&#8217;ll redownload everything again.</p>
<pre>CACHE MANIFEST
# rev 20110531
style/style.css
script/getahome.js</pre>
<p>Chrome&#8217;s inspector provides some good debugging information for offline applications. Hit Ctrl+Shift+I, and reload your page to see what it&#8217;s doing, including what events are fired and where its manifest is coming from. If you go into the Resources section, you can see what files have been downloaded.</p>
<p>If you wish to remove your application cache, Chrome provides a way, but you have to delve a little deeper. In your address bar, enter <code>chrome://appcache-internals</code> to get a list of apps that have been installed, and you can delete them individually.</p>
<p>One thing you may have noticed is that there is a little notification if the cache is set up on Get a Home. This is done by using one of the caching events, there are a few of them, but in this example, I&#8217;ll just use the <code>cached</code> event.</p>
<pre>var cache = window.applicationCache;
if (cache) {
 cache.addEventLister("cached", function() { alert("Cached!") }, false);
}</pre>
<p>That little snippet will throw up an alert saying that the site was successfully cached when it&#8217;s completed.</p>
<p>Note that this is best for single page JavaScript applications, not multi-page or those requiring lots of dynamic resources to function properly. You can&#8217;t stick an offline manifest on every page of your static site, as it&#8217;s likely it won&#8217;t function as you expect it to.</p>
<p>Now, one more gotcha before I finish. iOS. You&#8217;d think that Apple wouldn&#8217;t break something like a simple web view, but you would be wrong. If your application is Web App Compatible, the home screen version of your app won&#8217;t use the offline cache. It could be a bug, however it has been around since iOS 4.2, and iOS 4.3 doesn&#8217;t even allow web apps to use the speedier Nitro JavaScript engine.</p>
<p>Ironically, one of the best references for the application cache I found was from the <a href="http://developer.apple.com/library/safari/documentation/AppleApplications/Reference/SafariWebContent/Client-SideStorage/Client-SideStorage.html">Safari Developers Website</a>. No word in there as to how to get the application cache working on home screen apps!</p>
<p><a href="http://www.html5rocks.com/tutorials/appcache/beginner/">HTML Rocks also has a tutorial</a> on application caching.</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/DanielsView?a=DsnuB4E76gs:o7_0mCvtTvU:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/DanielsView?i=DsnuB4E76gs:o7_0mCvtTvU:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/DanielsView?a=DsnuB4E76gs:o7_0mCvtTvU:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/DanielsView?d=qj6IDK7rITs" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/DanielsView/~4/DsnuB4E76gs" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.daniels.net.nz/2011/05/using-html5-offline-caching-to-speed-up-your-website/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.daniels.net.nz/2011/05/using-html5-offline-caching-to-speed-up-your-website/</feedburner:origLink></item>
		<item>
		<title>There was a slight service disruption</title>
		<link>http://feedproxy.google.com/~r/DanielsView/~3/abTAaMKXg3s/</link>
		<comments>http://www.daniels.net.nz/2011/05/slight-service-disruption/#comments</comments>
		<pubDate>Mon, 23 May 2011 09:34:13 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.daniels.net.nz/?p=90</guid>
		<description><![CDATA[Get a Home and this blog will experience a little disruption as they switch servers. This has already been kicked off, Get A Home will regenerate with a new version with lots of enhancements, while this blog will die for a little while until I fix it. Patience! And we&#8217;re done! The service disruption was [...]]]></description>
			<content:encoded><![CDATA[<p>Get a Home and this blog will experience a little disruption as they switch servers. This has already been kicked off, Get A Home will regenerate with a new version with lots of enhancements, while this blog will die for a little while until I fix it. Patience!</p>
<p><em>And we&#8217;re done!</em> The service disruption was mostly because I backed up the wrong database. Fortunately, GoDaddy provided a grace period so I could go and grab that. Phew! Now all hosted by <a href="http://www.hostgator.com">HostGator</a> (and domains with <a href="http://www.1stdomains.co.nz">1st Domains</a>).</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/DanielsView?a=abTAaMKXg3s:JTqpxpe0C48:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/DanielsView?i=abTAaMKXg3s:JTqpxpe0C48:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/DanielsView?a=abTAaMKXg3s:JTqpxpe0C48:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/DanielsView?d=qj6IDK7rITs" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/DanielsView/~4/abTAaMKXg3s" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.daniels.net.nz/2011/05/slight-service-disruption/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.daniels.net.nz/2011/05/slight-service-disruption/</feedburner:origLink></item>
		<item>
		<title>Mapping open homes – introducing Get a Home</title>
		<link>http://feedproxy.google.com/~r/DanielsView/~3/KHMYKTL9Myk/</link>
		<comments>http://www.daniels.net.nz/2011/05/mapping-open-homes-introducing-get-a-home/#comments</comments>
		<pubDate>Sun, 08 May 2011 02:07:08 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[coding]]></category>
		<category><![CDATA[project]]></category>
		<category><![CDATA[web site]]></category>

		<guid isPermaLink="false">http://www.daniels.net.nz/?p=86</guid>
		<description><![CDATA[Mobile is going to be big, so what better way to dig your heels in by making a web site that&#8217;s made with that in mind. For a while I had been thinking about what to do with the Trade Me API, and it hit me just before Christmas last year that there are lots [...]]]></description>
			<content:encoded><![CDATA[<p>Mobile is going to be big, so what better way to dig your heels in by making a web site that&#8217;s made with that in mind. For a while I had been thinking about what to do with the Trade Me API, and it hit me just before Christmas last year that there are lots of Google Maps + Trade Me Property mash-ups, but not many specifically for open homes.</p>
<p>So, <a href="http://www.getahome.co.nz">Get a Home</a> was born.</p>
<p>By using new HTML5 and CSS3 tricks and techniques, I was able to build up a web site that could be used on the PC, iPhone and iPad (Android too, but it&#8217;s not tested). It took a while, and some lost weekends, but it is finally here.</p>
<p>I&#8217;ll cover off some of the things I did on the site on here over time. And hopefully new features can start pouring in now that some of the little niggles on the site have been fixed (I hope). Let me know what you think!</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/DanielsView?a=KHMYKTL9Myk:qx86ZHQ9Grc:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/DanielsView?i=KHMYKTL9Myk:qx86ZHQ9Grc:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/DanielsView?a=KHMYKTL9Myk:qx86ZHQ9Grc:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/DanielsView?d=qj6IDK7rITs" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/DanielsView/~4/KHMYKTL9Myk" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.daniels.net.nz/2011/05/mapping-open-homes-introducing-get-a-home/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.daniels.net.nz/2011/05/mapping-open-homes-introducing-get-a-home/</feedburner:origLink></item>
		<item>
		<title>A trip through the iPad newstand</title>
		<link>http://feedproxy.google.com/~r/DanielsView/~3/1v03iwPH9YY/</link>
		<comments>http://www.daniels.net.nz/2011/04/a-trip-through-the-ipad-newstand/#comments</comments>
		<pubDate>Sun, 17 Apr 2011 07:18:38 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[ios]]></category>
		<category><![CDATA[ipad]]></category>
		<category><![CDATA[magazines]]></category>
		<category><![CDATA[review]]></category>

		<guid isPermaLink="false">http://www.daniels.net.nz/?p=51</guid>
		<description><![CDATA[I am now a proud iPad 2 owner. When the new one was announced, it was pretty much a done deal (and no, I didn&#8217;t have a first generation one). I sold my old MacBook and moved into the touch. One of the things I wanted to get it for was reading, so I started [...]]]></description>
			<content:encoded><![CDATA[<p>I am now a proud iPad 2 owner. When the new one was announced, it was pretty much a done deal (and no, I didn&#8217;t have a first generation one). I sold my old MacBook and moved into the touch. One of the things I wanted to get it for was reading, so I started with the magazines.</p>
<p>I have a problem with magazines&#8230; what do you do with them afterwards? I no longer have a fine collection of PC World magazines from 1997 through to 2002 when I let the subscription expire, and they just gathered dust. I&#8217;m a hoarder, but not of magazines. If the iPad had reading in its future, how did it stack up and would I want to save trees with it?</p>
<p>After a week, I&#8217;ve tried four different magazine readers. None of them are perfect, but a couple of them are close. Let&#8217;s look!</p>
<h2>Atomix</h2>
<p><img src="http://www.daniels.net.nz/wp-content/uploads/2011/04/IMG_0013-225x300.png" alt="" title="IMG_0013" class="alignleft size-medium wp-image-53" />My first magazine purchase was <a href="http://atomixmag.com/">Atomix</a>, the first video game magazine geared towards the iPad. My history of video game magazines goes only to <em>New Zealand Official PlayStation Magazine</em> for the free demo disks that came with it (although, &#8220;free&#8221; as in, &#8220;I paid $16 for this so damn right I get a CD with it&#8221;).</p>
<p><img src="http://www.daniels.net.nz/wp-content/uploads/2011/04/IMG_0014-300x225.png" alt="" title="IMG_0014" class="aligncenter size-medium wp-image-54" /></p>
<p>Atomix is a well-done magazine. A collaborative effort between Atomix Magazine in Mexico, and Area 5 in the US, with (currently) 50% of content produced specifically for the magazine itself by Area 5. They hope to increase this to about 70-80% in the future. You swipe left and right to go between articles, featured articles have beautiful &#8220;cover&#8221; images and sometimes animations. You then scroll to read the story.</p>
<p><object width="600" height="363"><param name="movie" value="http://www.youtube.com/v/XTlwcuJs3n0?version=3"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/XTlwcuJs3n0?version=3" type="application/x-shockwave-flash" width="600" height="363" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
<p><img src="http://www.daniels.net.nz/wp-content/uploads/2011/04/IMG_0015-225x300.png" alt="" title="IMG_0015"  class="alignright size-medium wp-image-55" />Rotate the iPad to landscape mode to view a beautiful gallery of images related to the article &#8211; but this isn&#8217;t the case for every article. There are interactive elements, such as touching cables to see the best video output, as well as video. The first issue has a three part series on iOS gaming and their future, the quality was great.</p>
<p>My only issue was the downloader. The magazine comes in at 420MB, and the software is rather new. If your iPad locks, or you go into another app, you&#8217;re going to have to restart the download from the beginning again. They&#8217;ve promised a fix in the future, but it seems leaving the app open to download is a curse with all magazine apps. Each issue is a steal at $1.29.</p>
<p><em>Project, Wired and Zinio at the jump!</em><br />
<span id="more-51"></span></p>
<h2>Project</h2>
<p><img src="http://www.daniels.net.nz/wp-content/uploads/2011/04/IMG_0016-225x300.png" alt="" title="IMG_0016" class="alignleft size-medium wp-image-59" />I had someone tell me that Project had a free issue going in April, so I thought I&#8217;d nab it. Boy, I&#8217;m glad it was free. It was the worst app I&#8217;ve used, full of bugs and glitches&#8230; in fact, I never got around to reading the actual magazine itself due to the annoyance.</p>
<p><a href="http://www.projectmag.com/">Project Magazine</a> is the first iPad specific magazine brought to you by Richard Branson&#8217;s Virgin Digital company. As far as I can tell, it&#8217;s a mens lifestyle mag. It actually looks like an interesting read, but it&#8217;s plagued with problems.</p>
<p>Once again, you have to leave the app sitting there to download it. However at one point the download stopped completely at 44%, and I cannot continue the download any longer (it says that it can&#8217;t retrieve issue information). I can&#8217;t even purchase it either, so I have a half downloaded magazine sitting there.</p>
<p><img src="http://www.daniels.net.nz/wp-content/uploads/2011/04/IMG_0018-225x300.png" alt="" title="IMG_0018" class="alignright size-medium wp-image-61" />One good thing is that while it is downloading, you can actually open and read the magazine and it&#8217;ll download each section on the fly. This is great. The only downside was when I did this, every page just said &#8220;Waiting&#8221; (<em>see right</em>) and I kept getting errors whenever it attempted to load them.</p>
<p>So did I manage to play with anything? Yes, the main feature article on Eric Bana did download, so I had a quick flick through it. Nice high-res imagery, and apart from the line spacing which makes all caps text hard to read, is nicely laid out. One of the interesting things is that you can tap a [+] on the images to get a run-down on what he&#8217;s wearing. A nice touch if all you want to see is hotness but don&#8217;t care for what label of clothing he was told to wear that day.</p>
<p>One more thing, I almost completely gave up on it when I couldn&#8217;t figure out how to get back to the main screen. Being bombarded with &#8220;Waiting&#8221; and error messages, and then not being able to get back to the library page just made the whole experience worse. It wasn&#8217;t until a friend pointed out that you actually tap the lower third of the screen to bring up the menu.</p>
<p><img src="http://www.daniels.net.nz/wp-content/uploads/2011/04/IMG_0022-620x465.png" alt="" title="IMG_0022" class="aligncenter size-large wp-image-63" /></p>
<p>The issue is no longer free, however each one sets you back $4.19.</p>
<h2>Wired</h2>
<p><img src="http://www.daniels.net.nz/wp-content/uploads/2011/04/IMG_0009-225x300.png" alt="" title="IMG_0009" class="alignleft size-medium wp-image-65" />Another one I managed to grab while a free issue was running&#8230; in fact, the May edition is free right now! <a href="http://www.wired.com">Wired</a> is a magazine I&#8217;ve known about for years but have never read. It&#8217;s not iPad specific, however you could be deceived.</p>
<p>The main landing screen works like any other, browse through issues and hit the Buy button to get it, leave the iPad open on that app only and you&#8217;ll have it in no time. If your download stops, it&#8217;ll resume exactly where it left off. The large cover view is much nicer, however the default is the grid view.</p>
<p>One of the things I noticed about Project was that the cover video was different for both landscape and portrait orientations, and nicely worked its way as the cover image. Wired on the other hand, has only one video designed for landscape, that seems out of place as once its over it just flashes to the cover.</p>
<p>Actually, while I&#8217;m at it&#8230; just make the videos easily skippable. With Atomix, I could flick straight past the video on to where I wanted to go. On Wired, I had to tap the screen and hit &#8220;Done&#8221; to get it over with. Whilst having Andy Samberg with a bobbing head kitten is amusing, once or twice, it gets annoying after your 10th accidental click of the &#8220;Home&#8221; button. I don&#8217;t know why, but I keep hitting the Home icon in the app thinking it takes me to the contents page. I think my mind is going crazy here though.</p>
<p><img src="http://www.daniels.net.nz/wp-content/uploads/2011/04/IMG_0010-620x465.png" alt="" title="IMG_0010" class="aligncenter size-large wp-image-66" /></p>
<p>Anyway, Wired isn&#8217;t just a replica of the paper version. It&#8217;s a well designed, fully iPad-ified version. Holding the iPad in portrait will give you a different layout (and sometimes different photos) than if you were in landscape. Some articles are complimented with good quality video, and images are replaced with simple galleries and touchiness.</p>
<p><img src="http://www.daniels.net.nz/wp-content/uploads/2011/04/IMG_0012-225x300.png" alt="" title="IMG_0012" class="alignright size-medium wp-image-67" />You tap anywhere on the screen to bring up the menu, where you can access the index to go straight to a section. Swiping left/right changes the article and scrolling down lets you read the story. There are lots of indicators that scrolling down should be performed.</p>
<p>It looks like I&#8217;ll be making it a regular purchase. It was interesting to read the <a href="http://www.wired.com/epicenter/2011/04/wired-mag-free-for-may/">Wired editors blog post on making it free</a>, indicating they&#8217;ve got this digital thing:</p>
<blockquote><p>But, ironically, a digital edition creates the opportunity to distribute for free in a way you simply can’t in print. There is no real incremental cost to making as many copies as you need (no paper, printing or postage); copies can be made to order (no waste); they can all be distributed from a single location to anyone, anywhere (nobody is left out because we ran out here, even though we have a surplus there).</p></blockquote>
<p>Each issue is $5.29.</p>
<h2>Zinio</h2>
<p><img src="http://www.daniels.net.nz/wp-content/uploads/2011/04/IMG_0019-225x300.png" alt="" title="IMG_0019" class="alignleft size-medium wp-image-72" />If it&#8217;s one thing that iTunes hasn&#8217;t got yet, it&#8217;s a magazine store. I&#8217;d imagine Apple want every magazine publisher to do their own thing. For those magazines that won&#8217;t, they have the option to go <a href="http://www.zinio.com">Zinio</a>.</p>
<p><img src="http://www.daniels.net.nz/wp-content/uploads/2011/04/IMG_0020-300x225.png" alt="" title="IMG_0020" class="aligncenter size-medium wp-image-73" /></p>
<p>It&#8217;s a magazine store and reader for those magazines that haven&#8217;t transitioned over to an app on the store, which probably is good. Zinio isn&#8217;t limited to iPads however, it can be downloaded for iPhone/iPod, PC and Mac. However, the PC/Mac edition might make you want to throw your mouse into the bin.</p>
<p>This app probably shows that the magazine industry knows what&#8217;s what. While an issue of the New Zealand PC World will set you back $8.90 with a one year subscription at $80, on Zinio an issue is $6 with a yearly subscription at $40&#8230; yep, 50% off. You can find massive discounts like this all over the show, one magazine I found had the yearly subscription cost at the price of two magazines. Browsing the store on the iPad though is a bit painful, with rendering errors all over the show. It&#8217;ll bump you off to the website to purchase it anyway, so you&#8217;d mightaswell browse there.</p>
<p>Zinio will automatically download new issues, once again with all the problems outlined above. You can also open up a magazine while it&#8217;s downloading and take a look around, which I wish the other two apps in this article would do too.</p>
<p><img src="http://www.daniels.net.nz/wp-content/uploads/2011/04/IMG_0021-225x300.png" alt="" title="IMG_0021" class="alignright size-medium wp-image-74" />Swiping left and right flicks you to different pages, and putting your pad in landscape will show the pages side by side. However, don&#8217;t expect re-laid out iPad goodness, these are the print version of a magazine transformed into digital form. They can add links (so if you find an article in the contents page you&#8217;d like, you can skip to it), and publishers can apparently add video, but I&#8217;m not sure which do.</p>
<p>Another thing, images can be low resolution when you zoom in, which is disappointing. Fortunately however, text is always crisp&#8230; so long as it isn&#8217;t in an image. Sometimes it is like flicking through a paged version of a website, but you can double-tap to zoom in on a specific column of text &#8211; you have to do that manually.</p>
<p>Downloading Zinio now seems to give you a complimentary copy of Men&#8217;s Fitness and Elle magazines. Also, last week they had a promotion where you can sign up and get a complimentary subscription to a mag for 3 months, however that seems to have finished. The app itself is free.</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/DanielsView?a=1v03iwPH9YY:cYQeOtYq-kc:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/DanielsView?i=1v03iwPH9YY:cYQeOtYq-kc:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/DanielsView?a=1v03iwPH9YY:cYQeOtYq-kc:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/DanielsView?d=qj6IDK7rITs" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/DanielsView/~4/1v03iwPH9YY" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.daniels.net.nz/2011/04/a-trip-through-the-ipad-newstand/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://www.daniels.net.nz/2011/04/a-trip-through-the-ipad-newstand/</feedburner:origLink></item>
		<item>
		<title>So here we go again… Hello, welcome to my new, new, new blog</title>
		<link>http://feedproxy.google.com/~r/DanielsView/~3/BG2G03U3el0/</link>
		<comments>http://www.daniels.net.nz/2011/04/so-here-we-go-again-hello-welcome-to-my-new-new-new-blog/#comments</comments>
		<pubDate>Sat, 02 Apr 2011 09:08:41 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[blog]]></category>

		<guid isPermaLink="false">http://www.daniels.net.nz/?p=4</guid>
		<description><![CDATA[OK, OK, I&#8217;ll admit it. I screwed up! I thought I&#8217;d take this blog to Tumblr and everything would be awesome&#8230; I&#8217;d post more, I&#8217;ll be able to bring more of personality to it, etc etc. But that experiment clearly failed. So here I am, again, the third time, reviving this blog. What a nightmare&#8230; [...]]]></description>
			<content:encoded><![CDATA[<p>OK, OK, I&#8217;ll admit it. I screwed up! I thought I&#8217;d take this blog to <a href="http://tumblr.daniels.net.nz/">Tumblr</a> and everything would be awesome&#8230; I&#8217;d post more, I&#8217;ll be able to bring more of personality to it, etc etc.</p>
<p>But that experiment clearly failed.</p>
<p>So here I am, again, the third time, reviving this blog. What a nightmare&#8230; OK it wasn&#8217;t. The Tumblr is going to be there for old times sake, but the new blog, situation right here on blog.daniels.net.nz will replace it &#8211; forever! No more Tumblr!</p>
<p>However, I hit a stub. It seems in an effort to move my Tumblr stuff over to this blog, it screwed up my database. So here I am, back at square one. I&#8217;ll slowly import the old posts one by one, they&#8217;re still around on my local install of WordPress so they aren&#8217;t gone forever.</p>
<p>I won&#8217;t be one to post all the time (obviously), but when I do, I hope it&#8217;ll be worthwhile. So, what have I done here then?</p>
<h2>It&#8217;s new, it&#8217;s shiny, it&#8217;s HTML5+CSS3 in harmony!</h2>
<p><img class="aligncenter size-full wp-image-5" title="wordpress theme" src="http://www.daniels.net.nz/wp-content/uploads/2011/04/wordpress-theme.png" alt="" /></p>
<p>Last time I did my blog, I said that it&#8217;s HTML5 compliant&#8230; by only changing the Doctype. This time around I went all out.</p>
<p>For starters, the layout is all HTML5 syntax&#8230; yup, you have your headers, articles, sections. You name it! Thanks to the great <a href="http://dev.opera.com/articles/view/new-structural-elements-in-html5/">Dev.Opera article on using them</a> correctly.</p>
<p>The CSS being used utilises <em>a lot</em> of CSS3. If you take a poke, transitions, transforms, shadows, <em>rounded corners</em>. It&#8217;s enough to make IE6 scream&#8230; if only it knew what it was it was screaming about it. Then there are the fonts, from the Google Font Library comes <a href="http://www.google.com/webfonts/list?family=PT+Sans&#038;subset=latin">Bevan</a> for the headings and <a href="http://www.google.com/webfonts/family?family=Bevan&#038;subset=latin">PT Sans</a> for the main body text. I&#8217;m not a font guru, (or maybe I am), but I quite like them. You may get a flash of unstyled text as they get loaded in.</p>
<p>What&#8217;s more, the CSS was done using the fantastic <a href="http://sass-lang.com/">SASS utility</a>, that&#8217;s Syntactically Awesome Stylesheets. It&#8217;s really made developing and debugging the CSS a joy, so why not give it a shot?</p>
<p>That&#8217;s it from me. Enjoy the rest of your night, or day, or morning, or&#8230; whatever.</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/DanielsView?a=BG2G03U3el0:Sd35fFvkZ3U:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/DanielsView?i=BG2G03U3el0:Sd35fFvkZ3U:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/DanielsView?a=BG2G03U3el0:Sd35fFvkZ3U:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/DanielsView?d=qj6IDK7rITs" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/DanielsView/~4/BG2G03U3el0" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.daniels.net.nz/2011/04/so-here-we-go-again-hello-welcome-to-my-new-new-new-blog/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.daniels.net.nz/2011/04/so-here-we-go-again-hello-welcome-to-my-new-new-new-blog/</feedburner:origLink></item>
		<item>
		<title>Media Molecule office tour</title>
		<link>http://feedproxy.google.com/~r/DanielsView/~3/6zeG8E8Q5j4/</link>
		<comments>http://www.daniels.net.nz/2011/01/media-molecule-office-tour/#comments</comments>
		<pubDate>Fri, 21 Jan 2011 01:02:18 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[games]]></category>
		<category><![CDATA[tumblr]]></category>
		<category><![CDATA[video]]></category>

		<guid isPermaLink="false">http://www.daniels.net.nz/?p=19</guid>
		<description><![CDATA[Media Molecule have a pretty awesome office, and really love their community. Got LittleBigPlanet 2 yesterday, very fun!]]></description>
			<content:encoded><![CDATA[<p><object width="600" height="363"><param name="movie" value="http://www.youtube.com/v/URYFzAJhfkI?version=3"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/URYFzAJhfkI?version=3" type="application/x-shockwave-flash" width="600" height="363" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
<p>Media Molecule have a pretty awesome office, and really love their community. Got LittleBigPlanet 2 yesterday, very fun!</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/DanielsView?a=6zeG8E8Q5j4:VOdrBz4UyqE:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/DanielsView?i=6zeG8E8Q5j4:VOdrBz4UyqE:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/DanielsView?a=6zeG8E8Q5j4:VOdrBz4UyqE:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/DanielsView?d=qj6IDK7rITs" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/DanielsView/~4/6zeG8E8Q5j4" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.daniels.net.nz/2011/01/media-molecule-office-tour/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.daniels.net.nz/2011/01/media-molecule-office-tour/</feedburner:origLink></item>
	</channel>
</rss>

