André Hentschel : AppDB: add open search (try 2)
Alexander Nicolaysen Sørnes
asornes at winehq.org
Thu Dec 3 17:12:29 CST 2009
Module: appdb
Branch: master
Commit: 631f530f4a055cfeb1478c9cca37a4378e524428
URL: http://source.winehq.org/git/appdb.git/?a=commit;h=631f530f4a055cfeb1478c9cca37a4378e524428
Author: André Hentschel <nerv at dawncrow.de>
Date: Sun Nov 15 16:20:23 2009 +0100
AppDB: add open search (try 2)
---
include/header.php | 1 +
opensearch.xml | 10 ++++++++++
2 files changed, 11 insertions(+), 0 deletions(-)
diff --git a/include/header.php b/include/header.php
index 99941e9..2eeb779 100644
--- a/include/header.php
+++ b/include/header.php
@@ -25,6 +25,7 @@
<script src="<?php echo BASE; ?>scripts.js" type="text/javascript"></script>
<link rel="icon" type="image/png" href="<?php echo BASE; ?>images/winehq_logo_16.png">
<link rel="shortcut icon" type="image/png" href="<?php echo BASE; ?>images/winehq_logo_16.png">
+ <link title="AppDB" type="application/opensearchdescription+xml" rel="search" href="<?php echo BASE; ?>opensearch.xml">
</head>
<body>
diff --git a/opensearch.xml b/opensearch.xml
new file mode 100644
index 0000000..f9b2dce
--- /dev/null
+++ b/opensearch.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/">
+<ShortName>AppDB</ShortName>
+<Description>AppDB Quick Search</Description>
+<Tags>AppDB</Tags>
+<Image height="16" width="16" type="image/png">http://appdb.winehq.org/images/winehq_logo_16.png</Image>
+<Url type="text/html" method="GET" template="http://appdb.winehq.org/objectManager.php?sClass=application&bIsQueue=false&bIsRejected=false&sTitle=Browse%20Applications&iItemsPerPage=25&iPage=1&iappFamily-appNameOp0=2&sappFamily-appNameData0={searchTerms}" />
+<InputEncoding>UTF-8</InputEncoding>
+<OutputEncoding>UTF-8</OutputEncoding>
+</OpenSearchDescription>
More information about the wine-cvs
mailing list