Blog, Greencode, Nerd, Nintendo Wii, Themes, WordPress

Optimizing Your Website for the Wii

I’ve optimized my blog (and thus my Greencode WordPress theme) for browsing on the Nintendo Wii. So if you read my blog on the Wii, it will look like this:

My website on the Wii

It was pretty easy, and you can do it too, by following these two simple steps:

1. Create a Wii-friendly stylesheet. This is similar to creating a mobile-friendly stylesheet, and it involves enlarging the text, removing superfluous crap, and just making your site easier to read from a distance. You can see the stylesheet I created here.

2. Serve the Wii stylesheet to Wii users. The user-agent string of the Wii will be something like Opera/9.00 (Nintendo Wii; U; ; 1309-9; en), so in PHP, you can accompish this like so:

if (strpos($_SERVER['HTTP_USER_AGENT'], "Wii;") !== false){
[... wii stylesheet ...]
} else {
[... regular stylesheets ...]
}

And just for fun, I also added an “Optimized for the Nintendo Wii” watermark in the top-right corner and enabled the Wii stylesheet for anyone who adds “?wii=1” to the end of a URL. For example, here is the Wii-friendly version of this post.

Standard
Blog, Browser Add-ons, Greencode, Recommendations, Social Traffic, URL Fixer

Hackers and Downloaders

Update: URL Fixer was acquired and is now hosted at http://urlfixer.org/

Welcome, readers of Lifehacker and Download Squad. I hope you find URL Fixer as useful as I do.

Feel free to check out my other extension and software projects, and if you find any of it interesting, go ahead and subscribe to my feed. I typically write about Firefox extensions, my job at Netscape, and other technical items of interest on a semi-daily basis.

Standard