Posted by greggles on September 16, 2009 at 11:57pm
| Project: | Browscap |
| Version: | 6.x-1.x-dev |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | greggles |
| Status: | closed (fixed) |
Issue Summary
We should provide a simple function that does a check for "is this browser a crawler" (i.e. bot).
Comments
#1
Suggested signature:
function browscap_is_crawler($useragent = NULL)
A browser string can be passed to check, default if NULL is the current session browser.
#2
Could it be this simple? Seems to work...
#3
mikeryan reviewed in irc and agreed with the approach.
So, http://drupal.org/cvs?commit=264120
#4
Automatically closed -- issue fixed for 2 weeks with no activity.