I agree with this opinion, having an iPod touch, the device may be more like a PDA, but the browser is close on par to a desktop browser. I can see in the future not having a PDA type at all when devices will be more powerful.
On Tue, Sep 16, 2008 at 2:30 PM, Matt Cooper <[EMAIL PROTECTED]> wrote: > Hi Andy, > > +1 to #2 -- I feel this makes the most sense. That browser can hardly > be considered a PDA-quality browser; our interpretation of what > desktop means seems to fit more with iPhone's browser. > > Thanks, > Matt > > On Tue, Sep 16, 2008 at 2:24 PM, Andy Schwartz > <[EMAIL PROTECTED]> wrote: >> Folks - >> >> I would like to enhance Trinidad's Agent mechanism to >> recognize/support iPhone user agents. We've got a couple of options >> for how to surface the iPhone agent, so wanted to run this by the >> community. >> >> 1. Add a "pda" type for webkit. >> >> Currently, desktop Safari is identified as follows: >> >> Type: TYPE_DESKTOP >> Platform: PLATFORM_MACOS >> Agent: AGENT_WEBKIT >> >> We could distinguish between desktop and mobile safari by changing the >> agent type to "pda", ie: >> >> Type: TYPE_PDA >> Platform: PLATFORM_MACOS >> Agent: AGENT_WEBKIT >> >> 2. Add an "iphone" platform for webkit. >> >> Instead of mucking with the agent type, alternatively we could add a >> new platform, eg: >> >> Type: TYPE_DESKTOP >> Platform: PLATFORM_IPHONE_OS >> Agent: AGENT_WEBKIT >> >> My original thinking was to do #1. However, in the Trinidad renderers >> there are a bunch of places where we special case content/scripts for >> the pda agent type. As far as I can tell, none of the pda-specific >> code applies to the iPhone. We just want our normal desktop content. >> The same goes for unsupported-agents metadata - various components are >> specified as not supported on pda, though these components should be >> supported on iPhone. >> >> As such, I strongly prefer #2. This allows us to get the >> desktop-style rendering that we want, though I'll admit that it is >> somewhat awkward for iPhone to be identified as a "desktop" device. >> My thinking on this is that the agent type "desktop" would imply that >> we've got a desktop-quality browser on the device, which is the case >> for iPhone. I also think #2 would also fit nicely with skinning - ie. >> this would allow us to use @platform to specify iPhone-specific >> styles. >> >> Thoughts? >> >> Andy >> >
