首页 | 心情日记 | 建站心得 | 编程技术 | 大盘分析 | 股市信息 | 学习园地 | 电脑技巧 | 物流外贸 | 另类其它 | 站长推荐 | 给我留言 | 相册

用户登陆
用户:
密码:
 
不保存保存一天
保存一月保存一年

站点日历
73 2024 - 3 48
     12
3456789
10111213141516
17181920212223
24252627282930
31


站点统计

最新评论

日志搜索

 标题   内容


看看蜘蛛都偷看我博客的哪些网页 是访客还是蜘蛛?一目了然!
未知 蜘蛛爬行统计优化版程序   [ 日期:2010-10-30 23:51:48 ]   [ 来自:本站原创 ]

海外邮件中继,海外退信中继,美国高速VPS,不限流量VPN,邮局维护和管理,邮件网关,EMOS邮件中继,POSTFIX邮件中继,Winwebmail邮件中继,Winmail邮件中继,DBMail邮件中继,JDMail邮件中继,Exchange邮件中继,MDaemon邮件中继 淘宝店:http://shantan.taobao.com 云邮科技官网:www.yunrelay.com

【字体设置:
网上下载的版本基本都是不完整的,访问的统计就不全面了,比如有道的蜘蛛,它有两个关键字要检测,一个是yodaobot,一个是youdaobot,那些发布出来的版本都只检测了yodaobot,造成有道的蜘蛛被误认为是其它蜘蛛的访问,另外,通过日志的分析,发现搜搜对网站的搜索也是不少的,所以也加上了搜搜的检测,还有救是必应的蜘蛛。

现在必应的知名度也在慢慢的提高了,不少用户开始喜欢用它来搜索了,至少比MSN要强很多,目前来说MSN的搜索功能还是很差很差的一个,更新的速度太慢了。同时发现有道,搜狗的蜘蛛抓取的能力也很强,几乎都是地毯式的搜索的。

下面就是蜘蛛的完整的关键字检测代码:

dim agent: agent = lcase(request.servervariables("http_user_agent"))   '获取返回内容并赋值
dim Bot: Bot = ""
if instr(agent, "bot") > 0 then Bot = "OtherBot"
if instr(agent,"googlebot") then Bot="Google"  '从返回值中判断是什么蜘蛛
if instr(agent, "mediapartners-google") > 0 then Bot = "Google Adsense"
if instr(agent, "baiduspider") > 0 then Bot = "Baidu"
if instr(agent, "sogou") > 0 then Bot = "Sogou"
if instr(agent, "yahoo") > 0 then Bot = "Yahoo!"
if instr(agent, "msn") > 0 then Bot = "MSN"
if instr(agent, "ia_archiver") > 0 then Bot = "Alexa"
if instr(agent, "iaarchiver") > 0 then Bot = "Alexa"
if instr(agent, "sohu") > 0 then Bot = "Sohu"
if instr(agent, "sqworm") > 0 then Bot = "AOL"
if instr(agent, "yodaobot") > 0 then Bot = "Yodao"
if instr(agent, "youdaobot") > 0 then Bot = "Yodao"
if instr(agent, "iaskspider") > 0 then Bot = "Iask"
if instr(agent, "soso") > 0 then Bot = "SOSO"
if instr(agent, "bingbot") > 0 then Bot = "Bing"
if len(Bot) > 0 then

引用这个评论 香香公主 于 2010-11-01 15:35:39 发表评论: 



引用这个评论 Thanatus 于 2010-11-01 08:38:52 发表评论: 
纯顶。。。

引用这个评论 jimolr 于 2010-10-31 21:55:56 发表评论: 
BingO(∩_∩)O~也来搅局

   发表评论 - 不要忘了输入验证码哦!
作者: 用户:  密码:  我要注册 验证码: 
为防止广告注册机程序,验证码不会自动显示,请点击此处显示或者(刷新)验证码!
评论:

禁止表情
禁止UBB
禁止图片
识别链接
识别关键字
确定发布?
最多可以输入200个字,目前你已经输入了0个字;你今日还可以发表10条评论!
 
   

CopyRight © 2008-2010 广东金融学院030904班 All Rights Reserved
Powered by www.030904.com