}
if ( isset($_GET['get']) and $_GET['get'] === "opensearchdescription" ) {
+ header('Content-Type: text/xml');
echo '<?xml version="1.0" encoding="UTF-8"?>
<OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/">
<ShortName>consearch';
<Contact>consearch @ f p u n k t k . de</Contact>
<Url type="text/html" template="https://www.fpunktk.de/consearch/index.php';
if ( $dse ) { echo "?dse=$dse"; }
- echo '#{searchTerms}" />
+ echo '#{searchTerms}"></Url>
<Image height="16" width="16" type="image/png">https://www.fpunktk.de/consearch/consearch.png</Image>
</OpenSearchDescription>';
<?php
// for f in *.ico; do for q in {0..100}; do convert -quality $q $f ${f%*.ico}$q.png; done; echo "b64images[\"${f%*.ico}.png\"] = \"$(base64 $(\ls -1S ${f%*.ico}*.png | tail -n 1) | tr -d '\n')\";"; done
-// try optipng
+// try optipng or pngcrush
// for f in *.png; do echo "b64images[\"${f}\"] = \"$(base64 $f | tr -d '\n')\";"; done > tmp.js
?>
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 = "";