| @@ 19-27 (lines=9) @@ | ||
| 16 | /** |
|
| 17 | * Test Tine RSS |
|
| 18 | */ |
|
| 19 | public function testTinyRSS() |
|
| 20 | { |
|
| 21 | $ualist = array( |
|
| 22 | 'Tiny Tiny RSS/1.10 (http://tt-rss.org/)' |
|
| 23 | ); |
|
| 24 | ||
| 25 | testUaList($this,'Robot','Name',$ualist,'Tiny RSS'); |
|
| 26 | testUaList($this,'Robot','Type',$ualist,'RSS Reader'); |
|
| 27 | } |
|
| 28 | /** |
|
| 29 | * Test Google Bots |
|
| 30 | */ |
|
| @@ 116-124 (lines=9) @@ | ||
| 113 | /** |
|
| 114 | * Test WASALive |
|
| 115 | */ |
|
| 116 | public function testWasaLiveBot() |
|
| 117 | { |
|
| 118 | $ualist = array( |
|
| 119 | 'Mozilla/5.0 (compatible; WASALive-Bot ; http://blog.wasalive.com/wasalive-bots/) ' |
|
| 120 | ); |
|
| 121 | ||
| 122 | testUaList($this,'Robot','Name',$ualist,'WASALive Bot'); |
|
| 123 | testUaList($this,'Robot','Type',$ualist,'Bot/Crawler'); |
|
| 124 | } |
|
| 125 | /** |
|
| 126 | * Test .Net robot |
|
| 127 | */ |
|
| @@ 128-136 (lines=9) @@ | ||
| 125 | /** |
|
| 126 | * Test .Net robot |
|
| 127 | */ |
|
| 128 | public function testDotNetBot() |
|
| 129 | { |
|
| 130 | $ualist = array( |
|
| 131 | 'MS Web Services Client Protocol 1.0.3705.0' |
|
| 132 | ); |
|
| 133 | ||
| 134 | testUaList($this,'Robot','Name',$ualist,'.NET Framework CLR'); |
|
| 135 | testUaList($this,'Robot','Type',$ualist,'Bot/Crawler'); |
|
| 136 | } |
|
| 137 | /** |
|
| 138 | * Test 007ac9 robot |
|
| 139 | */ |
|
| @@ 140-148 (lines=9) @@ | ||
| 137 | /** |
|
| 138 | * Test 007ac9 robot |
|
| 139 | */ |
|
| 140 | public function test007ac9Bot() |
|
| 141 | { |
|
| 142 | $ualist = array( |
|
| 143 | 'Mozilla/5.0 (compatible; 007ac9 Crawler; http://crawler.007ac9.net/) ' |
|
| 144 | ); |
|
| 145 | ||
| 146 | testUaList($this,'Robot','Name',$ualist,'007ac9 Crawler'); |
|
| 147 | testUaList($this,'Robot','Type',$ualist,'Bot/Crawler'); |
|
| 148 | } |
|
| 149 | /** |
|
| 150 | * Test 80legs robot |
|
| 151 | */ |
|
| @@ 152-160 (lines=9) @@ | ||
| 149 | /** |
|
| 150 | * Test 80legs robot |
|
| 151 | */ |
|
| 152 | public function test80legsBot() |
|
| 153 | { |
|
| 154 | $ualist = array( |
|
| 155 | 'Mozilla/5.0 (compatible; 008/0.83; http://www.80legs.com/webcrawler.html) Gecko/2008032620 ' |
|
| 156 | ); |
|
| 157 | ||
| 158 | testUaList($this,'Robot','Name',$ualist,'80legs Crawler'); |
|
| 159 | testUaList($this,'Robot','Type',$ualist,'Bot/Crawler'); |
|
| 160 | } |
|
| 161 | /** |
|
| 162 | * Test 80123metaspider robot |
|
| 163 | */ |
|
| @@ 164-172 (lines=9) @@ | ||
| 161 | /** |
|
| 162 | * Test 80123metaspider robot |
|
| 163 | */ |
|
| 164 | public function test123metaspiderBot() |
|
| 165 | { |
|
| 166 | $ualist = array( |
|
| 167 | '123metaspider-Bot (Version: 1.04, powered by www.123metaspider.com) ' |
|
| 168 | ); |
|
| 169 | ||
| 170 | testUaList($this,'Robot','Name',$ualist,'123metaspider Crawler'); |
|
| 171 | testUaList($this,'Robot','Type',$ualist,'Bot/Crawler'); |
|
| 172 | } |
|
| 173 | /** |
|
| 174 | * Test 1470 robot |
|
| 175 | */ |
|
| @@ 176-184 (lines=9) @@ | ||
| 173 | /** |
|
| 174 | * Test 1470 robot |
|
| 175 | */ |
|
| 176 | public function test1470Bot() |
|
| 177 | { |
|
| 178 | $ualist = array( |
|
| 179 | '1470.net crawler ' |
|
| 180 | ); |
|
| 181 | ||
| 182 | testUaList($this,'Robot','Name',$ualist,'1470 Crawler'); |
|
| 183 | testUaList($this,'Robot','Type',$ualist,'Bot/Crawler'); |
|
| 184 | } |
|
| 185 | } |
|
| 186 | ||