Skip to content

Commit

Permalink
refs #2885 added a couple of new search engines
Browse files Browse the repository at this point in the history
  • Loading branch information
sgiehl committed Jun 3, 2013
1 parent fc75bb1 commit 3fe83f5
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 1 deletion.
13 changes: 13 additions & 0 deletions core/DataFiles/SearchEngines.php
Expand Up @@ -435,6 +435,9 @@
'start.lenovo.com' => array('Google', 'q', 'search/index.php?q={k}'),
'wow.com' => array('Google'),
'{}.wow.com' => array('Google'),
'search.leonardo.it' => array('Google'),
'www.optuszoo.com.au' => array('Google'),


// Google Earth
// - 2010-09-13: are these redirects now?
Expand Down Expand Up @@ -519,6 +522,9 @@
// Ilse
'www.ilse.nl' => array('Ilse NL', 'search_for', '?search_for={k}'),

// iMesh
'search.imesh.com' => array('iMesh', array('q', 'si'), 'web?q={k}'),

// Inbox.com
'www2.inbox.com' => array('Inbox', 'q', 'search/results1.aspx?q={k}'),

Expand All @@ -537,8 +543,15 @@
// Powered by InfoSpace
'isearch.babylon.com' => array('InfoSpace', 'q'),
'start.facemoods.com' => array('InfoSpace', 's'),
'start.funmoods.com' => array('InfoSpace', 'q'),
'search.magentic.com' => array('InfoSpace', 'q'),
'search.searchcompletion.com' => array('InfoSpace', 'q'),
'www.searchmobileonline.com' => array('InfoSpace', 'q'),
'isearch.glarysoft.com' => array('InfoSpace', 'q'),
'search.chatzum.com' => array('InfoSpace', 'q'),
'home.speedbit.com' => array('InfoSpace', 'q'),
'search.b1.org' => array('InfoSpace', 'q'),
'searchya.com' => array('InfoSpace', 'q'),

/*
* Other InfoSpace powered metasearches are handled in Piwik_Common::extractSearchEngineInformationFromUrl()
Expand Down
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 9 additions & 1 deletion tests/resources/extractSearchEngineInformationFromUrlTests.yml
Expand Up @@ -354,4 +354,12 @@
# talimba
- url: 'http://www.talimba.com/index.php?page=search/web&search=piwik&type=Web&fl=0'
engine: 'talimba'
keywords: 'piwik'
keywords: 'piwik'

- url: 'http://www.searchmobileonline.com/search?q=searchterm'
engine: 'InfoSpace'
keywords: 'searchterm'

- url: 'http://search.leonardo.it/?q=searchterm'
engine: 'Google'
keywords: 'searchterm'

0 comments on commit 3fe83f5

Please sign in to comment.