added: to stats plugin: microsoft bing searcher

git-svn-id: svn://ttmath.org/publicrep/winix/trunk@648 e52654a7-88a9-db11-a3e9-0013d4bc506e
This commit is contained in:
2010-08-28 21:19:30 +00:00
parent d6e80f5a23
commit c92081d6e1
7 changed files with 37 additions and 3 deletions

View File

@@ -31,7 +31,7 @@ bool Bot::BrowserNameHas(const char * name)
bool Bot::IsGoogle()
{
return BrowserNameHas("Googlebot") && BrowserNameHas("www.google.com");
return BrowserNameHas("Googlebot") && BrowserNameHas("+http://www.google.com/bot.html");
}
@@ -42,4 +42,10 @@ bool Bot::IsYahoo()
}
bool Bot::IsBing()
{
return BrowserNameHas("msnbot") && BrowserNameHas("+http://search.msn.com/msnbot.htm");
}
} // namespace