Hi, I'm developing a mobile site using Zend framework, and the site has two possible output formats (WML and XHTML). I'm using the same models and controllers, and then just setting which view to render with in the controller. At the moment, this is decided on by the HTTP Accept header. This needs to be definable in the URL as well. The way I'd like to do this is with a URL like the following: http://example.com/wml/controller/action http://example.com/xhtml/controller/action
What's the best way to achieve this using the Zend Framework?
Thanks!