88ee840373f7ada2af6a72d80093e49e254995a6
[consearch.git] / opensearchdescription-consearch.xml.php
1 <?php
2 echo '<?xml version="1.0" encoding="UTF-8"?>
3 <OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/">
4 <ShortName>consearch</ShortName>
5 <Description>conveniently use different searchengines</Description>
6 <Tags>consearch</Tags>
7 <Contact>consearch @ f p u n k t k . de</Contact>
8 <Url type="text/html" template="https://www.fpunktk.de/consearch/index.php';
9 if ( isset($_GET['dse']) and preg_match('/^[0-9a-z]{1,5}$/', $_GET['dse']) === 1 ) {
10     echo '?dse=' . $_GET['dse'];
11 }
12 echo '#{searchTerms}" />
13 <Image height="16" width="16" type="image/png">https://www.fpunktk.de/consearch/consearch.png</Image>
14 </OpenSearchDescription>';
15 ?>