Chris Roy wrote:
I'd love some information on how to detect and redirect portable device browsers (phones/PSP/palm etc.) to an alternate website designed for such devices. Anyone know what screen size would be ideal? Any other problems with trying to do this? Media players compatable?
If you're developing in Java, take a look at the Milyn Project. It has Java components for:
1. Browser Recognition: What is the make and model of the requesting browser. Supports regular expressions etc
2. Browser Profiling: e.g. Screen Size:- small, medium, large. Screen Orientation:- portrait, landscape etc
3. A JSP Taglib: For writing JSP pages that can take advantage of the above mentioned device recognition and profiling. Include, exclude or select content for the page response based on the make or profile of the browser e.g. if it's a "small" device, only respond with the opening paragraph of a passage of text etc
4. Browser Aware Response Content Filtering: A pluggable component framework that allows development of Java components that can be plugged in and used to manipulate specific elements of markup on responses going to a specific browser or profile o browser e.g. one of the XForms tags for all responses going to browsers with no XForms support.