Open Search

Beschreibung

The plugin creates an OpenSearch Document for your blog.

It supports Google Chromes „Tab to Search“ and „search_provider“ WebExtension, Firefox‘ „OpenSearch plugins“, Safaris „Quick Website Search“, and „custom searches“ for Microsofts Edge browser.

Aus der Spezifikation:

Search clients can use OpenSearch description documents to learn about the public interface of a search engine. These description documents contain parameterized URL templates that indicate how the search client should make search requests. Search engines can use the OpenSearch response elements to add search metadata to results in a variety of content formats.

Other integrations and extensions:

Screenshots

  • OpenSearch-Plugins im Firefox
  • Website-Schnellsuche in Safari
  • Chrome-Tab zum Suchen

Installation

  1. Lade den open-search-document-Ordner in das Verzeichnis /wp-content/plugins/ hoch
  2. Aktiviere das Plugin über das Menü Plugins in WordPress
  3. das war’s 🙂

FAQ

Chromes „Tab to Search“ no longer works

Chromes „Tab to Search“ is now an opt-in feature. Go to chrome://settings/searchEngines, search for your Website and press the „Activate“ button.

How to add query params to the Search-URLs

You can add custom params to the search URL using the osd_search_url_template filter.

function custom_osd_extend( $url, $type ) {
    $url = add_query_arg( 'mtm_campaign', 'opensearch', $url );

    return $url;
}
add_filter( 'osd_search_url_template', 'custom_osd_extend', 10, 2 );

Rezensionen

10. April 2020
Thanks for this nifty plugin! Perfect! You might want to add some documentation since it's very hidden how it works. 1) After activating the plugin, a <link rel="search"> tag is added to the header of your webpages. 2) This link points to https://domain.com/wp-json/opensearch/1.1/document and produces an XML document. 3) This document.osdx contains the OpenSearch specification for your website. 4) An additional use case, is downloading this file to your Windows machine. Then you can double-click it to install a search connector to Windows. This lets you search your own website directly from your Windows and Explorer search bars. Just type the first letters of your website name to get it going! Best, Marc
17. Januar 2018
Plugin works exactly as it should. I was looking for a plugin that activates on the web in google chrome search using the TAB key. Thanks a lot.
Alle 4 Rezensionen lesen

Mitwirkende & Entwickler

„Open Search“ ist Open-Source-Software. Folgende Menschen haben an diesem Plugin mitgewirkt:

Mitwirkende

„Open Search“ wurde in 1 Sprache übersetzt. Danke an die Übersetzerinnen und Übersetzer für ihre Mitwirkung.

Übersetze „Open Search“ in deine Sprache.

Interessiert an der Entwicklung?

Durchstöbere den Code, sieh dir das SVN Repository an oder abonniere das Entwicklungsprotokoll per RSS.

Änderungsprotokoll

4.1.1

  • fix PHP deprecated: strstr(): Passing null to parameter

4.1.0

4.0.1

  • fix broken XML output

4.0.0

  • modernize code
  • added filters for the search URLs in the OSD document

3.0.3

  • fix missing permission callback

3.0.2

  • Anforderungen überarbeitet

3.0.1

  • Bildschirmfotos hinzugefügt
  • Quelltext-Verbesserungen

3.0.0

  • Auf die WordPress-API umgestellt

2.1.2

  • fixed site icon implementation

2.1.1

  • fixed site icon implementation

2.1.0

  • fixed XML output
  • encapsulated XML data

2.0.0

  • Komplette Überarbeitung
  • WordPress-Kodierungsstil
  • Site icon support

1.3.1

  • Einige kleinere Korrekturen

1.3

  • fixed host-meta link
  • added webfinger support

1.2.2

  • Added function to flush rewrite_rules

1.2.1

  • Autodiscovery for host-meta

1.2

  • OpenSearch Suggestions extension

1.1

  • Kompatibilität mit WordPress 2.8.x
  • Automatische Erkennung für RSS/Atom und XRDS
  • Profildienste

1.0

  • Erste Veröffentlichung