Make Blogengine Look good on an iPhone or iPod with BETouch

Recently when I clicked on a link in a tweet from Chris Patters for his blog post Permanent Link to Leveraging Windows 7 Boot to VHD to Test Visual Studio 2010, and was amazed when I hit it from my iPhone and it looked like an iPhone app I HAD to check it out.  Chris is running WordPress and they have an add on called WPTouch that detects if you are coming from a mobile device.

I use for my  blog and instantly hug my head in sadness thinking that I would not be able to have this for my blog.  Well guess whatjQuery15206932555133893029_1346185809184?? SoundDbbg has created the BETouch 0.1 - iPhone Theme for BlogEngine which is a port of WPTouch theme.

I downloaded it and and installed it on my blog, set BETouch as my mobile theme, but when I hit it from my iPhone it just looked like my regular site.  It should have looked like the image below.

After doing some research I found this Work Item in the site that shows how to add iPod and iPhone to the list of known mobile devices.

To make your install aware of iPhone and iPod add make the BlogEngine.MobileDevices key in you web.config look like the following.

<add key="BlogEngine.MobileDevices" value="(iphone|ipod|nokia|sonyericsson|blackberry|samsung|sec\-|windows ce|motorola|mot\-|up.b|midp\-)"/>

It all works great now my blog looks very nice and readable on an iPhone.

blog comments powered by Disqus


<<  March 2018  >>

View posts in large calendar

Month List