New bots Xmarks and spbot
authorJoey Schulze <joey@infodrom.org>
Tue, 9 Mar 2010 08:10:06 +0000 (08:10 +0000)
committerJoey Schulze <joey@infodrom.org>
Tue, 9 Mar 2010 08:10:06 +0000 (08:10 +0000)
lib/core.inc

index 1242912..c36a9b1 100644 (file)
@@ -172,6 +172,8 @@ function is_spider()
       strpos($_SERVER['HTTP_USER_AGENT'], 'SapphireWebCrawler/1.0') !== false ||
       strpos($_SERVER['HTTP_USER_AGENT'], 'BotOnParade') !== false ||
       strpos($_SERVER['HTTP_USER_AGENT'], 'SurveyBot/2.3') !== false ||
+      strpos($_SERVER['HTTP_USER_AGENT'], 'XmarksFetch/1.0') !== false ||
+      strpos($_SERVER['HTTP_USER_AGENT'], 'spbot/2.0.1') !== false ||
       strpos($_SERVER['HTTP_USER_AGENT'], 'Cityreview Robot') !== false) {
     if (isset($_SESSION['uid']))
       $_SESSION['robot'] = true;