Hi all,

Is it a good idea to use a middleware class to detect the browser
client looking at the HTTP_USER_AGENT so as to serve presentation
logic accordingly, for mobile devices or older browsers, etc...?

I know this is mostly done by <!--[if IE 6]>, etc... tags in the html
document but I am not very familiar with this style.

One pitfall I can think of is the bots. Googlebot for example can
detect I am serving different content for different clients and judge
that I am index spamming.

oMat


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to