Mobile Website

Aug 15, 2010

After having implemented the Cable & Wireless Guernsey telephone directory into the find website it seemed a really good idea to try to make this work for people’s mobile phones. The basic interface allows users to search the directory but also includes buttons to frequently searched items. The results were limited due to the way they are presented to us but I managed to ensure phone numbers were clickable on most phones – and allow immediate dialing of numbers.

Another important part of this project was detecting the user was on a phone when they arrived on the site. This was done using an open source rails plugin I have written for accessing the Handset Detection service. You can find the code for this [plugin hosted at github][2]. Although this works really well to reduce the load on the external service I also implemented some simpler checks for known user agent strings to speed things up a little.