MobileSiteOS™ Basic
Description
MobileSiteOS™ Basic is based on a simple perl script used to produce xHTML Mobile Profile compliant web
pages while adding 'Google Adsense' and 'AdMob' ad's dynamically. MobileSiteOS™ Basic is also
our "first attempt" at providing software for the 'One Web'. The script interacts
with templates I modified from the ones freely distributed by 'http://dev.mobi/'. See
http://dev.mobi/content/site-templates
for the originals (Oct. 2008, the 176px width version).
Here is a quote from the dev.mobi site which sums it up pretty good:
The dotMobi site template is a template for a complete static .mobi site. This template is designed
to act as a starting point for web developers to create their own sites. The template is coded in fully
validating XHTML Mobile Profile and there are extensive comments within the code to help guide those
unfamiliar with XHTML.
Thus we are trying to build on the excellent template package provided by 'dev.mobi'. Please note,
I make no claim to the page designs and/or copyrights of this template package. I tried to use the
template package 'as is' as much as possible. My modifications to these templates were for the purpose
of adding script functionality.
The same applies to code provided by Google and AdMob, and used in the their scripts. My modifications
to their basic code shall be considered the intellectual property of Google or AdMob respectively,
and governed by their current end-user licensing aggreements.
Note: MobileSiteOS™ Basic requires all scripts and pages be written using Unicode utf-8 encoding and be
loaded to the web server as such.
Features
- DTD XHTML Mobile 1.2 compliant output
- Output as XML (mime type 'application/xhtml+xml') for mobile devices
- Output as xHTML (mime type 'text/html') for desktop devices
- Adjustable output window width (for mobile devices)
- Mobile device detection and auto page display sizing using WURFL data
- Script output is Encoded UTF-8 text
- Dynamically generated 'Google' and/or 'AdMob' ad's using Perl LWP module library
- Google Checkout integration (JavaScript API), degrading to 'BuyButton' functionality for mobile devices
Requirements
- Perl 5.8.1 or above on web server
- Encode and LWP Perl Modules installed
- Script setup/modifications require a Unicode UTF-8 encoding text editor
Reference