X-Git-Url: https://fpunktk.de/gitweb/?p=consearch.git;a=blobdiff_plain;f=index.php;h=847dbcc818926086e4f1b3c4b600e71f01c6ee5d;hp=cda4e5d394b17fc67d08eb1849597b5ccf80358f;hb=1f7f929392cf15e6bcb20a4d66d4b706f0a98f4e;hpb=f4556a4da52227cf8def049e206e5705a673a74e diff --git a/index.php b/index.php index cda4e5d..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 '; @@ -43,7 +44,20 @@ if ( isset($_GET['get']) and $_GET['get'] === "opensearchdescription" ) { consearch -" title="consearch"> +'; + echo "\n"; +} +?>