]> git.openstreetmap.org Git - chef.git/commitdiff
nominatim: update OpenSearch description
authorSarah Hoffmann <lonvia@denofr.de>
Thu, 5 Oct 2023 12:36:21 +0000 (14:36 +0200)
committerSarah Hoffmann <lonvia@denofr.de>
Thu, 5 Oct 2023 12:38:24 +0000 (14:38 +0200)
cookbooks/nominatim/files/default/website/nominatim.xml

index 31c3a49c3aa54845f607e4da1df91a298f390da5..4e8a30e3079e9d988acf76259f17a83baddda75f 100644 (file)
@@ -1,15 +1,17 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/"
                        xmlns:moz="http://www.mozilla.org/2006/browser/search/">
-       <ShortName>Nominatim</ShortName>
-       <LongName>Nominatim OSM Search</LongName>
-       <Description>Search for a place in OpenStreetMap Nominatim</Description>
-       <InputEncoding>UTF-8</InputEncoding>
-       <OutputEncoding>UTF-8</OutputEncoding>
-       <Url type="text/html" method="get" template="http://nominatim.openstreetmap.org/search/?q={searchTerms}" />
-       <Query role="example" searchTerms="Reigate" />
-       <Developer>Sarah Hoffmann</Developer>
-       <AdultContent>false</AdultContent>
-       <Attribution>Data &amp;copy; OpenStreetMap contributors. ODbL, http://www.osm.org/copyright.</Attribution>
+    <ShortName>Nominatim</ShortName>
+    <LongName>Nominatim OSM Search</LongName>
+    <Description>Search for a place in OpenStreetMap Nominatim</Description>
+    <InputEncoding>UTF-8</InputEncoding>
+    <OutputEncoding>UTF-8</OutputEncoding>
+    <Url type="text/html" method="get" template="https://nominatim.openstreetmap.org/ui/search.html">
+      <Param name="q" value="{searchTerms}"/>
+    </Url>
+    <Query role="example" searchTerms="Reigate" />
+    <Developer>Sarah Hoffmann</Developer>
+    <AdultContent>false</AdultContent>
+    <Attribution>Data &amp;copy; OpenStreetMap contributors. ODbL, http://www.osm.org/copyright.</Attribution>
 </OpenSearchDescription>