19
2010-03

增加去百度,谷歌等搜索引擎的站内查询链接-给AWStats关键词统计

有时候看关键词的统计并不知道具体的关键词是从那个搜索引擎过来的,具体落到了自己网站的那个页面上。给AWStats的关键词列表增加了几个链接,直接指向相应关键词的在百度,谷歌,雅虎3个引擎上的站内搜索结果。效果如图:
关键词链接

修改代码附后:针对6.9版本修改

RCS file: /cvsroot/awstats/awstats/wwwroot/cgi-bin/awstats.pl,vretrieving revision 1.927diff -r1.927 awstats.pl46c46<   5000;   # Nb of records in data arrays after how we need to flush data on disk--->   50000;   # Nb of records in data arrays after how we need to flush data on disk15368a15369,15372>                                 . " <a target=\"_blank\" href=\"http://www.baidu.com/s?wd=site:">                                 . $SiteDomain. " ". $mot ."\">[Baidu]</a>">                                 . " <a target=\"_blank\" href=\"http://www.google.cn/search?ie=gbk&q=site:">                                 . $SiteDomain. " " . $mot ."\">[Google]</a>"15416a15421,15424>                                 . " <a target=\"_blank\" href=\"http://www.baidu.com/s?wd=site:">                                 . $SiteDomain. " ". $mot ."\">[Baidu]</a>">                                 . " <a target=\"_blank\" href=\"http://www.google.cn/search?ie=gbk&q=site:">                                 . $SiteDomain. " " . $mot ."\">[Google]</a>"18754a18763,18766>                                 . " <a target=\"_blank\" href=\"http://www.baidu.com/s?wd=site:">                                 . $SiteDomain. " ". $mot ."\">[Baidu]</a>">                                 . " <a target=\"_blank\" href=\"http://www.google.cn/search?ie=gbk&q=site:">                                 . $SiteDomain. " " . $mot ."\">[Google]</a>"18824a18837,18840>                                 . " <a target=\"_blank\" href=\"http://www.baidu.com/s?wd=site:">                                 . $SiteDomain. " ". $mot ."\">[Baidu]</a>">                                 . " <a target=\"_blank\" href=\"http://www.google.cn/search?ie=gbk&q=site:">                                 . $SiteDomain. " " . $mot ."\">[Google]</a>"
« 上一篇下一篇 »

评论列表:

发表评论:

◎欢迎参与讨论,请在这里发表您的看法、交流您的观点。