|
@@ 120-122 (lines=3) @@
|
| 117 |
|
$query = str_replace(' ', '_', $headline); |
| 118 |
|
|
| 119 |
|
// In DEBUG Mode print Query |
| 120 |
|
if ($this->params['DEBUG']=='KEY' || $this->params['DEBUG']=='ALL') { |
| 121 |
|
echo '<tt><b>Search-Keyword </b><xmp>#'.$query.'#</xmp></tt>'; |
| 122 |
|
} |
| 123 |
|
|
| 124 |
|
// First search the API if betterResults==true |
| 125 |
|
if ($this->params['betterResults'] == true) { |
|
@@ 155-157 (lines=3) @@
|
| 152 |
|
$query = str_replace(' ', '_', $data['query']['search'][0]['title']); |
| 153 |
|
|
| 154 |
|
// In DEBUG Mode print Found Keyword |
| 155 |
|
if ($this->params['DEBUG']=='KEY' || $this->params['DEBUG']=='ALL') { |
| 156 |
|
echo '<tt><b>Found Search-Keyword </b><xmp>#'.$query.'#</xmp></tt>'; |
| 157 |
|
} |
| 158 |
|
} |
| 159 |
|
|
| 160 |
|
// If Search Result is a 'Did you mean:' Hint |