diff options
author | sgiehl <stefan@piwik.org> | 2015-02-20 01:15:02 +0300 |
---|---|---|
committer | sgiehl <stefan@piwik.org> | 2015-02-20 01:15:02 +0300 |
commit | 0d5895fef9810b1b2525fd7b22e9ba900e377ba4 (patch) | |
tree | ecb3a31bb5a72326451309819568165b9490f7ab | |
parent | 0274687bba1a94e0b659f11fe73e956e4d26f2fc (diff) |
fixes #7216 - added toppreise.ch
-rw-r--r-- | core/DataFiles/SearchEngines.php | 8 | ||||
-rw-r--r-- | plugins/Referrers/images/searchEngines/www.toppreise.ch.png | bin | 0 -> 599 bytes | |||
-rw-r--r-- | tests/resources/extractSearchEngineInformationFromUrlTests.yml | 4 |
3 files changed, 11 insertions, 1 deletions
diff --git a/core/DataFiles/SearchEngines.php b/core/DataFiles/SearchEngines.php index 6d07f6a637..9a40f96748 100644 --- a/core/DataFiles/SearchEngines.php +++ b/core/DataFiles/SearchEngines.php @@ -913,9 +913,15 @@ if (!isset($GLOBALS['Piwik_SearchEngines'])) { // Toolbarhome 'www.toolbarhome.com' => array('Toolbarhome', 'q', 'search.aspx?q={k}'), - 'vshare.toolbarhome.com' => array('Toolbarhome'), + // Toppreise.ch + 'www.toppreise.ch' => array('Toppreise.ch', 'search', 'index.php?search={k}', 'ISO-8859-1'), + 'toppreise.ch' => array('Toppreise.ch', null, null, 'ISO-8859-1'), + 'fr.toppreise.ch' => array('Toppreise.ch', null, null, 'ISO-8859-1'), + 'de.toppreise.ch' => array('Toppreise.ch', null, null, 'ISO-8859-1'), + 'en.toppreise.ch' => array('Toppreise.ch', null, null, 'ISO-8859-1'), + // Trouvez.com 'www.trouvez.com' => array('Trouvez.com', 'query'), diff --git a/plugins/Referrers/images/searchEngines/www.toppreise.ch.png b/plugins/Referrers/images/searchEngines/www.toppreise.ch.png Binary files differnew file mode 100644 index 0000000000..5c7dffd666 --- /dev/null +++ b/plugins/Referrers/images/searchEngines/www.toppreise.ch.png diff --git a/tests/resources/extractSearchEngineInformationFromUrlTests.yml b/tests/resources/extractSearchEngineInformationFromUrlTests.yml index c02aec118f..6043e0d32f 100644 --- a/tests/resources/extractSearchEngineInformationFromUrlTests.yml +++ b/tests/resources/extractSearchEngineInformationFromUrlTests.yml @@ -432,6 +432,10 @@ engine: 'SeeSaa' keywords: '日本テレビ放送網' +- url: 'http://en.toppreise.ch/index.php?search=w%FCrzpr%E4nft%DF&sRes=OK' + engine: 'Toppreise.ch' + keywords: 'würzpränftß' + - url: 'http://chercherfr.aguea.com/s.py?q=piwik' engine: 'Aguea' keywords: 'piwik' |