Download & Extend

provide simple "is a crawler" check

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

Status:active» needs review

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

AttachmentSize
579712_browscap_is_a_crawler_2.patch 852 bytes

#3

Status:needs review» fixed

mikeryan reviewed in irc and agreed with the approach.

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

#4

Status:fixed» closed (fixed)

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

nobody click here