A few weeks ago I got a Kindle 2 (which has 3G internet access), and was amazed to see how horrible my blog looks on a small portable device. So yesterday I decided to see if I could make a version of my blog optimized for mobile devices.
I figured I’d be at it all day—and maybe even give up in despair. But, as it turns out, it was about a three-hour job. Once again, I’m impressed with the elegance of ExpressionEngine.
Here’s the blog:
http://j-walkblog.com
And here’s the mobile version:
http://j-walkblog.com/index.php/mobile
How I did it:
First I created a new template group called Mobile, and duplicated the key templates I use. In my case, it was six templates. Then, in each template, I stripped out all the navigation (in my case, a sidebar div), removed the links to the CSS files and scripts, and deleted everything related to styles. I was left with just EE code and pure and simple HTML tags. Then I added some new (and very simple) navigation links. I slapped a small masthead on the main page, and that was it.
It retains all of the basic functionality, loads quickly, and is easy to navigate. So far, everyone has reported that it works just fine on their mobile device. And it’s also good for dial-up users.
Questions, comments, and suggestions are welcome.