The presenters will demonstrate the U.Va. Library’s new mobile capabilities web service based on the WURFL API device database, and show how it can be used on your mobile web site to selectively embed CSS/JS assets and site functionality depending on what a visitor’s mobile device can support.
An example from the U.Va. Library mobile site will show how the mobile capabilities JSON web service is queried to determine whether a device’s browser supports SSL/Cookies, and whether it’s likely to be standards-compliant. The site’s application logic selectively includes Javascript/CSS/CSS3 libraries and embeds additional functionality for these devices using simple template syntax.