A customizable W3C Device Description Repository API and back-end processing for mobile aware Web sites.

The maDDR Project : Real-time device descriptions

Real-time access to mobile Web device descriptions

The W3C recommends the Device Description Repository Simple API, a programming-language-neutral means of accessing detailed descriptions of the (mobile) device that is requesting content from your Web site. Because of the huge device diversity in the mobile Web, this information is essential to enable sites adapt to the features and/or limitations of the requesting browsers.

The maDDR Project brings this capability to your Web site!

Tired of your one-size-fits-all or lowest-common-denominator site? With a suitable maDDR module in your Web server, connected to a well-populated repository, you will have all the information you need to adapt to a varying delivery context. Repositories can provide information to help you:

  • Select or generate images of the right size and optimum quality.
  • Use the latest device-specific rendering features.
  • Avoid browser bugs and other annoyances.
  • Have perfect page layouts.
  • Achieve faster page delivery times.
  • See fewer complaints from your Web users.
  • . . . and much more . . .

For more details, read the maDDR Project overview.

 

Filter demo available for download

A sample JEE application containing a maDDR filter is available for download. The demo contains a single page that uses the filter to categorize the requesting device using a RegEx recognizer and retrieves basic information about the device category from a simple hierarchical properties repository. The recognition patterns and repository are simple text files and are easy to edit. The demo shows how to use the standard W3C interface and how to create maDDR recognition/repository modules.

Servlet Filter to detect device

Coding has commenced on a Servlet Filter that uses maDDR to detect the category of device that is making a HTTP request. It uses the RegEx approach to detecting the device, based on one or more of the HTTP headers.

A separate binary (Jar) of the filter will be available following some testing, or you can get the source from the Subversion repository and build it yourself. Until testing is complete, here's a summary of how you add this filter to a JEE application:

Simple RegEx recognition

maDDR can use Regular Expressions to recognize and categorize devices based on HTTP headers. As part of a basic RegEx-based recognition solution, a basic pattern match sequence is being developed. This sequence is a list of patterns in the format:

Syndicate content