140 likes | 288 Views
Developing m.duke.edu. Concept: create a site specifically formatted to display on iPhones. … and everything else. Display alternate content for users on non-mobile devices. What will you find on m.duke.edu?. Latest Duke news and athletics stories Today’s events Any IT outages.
E N D
Concept: create a site specifically formatted to display on iPhones
What will you find on m.duke.edu? • Latest Duke news and athletics stories • Today’s events • Any IT outages
What will you find on m.duke.edu? (cont.) • Search • Admissions info • Link to emergency.duke.edu
How m.duke.edu works • Homepage displays alternate content for non-mobile browsers • Checking user agent to determine whether a browser is mobile or non-mobile • RSS feeds for updated content
What we learned #1 Tip: follow best practices for developing a website • Write valid mark-up • Avoid frames and table-based layout • Use alt tags for images • Site should be readable without stylesheets
Tip Use a Mobile Profile or Basic doctype <!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.2//EN" "http://www.openmobilealliance.org/tech/DTD/xhtml-mobile12.dtd">
Tip Avoiding pixel and absolute measures allows the browser to adapt content to fit the display
Tip Pages should be organized so that if necessary they may be rendered without stylesheets.
Tip Many mobile devices do not support embedded objects or scripts.
Tip Images should be kept as small as possible. Most screens of mobile devices are less than 200 pixels wide.
Resources http://www.w3.org/TR/mobile-bp/ http://ready.mobi