We should provide a simple function that does a check for "is this browser a crawler" (i.e. bot).

Files: 
CommentFileSizeAuthor
#2 579712_browscap_is_a_crawler_2.patch852 bytesgreggles

Comments

Suggested signature:

function browscap_is_crawler($useragent = NULL)

A browser string can be passed to check, default if NULL is the current session browser.

Status:Active» Needs review
StatusFileSize
new852 bytes

Could it be this simple? Seems to work...

Status:Needs review» Fixed

mikeryan reviewed in irc and agreed with the approach.

So, http://drupal.org/cvs?commit=264120

Status:Fixed» Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.