X-Git-Url: https://fpunktk.de/gitweb/?p=consearch.git;a=blobdiff_plain;f=index.php;h=847dbcc818926086e4f1b3c4b600e71f01c6ee5d;hp=bc0de0c81c900972f6ca135532cdf4eea0f3f090;hb=1f7f929392cf15e6bcb20a4d66d4b706f0a98f4e;hpb=57a0c78ea2ce9b38e8d8753e5d1610686ba7daf4 diff --git a/index.php b/index.php index bc0de0c..847dbcc 100644 --- a/index.php +++ b/index.php @@ -17,6 +17,7 @@ if ( isset($_GET['dse']) and preg_match('/^[0-9a-z]{1,5}$/', $_GET['dse']) === 1 } if ( isset($_GET['get']) and $_GET['get'] === "opensearchdescription" ) { + header('Content-Type: text/xml'); echo ' consearch'; @@ -27,7 +28,7 @@ if ( isset($_GET['get']) and $_GET['get'] === "opensearchdescription" ) { consearch @ f p u n k t k . de + echo '#{searchTerms}"> https://www.fpunktk.de/consearch/consearch.png '; @@ -123,7 +124,7 @@ b64images["leo.png"] = "iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAACXBIWXMA tmp.js ?> @@ -147,7 +148,8 @@ se["osm"] = ["osm", "https://www.openstreetmap.org/?query=", "osm.png"]; se["gm"] = ["g-maps", "https://www.google.de/maps/preview?hl=de&q=", "gm.png"]; se["uu"] = ["uu_wiki", "http://wiki.ubuntuusers.de/", "uu.png"]; se["man"] = ["u_man", "http://manpages.ubuntu.com/cgi-bin/search.py?ie=UTF-8&titles=Title&q=", "man-u.png"]; -se["ups"] = ["ups", "http://packages.ubuntu.com/search?searchon=names&suite=all§ion=all&keywords=", "man-u.png"]; +se["dps"] = ["deb-pkg", "https://packages.debian.org/search?searchon=names&suite=all§ion=all&keywords=", ""]; +se["ups"] = ["uu-pkg", "http://packages.ubuntu.com/search?searchon=names&suite=all§ion=all&keywords=", "man-u.png"]; se["yt"] = ["youtube", "https://www.youtube.com/results?search_query=", "yt.png"]; se["imdb"] = ["imdb", "http://www.imdb.com/find?s=all&q=", "imdb.png"]; se["az"] = ["amazon", "https://www.amazon.de/s/?url=search-alias%3Daps&field-keywords=", "az.png"]; @@ -161,13 +163,16 @@ se["gh"] = ["github", "https://github.com/search?utf8=✓&q=", ""]; se["bb"] = ["bing", "https://www.bing.com/search?q=", ""]; se["mdn"] = ["mdn", "https://developer.mozilla.org/search?q=", ""]; se["ctan"] = ["ctan", "http://ctan.org/search/?phrase=", ""]; -se["gpg"] = ["gpg_key", "https://pgp.mit.edu/pks/lookup?op=index&fingerprint=on&search=", ""]; +se["gpg"] = ["pgp.mit", "https://pgp.mit.edu/pks/lookup?op=index&fingerprint=on&search=", ""]; +se["amo"] = ["amo", "https://addons.mozilla.org/search/?q=", ""]; se["gsm"] = ["gsm", "http://www.gsmarena.com/results.php3?sQuickSearch=yes&sName=", ""]; +se["ck"] = ["chfkch", "http://www.chefkoch.de/suche.php?wo=2&suche=", ""]; +se["ypi"] = ["ypi", "http://youpronounce.it/search.jsp?q=", ""]; function display_searchbuttons() { document.getElementById("searchbuttons").innerHTML = ""; for ( kw in se ) { - document.getElementById("searchbuttons").innerHTML += ' \n"; + document.getElementById("searchbuttons").innerHTML += ' \n"; } } @@ -211,7 +216,7 @@ if ( $dse ) { -

fpunktk.de/consearch

+

fpunktk.de/consearch