21 Mar 2007, 7:09am
General
by Jesse Rodgers

Comments Off

Creating a mobile version of a static site

Last week I mentioned a bit about the redirect script based on HTTP_USER_AGENT we use to send mobiles to a special version of the home page. This week I have some basic documentation written along with the PHP for download that we use on the mobile.php version of the home page.

Essentially all we are doing is parsing content from the static site and generating a mobile friendly version that is just content in smaller chunks. They are identified by their div class or id. Have a look at the documentation and let me know if anything needs more explanation.