From a0f6c3be0019b358123a7414d1a6b8da9bf3a107 Mon Sep 17 00:00:00 2001 From: unknown Date: Sat, 29 Jan 2022 08:53:02 +0100 Subject: [PATCH] Update htroot compare_yacy servlet - removed metager2.de -> is down for me also others didn't work today (but left unchanged) but added a html onerror event to inform if connection was refused. --- htroot/compare_yacy.html | 16 ++++++++++++---- htroot/compare_yacy.java | 4 +--- 2 files changed, 13 insertions(+), 7 deletions(-) diff --git a/htroot/compare_yacy.html b/htroot/compare_yacy.html index 05c9fda49..78d94e9ca 100644 --- a/htroot/compare_yacy.html +++ b/htroot/compare_yacy.html @@ -21,13 +21,13 @@

Left Search Engine - #{searchengines}# #{/searchengines}#   Right Search Engine - #{searchengines}# #{/searchengines}# @@ -40,8 +40,16 @@ ::

Search Result - - + + loading.... +
#(/search)# #%env/templates/footer.template%# diff --git a/htroot/compare_yacy.java b/htroot/compare_yacy.java index 956f16af0..1a2b8d958 100644 --- a/htroot/compare_yacy.java +++ b/htroot/compare_yacy.java @@ -44,9 +44,7 @@ public class compare_yacy { //searchengines.put("google.com", "https://www.google.com/#q="); searchengines.put("startpage.com", "https://startpage.com/do/search?cat=web&query="); searchengines.put("bing.com", "https://www.bing.com/search?q="); - searchengines.put("metager.de", "https://www.metager.de/meta/cgi-bin/meta.ger1?eingabe="); - searchengines.put("metager2.de (web)", "https://www.metager2.de/search.php?ses=web&q="); - searchengines.put("metager2.de (international)", "https://www.metager2.de/search.php?ses=international&q="); + searchengines.put("metager.de", "https://metager.de/meta/meta.ger3?eingabe="); // see https://gitlab.metager.de/open-source/MetaGer/-/blob/development/resources/lang/de/help/help-functions.php#L37 //searchengines.put("yahoo.com", "https://search.yahoo.com/search?p="); // no search service in iframe 2016-08-17 : "Load denied by X-Frame-Options: does not permit cross-origin framing." //searchengines.put("romso.de", "http://romso.de/?q="); // no search service 2016-01-02 searchengines.put("Wikipedia English", "https://en.wikipedia.org/wiki/");