added Sciencenet to the compare search

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@5178 6c8d7289-2bf4-0310-a012-ef5d649a1542
pull/1/head
orbiter 16 years ago
parent 21dbb39afa
commit ea5de7436d

@ -36,7 +36,7 @@ import java.util.Map;
public class compare_yacy {
private static final String defaultsearch = "YaCy";
private static final String[] order = {defaultsearch, "YaCy (local)", "google.de", "google.com", "metager.de", "yahoo.com", "romso.de", "search.live.com", "Wikipedia English", "Wikipedia Deutsch"};
private static final String[] order = {defaultsearch, "YaCy (local)", "google.de", "google.com", "metager.de", "yahoo.com", "romso.de", "search.live.com", "Wikipedia English", "Wikipedia Deutsch", "Sciencenet"};
private static final Map<String, String> searchengines = new HashMap<String, String>();
static {
searchengines.put(defaultsearch, "yacysearch.html?display=2&verify=true&resource=global&query=");
@ -49,6 +49,7 @@ public class compare_yacy {
searchengines.put("search.live.com", "http://search.live.com/results.aspx?q=");
searchengines.put("Wikipedia English", "http://en.wikipedia.org/wiki/");
searchengines.put("Wikipedia Deutsch", "http://de.wikipedia.org/wiki/");
searchengines.put("Sciencenet", "http://sciencenet.fzk.de:8080/yacysearch.html?display=2&verify=true&resource=global&query=");
}
public static serverObjects respond(final httpRequestHeader header, final serverObjects post, final serverSwitch<?> env) {

Loading…
Cancel
Save