mobileOK Pythia for Joomla!

mobileOK Pythia is a plug-in for Joomla! designed to help adapt content from a Joomla! Web site to fit the properties of the requesting device, and in particular to generate mobileOK content when the requesting device is identified as mobile.

mobileOK™ is a mark formally defined in the W3C mobileOK Basic Tests 1.0 standard. It ensures that some steps were taken to provide a functional user experience for users of basic mobile devices. Please refer to About The W3C mobileOK Checker for more information about mobileOK.

Beyond mobileOK, the mobileOK Pythia plug-in provides facilities to take advantage of the capabilities of the requesting device when known. The plug-in was developed in as generic a way as possible and may be extended, e.g. to make use of other device properties or to switch to a different Device Description Repository. The plug-in uses WURFL by default but accesses this database through a standard DDR Simple API that could be extended to support other DDRs.

Description

Main features of the mobileOK Pythia plug-in for Joomla! are:

The plug-in has been tested with Joomla! v1.5.

Installation

Installation steps to activate the mobileOK Pythia plug-in for Joomla!:

  1. In the administrative pages, go to Extensions / Install/Uninstall.
  2. You should already be on the Install tab. If not, select it.
  3. Paste the URL of the mobileOK Pythia package to the Install from URL field and press Install:
    http://dev.w3.org/2009/mobileok-authoring/plugins/joomla/mobileOKPythia.zip
  4. The plug-in should now appear in the Plugin manager under the name mobileOKPythia. Activate the plug-in.
  5. Adjust the settings as required by clicking on mobileOK Pythia in the plugins list.

Installation of the mobileOK template is not required. If available, a mobileOK template that matches the default desktop theme should be preferred to ensure thematic consistency between desktop and mobile versions of the blog. If you wish to install the mobileOK template that ships with the mobileOK Pythia plug-in:

  1. In the administrative pages, go to Extensions / Install/Uninstall.
  2. Click on the Templates tab.
  3. Paste the URL of the beez mobileOK package to the Install from URL field and press Install:
    http://dev.w3.org/2009/mobileok-authoring/plugins/joomla/mobileOKPythia.zip
  4. The template should now appear in the Template manager.
  5. To activate the template within the mobileOK Pythia plug-in, go to the mobileOK Pythia settings through the Plugin manager list, and enter mobileok-default in the name of the template for mobile devices. Save your changes.

Please note that the plug-in requires PHP 5.x and has not yet been submitted to the Joomla! Extension Directory (JED).

Screenshots

Following is an illustration of core operations (pagination, image resizing) performed by the plug-in when the requesting device is identified as a mobile device. Total page size, including images and CSS stylesheets, does not exceed 20Kb:

Illustration of the transcoding actions performed by the mobileOK Pythia plug-in on a typical Joomla Web site

The same content without the plug-in appears truncated, even on a high end mobile device. Total page size, including images and CSS stylesheets, is more than 300Kb:

Typical Joomla Web site without mobile plug-in on a high-end mobile device

Source code

The source code of the mobileOK Pythia plug-in for Joomla! is distributed under a GNU General Public License in accordance with Joomla!'s requirements for plug-ins. Please note that the stand-alone libraries used within the plug-in (e.g. AskPythia and TransPythia) are distributed under a more permissive W3C Software Notice and License.

The mobileOK version of the Beez template is distributed under a GNU General Public License.

Feedback

Comments, suggestions, contributions and bug reports should be sent to the public-mobile-dev@w3.org mailing-list. The archives of the list are publicly available.

You can subscribe to the list (and unsubscribe), or if you just have a small question and don't want to join the list, feel free to send it directly to the list.

Contact: François Daoust <fd@w3.org>