OpenSearch

Eigenes Suchfeld für gängige Browser anbieten

Die gängigen Browser stellen Suchfelder zur Verfügung die sich dank dem etablierten OpenSearch Format leicht erweitern lassen. Um die eigene Suche in diesen Feldern zur Verfügung zu stellen bedarf es nicht viel. Im Header der HTML-Seiten muss folgender Link-Tag hinzugefügt werden

<link rel="search" type="application/opensearchdescription+xml" href="/opensearch.xml" title="[Seitentitel kurz max. 16 Zeichen]" />

Und die eigentliche Erweiterung (/opensearch.xml) in Minimalform:

opensearch.xml XML (458 bytes) 25.06.2017 15:40
<?xml version="1.0" encoding="utf-8"?>
<OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/">
  <ShortName>[Seitentitel kurz]</ShortName>
  <Description>Use [Seitentitel kurz] to search</Description>
  <Tags>[Seitentitel lang]</Tags>
  <Image height="16" width="16" type="image/x-icon">http://[host]/favicon.ico</Image>
  <Url type="text/html" methode="get" template="http://[host]/suche?search={searchTerms}" />
</OpenSearchDescription>

Beispiel: /opensearch.xml

Author: , published: , last modified:

Kontakt

Udo Schmal

Udo Schmal
Softwareentwickler
Olvengraben 41
47608 Geldern
Nordrhein-Westfalen
Germany





+49 2831 9776557
+49 1575 0663676
+49 2831 1328709
SMS
WhatsApp

Instagram Profile
vCard 3.0

Copyright / License of sources

Copyright (c) 2007-2020, Udo Schmal <udo.schmal@t-online.de>

Permission to use, copy, modify, and/or distribute the software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies.

THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.

Service Infos

CMS Info Product Name:
UDOs Webserver
Version:
0.4.2.78
Description:
All in one Webserver
Copyright:
Udo Schmal
Compilation:
Sun, 8. Nov 2020 17:33:03
Development Info Compiler:
Free Pascal FPC 3.3.1
compiled for:
OS:Linux, CPU:x86_64
System Info OS:
Ubuntu 20.04.1 LTS focal
Hardware Info Model:
Hewlett-Packard HP Pavilion dv7 Notebook PC
CPU Name:
Intel(R) Core(TM) i5-2450M CPU @ 2.50GHz
CPU Type:
x86_64, 1 physical CPU(s), 2 Core(s), 4 logical CPU(s), 1062.286 MHz