projects
/
consearch.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
include the default search engine in the opensearchdescription url
[consearch.git]
/
opensearchdescription-consearch.xml.php
diff --git
a/opensearchdescription-consearch.xml.php
b/opensearchdescription-consearch.xml.php
index f12eb443b156110b8ab0aba885b3e476674a6f6d..e4ee2b7d8984608ef17ccc9a52218704e32ed586 100644
(file)
--- a/
opensearchdescription-consearch.xml.php
+++ b/
opensearchdescription-consearch.xml.php
@@
-4,6
+4,6
@@
<Description>conveniently use different searchengines</Description>
<Tags>consearch</Tags>
<Contact>consearch @ f p u n k t k . de</Contact>
<Description>conveniently use different searchengines</Description>
<Tags>consearch</Tags>
<Contact>consearch @ f p u n k t k . de</Contact>
-<Url type="text/html" template="https://www.fpunktk.de/consearch/index.php#{searchTerms}" />
+<Url type="text/html" template="https://www.fpunktk.de/consearch/index.php
<?php if ( isset($_GET['dse']) and preg_match('/^[0-9a-z]{1,5}$/', $_GET['dse']) === 1 ) { echo "?dse=" . $_GET['dse']; } ?>
#{searchTerms}" />
<Image height="16" width="16" type="image/png">https://www.fpunktk.de/consearch/consearch.png</Image>
</OpenSearchDescription>
<Image height="16" width="16" type="image/png">https://www.fpunktk.de/consearch/consearch.png</Image>
</OpenSearchDescription>