summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcweiske <cweiske@b3834d28-1941-0410-a4f8-b48e95affb8f>2009-11-05 22:11:45 +0000
committercweiske <cweiske@b3834d28-1941-0410-a4f8-b48e95affb8f>2009-11-05 22:11:45 +0000
commit57930bd8dc0a3799cd22c7bf7c65c7d983484017 (patch)
treee8a042e9c97d72ed7b6a8bb2d73bffa480943205
parent401d8c89eb19519771498dc967d39edf69f2641b (diff)
downloadsemanticscuttle-57930bd8dc0a3799cd22c7bf7c65c7d983484017.tar.gz
semanticscuttle-57930bd8dc0a3799cd22c7bf7c65c7d983484017.tar.bz2
fix opensearch file
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@528 b3834d28-1941-0410-a4f8-b48e95affb8f
-rw-r--r--doc/ChangeLog1
-rw-r--r--www/api/opensearch.php8
2 files changed, 4 insertions, 5 deletions
diff --git a/doc/ChangeLog b/doc/ChangeLog
index da21c15..e6d8946 100644
--- a/doc/ChangeLog
+++ b/doc/ChangeLog
@@ -10,6 +10,7 @@ ChangeLog for SemantiScuttle
just add "?lucky=1" as parameter to search page
- Hide bookmarks with vote < $threshold from users (not admins)
- Update German translation to 100%
+- Fix OpenSearch file
0.94 - 2009-10-02
diff --git a/www/api/opensearch.php b/www/api/opensearch.php
index 4226957..2facb03 100644
--- a/www/api/opensearch.php
+++ b/www/api/opensearch.php
@@ -2,9 +2,8 @@
require_once '../../src/SemanticScuttle/header.php';
header("Content-type: text/xml");
?>
-
-<OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/"
- xmlns:moz="http://www.mozilla.org/2006/browser/search/">
+<?xml version="1.0" encoding="utf-8" ?>
+<OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/">
<ShortName><?php echo $GLOBALS['sitename']?></ShortName>
<LongName></LongName>
<Description><?php echo $GLOBALS['welcomeMessage']?></Description>
@@ -13,6 +12,5 @@ header("Content-type: text/xml");
<Developer>Jan Seifert "jan.seifert@uid.com"</Developer>
<Tags>semanticscuttle bookmark web</Tags>
<Image width="16" height="16">data:image/gif;base64,R0lGODlhEAAQAMZ9ANaPE9mREteTHtSXLdmXIdiXJtaYKdiYJ9iYKNeaLtKdP9CdRd2dLNWfQuWiFMqjX9+hNMykXt6jPOCkPM2oaM+paeCpQuGoR+OqOeKpR+GqS9+uWeSwU+ayS+uzOeWxVeWxWOSyWOu0POazXOS0YOm8Zee8cOy+WOm9a/jBLum+bPbCNurAbe7BYuvBc/LDV/LEV+zEdv/KKf/KLP/KLf/LLuzHe//MNP/NN/nMTv/OOf/OPP/OP/jNW//PPvnOVv/QQv7QRv/QRP/RR/HOhP/SSf/STPnRav/TT//TUPfScf/UUvzUXP/UVP/VV/bTfv/WWf/WW//WXP7XYf/XX//XYP/YZPPVmf/ZZv/ZZ/vYeP/aaf/aa//abP/abf/abvvaef/bb//bcfzbfP/ccv/cc//cdP/cdf/dd//deP/def3egP/ee//efP/efv/ffv/ggf/gg//ghP/ghfrfmv/hif/ii//ijP/jkfzjm//kkv7klv/lmP///////////yH5BAEKAH8ALAAAAAAQABAAAAergH+Cg38hhIeHIFcmiIgDLnt0Go2EE1pyd0QbjQMQDC9bZGprKBcjA4IfAQMrQUhOVFlhaGNPMRl/Aw4yMzc7QkZNUlZdZmASqAJKcW1WPDpARUtQUx0RgyR5fHpzUTU4PkMiqIMVNnh2c25lSTQpAIgqdXJvaWReXz0JiCxwbWhiuGCp8uMAohJszhw5AYMJlBwFEHFoYQHBAwUEMHgwgKjBA0QLKFAaKSgQADs=</Image>
- <Url type="text/html" template="<?php echo $GLOBALS['root']?>search.php/all/{searchTerms}"/>
- <moz:SearchForm><?php echo $GLOBALS['root']?></moz:SearchForm>
+ <Url type="text/html" template="http://<?php echo $_SERVER['HTTP_HOST'] . '/' . $GLOBALS['root']?>search.php/all/{searchTerms}"/>
</OpenSearchDescription>