Contributors: pfefferle, johnnoone
Tags: open search, opensearch, open search document, osd, search
Requires at least: 4.6
Tested up to: 6.6
Stable tag: 4.1.1
License: GPL-2.0-or-later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Create an OpenSearch Document for your blog.
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.
From the spec:
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:
- Extension links for HTML, Atom and RSS
- Autodiscovery via XRDS-Simple, host-meta and WebFinger
- RSS and Atom search responses
- OpenSearch Suggestions extension
Chromes "Tab to Search" is now an opt-in feature. Go to chrome://settings/searchEngines
, search for your Website and press the "Activate" button.
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 );
- fix PHP deprecated: strstr(): Passing null to parameter
- added "search_provider" WebExtension support
- fix broken XML output
- modernize code
- added filters for the search URLs in the OSD document
- fix missing permission callback
- update requirements
- added screenshots
- code improvements
- moved to WordPress API
- fixed site icon implementation
- fixed site icon implementation
- fixed XML output
- encapsulated XML data
- complete refactoring
- WordPress coding style
- Site icon support
- Some smaller fixes
- fixed host-meta link
- added webfinger support
- Added function to flush rewrite_rules
- Autodiscovery for host-meta
- OpenSearch Suggestions extension
- WordPress 2.8.x compatibility
- Autodiscovery for RSS/Atom and XRDS
- Profile-Services
- Initial release
- Upload
open-search-document
-folder to the/wp-content/plugins/
directory - Activate the plugin through the Plugins menu in WordPress
- that's it :)