Add opensearch description
This commit is contained in:
12
www/opensearch.php
Normal file
12
www/opensearch.php
Normal file
@ -0,0 +1,12 @@
|
||||
<?php
|
||||
require_once(__DIR__.'/../common_config.php');
|
||||
header('Content-Type: application/opensearchdescription+xml');
|
||||
?>
|
||||
<OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/">
|
||||
<ShortName><?php echo _('Onion link list'); ?></ShortName>
|
||||
<Description><?php echo _('Search the onion link list'); ?></Description>
|
||||
<Contact>daniel@danwin1210.de</Contact>
|
||||
<Developer>Daniel Winzen</Developer>
|
||||
<Image width="192" height="192" type="image/gif"><?php echo CANONICAL_URL; ?>/favicon.ico</Image>
|
||||
<Url type="text/html" method="get" template="<?php echo CANONICAL_URL; ?>/onions.php?q={searchTerms}" />
|
||||
</OpenSearchDescription>
|
Reference in New Issue
Block a user