Now I Have a Blog TooNow I Have a Blog Too Christopher Finke is a software engineer at Mahalo. He is available for birthday parties and bar mitzvahs.

Posts tagged with 'Blog'

Greencode Wordpress Theme Update (0.4)

Sunday, March 4th, 2007

I've updated the Greencode Wordpress theme (which I'm using on my site) to version 0.4. Since version 0.3, I've added a a custom view for the Nintendo Wii (screenshot below), refined the tag cloud, and fixed a few miscellaneous bugs.

Greencode Wordpress theme on the Nintendo Wii

You can download the newest version from the Greencode homepage.

Optimizing Your Website for the Wii

Thursday, February 22nd, 2007

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.

Feed subscribers

Friday, February 16th, 2007

Now that Google Reader is reporting the number of users subscribed to a feed, I can finally tell that there are 35 people using Google Reader to read my feed. I wouldn't have thought that 35 people *total* subscribed to my feed, but judging by what the other user-agents are reporting, about 50 people use a Web-based feed aggregator to subscribe to my blog. Neat!

Guilty as charged...

Monday, February 12th, 2007

Busted...

Content theft

Saturday, February 10th, 2007

I noticed via a pingback to one of my posts that someone is scraping all of my blog posts, publishing them at netscape9.com, and displaying Adsense ads next to them. I don't know which route I should take first: get their Google Adsense account closed for violating the TOS, contact GoDaddy about the user using the Netscape trademark without permission, or get their hosting shutoff for copyright violations. I think I'll do all three. :-D

Update: The owner of the site offers some clarification.