On Feb 21, 3:00 pm, Erwin <yves_duf...@mac.com> wrote: > I would like to write the same application for Facebook web app and > Standard web users, > but the Facebook layout is restricted, so I would have 2 html format > layouts.... > > what is the best way to respond to html request from FB users and > 'standard' users on the web.. ?
you can create pseudo mime types. I've most often seen this in the context of doing mobile web versions, but I imagine the same technique should work (one writeup of this is at http://nathanhoad.net/intro-to-iphone-optimising-your-rails-site) > what I should test in the request to select the correct layout ? > don't know. Fred > thanks for your feedback -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.