Title: Open Search
Author: Matthias Pfefferle
Published: <strong>24 Tháng 6, 2007</strong>
Last modified: 7 Tháng 12, 2025

---

Tìm kiếm plugin

![](https://ps.w.org/open-search-document/assets/banner-772x250.png?rev=2841764)

![](https://ps.w.org/open-search-document/assets/icon-128x128.png?rev=2841764)

# Open Search

 Bởi [Matthias Pfefferle](https://profiles.wordpress.org/pfefferle/)

[Tải về](https://downloads.wordpress.org/plugin/open-search-document.4.1.3.zip)

 * [Chi tiết](https://vi.wordpress.org/plugins/open-search-document/#description)
 * [Đánh giá](https://vi.wordpress.org/plugins/open-search-document/#reviews)
 *  [Cài đặt](https://vi.wordpress.org/plugins/open-search-document/#installation)
 * [Nhà phát triển](https://vi.wordpress.org/plugins/open-search-document/#developers)

 [Hỗ trợ](https://wordpress.org/support/plugin/open-search-document/)

## Mô tả

The plugin creates an OpenSearch Document for your blog.

It supports Google Chromes [“Tab to Search”](https://www.chromium.org/tab-to-search)
and [“search_provider” WebExtension](https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/manifest.json/chrome_settings_overrides),
Firefox’ [“OpenSearch plugins”](https://developer.mozilla.org/en-US/docs/Web/OpenSearch),
Safaris [“Quick Website Search”](https://developer.apple.com/library/content/releasenotes/General/WhatsNewInSafari/Articles/Safari_8_0.html),
and [“custom searches”](https://support.microsoft.com/en-us/microsoft-edge/change-your-default-search-engine-in-microsoft-edge-cccaf51c-a4df-a43e-8036-d4d2c527a791)
for Microsofts Edge browser.

From the [spec](http://www.opensearch.org/Specifications/OpenSearch/1.1):

> 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](http://www.opensearch.org/Specifications/OpenSearch/1.1#Autodiscovery_in_HTML.2FXHTML),
   [Atom and RSS](http://www.opensearch.org/Specifications/OpenSearch/1.1#Autodiscovery_in_RSS.2FAtom)
 * Autodiscovery via [XRDS-Simple](https://wordpress.org/plugins/xrds-simple/), 
   [host-meta](https://wordpress.org/plugins/host-meta/) and [WebFinger](https://wordpress.org/plugins/webfinger/)
 * [RSS and Atom search responses](http://www.opensearch.org/Specifications/OpenSearch/1.1#Examples_of_OpenSearch_responses)
 * [OpenSearch Suggestions extension](http://www.opensearch.org/Specifications/OpenSearch/Extensions/Suggestions/1.0)

## Ảnh màn hình

 * [[
 * Firefox OpenSearch plugins
 * [[
 * Safari Quick Website Search
 * [[
 * Chrome Tab to Search

## Cài đặt

 1. Upload `open-search-document`-folder to the `/wp-content/plugins/` directory
 2. Activate the plugin through the _Plugins_ menu in WordPress
 3. that’s it 🙂

## Hỏi đáp

### 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 );
    ```

## Đánh giá

![](https://secure.gravatar.com/avatar/66abdf8d70430fb4f73b321cb04d7884ab37ab748b2ba2088c182697b941b504?
s=60&d=retro&r=g)

### 󠀁[Works perfectly well (and completely hidden as expected)](https://wordpress.org/support/topic/works-perfectly-well-and-completely-hidden-as-expected/)󠁿

 [Marc Bernard](https://profiles.wordpress.org/luxxor/) 10 Tháng 4, 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

![](https://secure.gravatar.com/avatar/560dfc09a183c3769b77fc1ba47b779ea0fc5e877e889ad32adf5638b3414241?
s=60&d=retro&r=g)

### 󠀁[thanks for the update, why not used on more webpages?](https://wordpress.org/support/topic/thanks-for-the-update-why-not-used-on-more-webpages/)󠁿

 [Saleswonder Team: Tobias](https://profiles.wordpress.org/tobias_conrad/) 23 Tháng
1, 2018

Maybe an gif animation for the visitors which is linked to a desccription howto 
use would be nice. i would like to translate to german.

![](https://secure.gravatar.com/avatar/be1b34034f175b87489ac4f8504e5c19cb69ce2d574660e79f6335c963957982?
s=60&d=retro&r=g)

### 󠀁[Perfect](https://wordpress.org/support/topic/perfect-4736/)󠁿

 [ok2vvv](https://profiles.wordpress.org/ok2vvv/) 17 Tháng 1, 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.

![](https://secure.gravatar.com/avatar/d3c6872f75d25bd6e7e4afe7de91beede5a71b8cb38041daa8cb7b1396f80407?
s=60&d=retro&r=g)

### 󠀁[Do what it should](https://wordpress.org/support/topic/do-what-it-should-2/)󠁿

 [rinma](https://profiles.wordpress.org/rinma/) 20 Tháng 4, 2017

This plugin is easy to use. Install it and it works 🙂

 [ Đọc tất cả 4 đánh giá ](https://wordpress.org/support/plugin/open-search-document/reviews/)

## Người đóng góp & Lập trình viên

“Open Search” là mã nguồn mở. Những người sau đã đóng góp vào plugin này.

Những người đóng góp

 *   [ Matthias Pfefferle ](https://profiles.wordpress.org/pfefferle/)
 *   [ johnnoone ](https://profiles.wordpress.org/johnnoone/)

“Open Search” đã được dịch qua 1 ngôn ngữ. Cảm ơn [những người tham gia dịch](https://translate.wordpress.org/projects/wp-plugins/open-search-document/contributors)
vì đóng góp của họ.

[Dịch “Open Search” sang ngôn ngữ của bạn.](https://translate.wordpress.org/projects/wp-plugins/open-search-document)

### Muốn tham gia phát triển?

[Duyệt code](https://plugins.trac.wordpress.org/browser/open-search-document/), 
check out [SVN repository](https://plugins.svn.wordpress.org/open-search-document/),
hoặc theo dõi [nhật ký phát triển](https://plugins.trac.wordpress.org/log/open-search-document/)
qua [RSS](https://plugins.trac.wordpress.org/log/open-search-document/?limit=100&mode=stop_on_copy&format=rss).

## Nhật ký thay đổi

### 4.1.3

 * update plugin structure

### 4.1.1

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

### 4.1.0

 * added [“search_provider” WebExtension](https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/manifest.json/chrome_settings_overrides)
   support

### 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

 * update requirements

### 3.0.1

 * added screenshots
 * code improvements

### 3.0.0

 * moved to WordPress API

### 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

 * complete refactoring
 * WordPress coding style
 * Site icon support

### 1.3.1

 * Some smaller fixes

### 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

 * WordPress 2.8.x compatibility
 * Autodiscovery for RSS/Atom and XRDS
 * Profile-Services

### 1.0

 * Initial release

## Plugin cộng đồng

Plugin này được phát triển và hỗ trợ bởi một cộng đồng. [Đóng góp cho plugin này](https://github.com/pfefferle/wordpress-open-search-document)

## Meta

 *  Phiên bản **4.1.3**
 *  Cập nhật lần cuối **6 tháng trước**
 *  Số lượt cài đặt **200+**
 *  Phiên bản WordPress ** 4.6 hoặc cao hơn **
 *  Đã kiểm tra lên đến **6.9.4**
 *  Ngôn ngữ
 * [English (US)](https://wordpress.org/plugins/open-search-document/) và [German](https://de.wordpress.org/plugins/open-search-document/).
 *  [Dịch sang ngôn ngữ của bạn](https://translate.wordpress.org/projects/wp-plugins/open-search-document)
 * Thẻ
 * [open search document](https://vi.wordpress.org/plugins/tags/open-search-document/)
   [opensearch](https://vi.wordpress.org/plugins/tags/opensearch/)[osd](https://vi.wordpress.org/plugins/tags/osd/)
   [search](https://vi.wordpress.org/plugins/tags/search/)
 *  [Nâng cao](https://vi.wordpress.org/plugins/open-search-document/advanced/)

## Đánh giá

 5 trên 5 sao.

 *  [  4 5-star reviews     ](https://wordpress.org/support/plugin/open-search-document/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/open-search-document/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/open-search-document/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/open-search-document/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/open-search-document/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/open-search-document/reviews/#new-post)

[Xem tất cả đánh giá](https://wordpress.org/support/plugin/open-search-document/reviews/)

## Những người đóng góp

 *   [ Matthias Pfefferle ](https://profiles.wordpress.org/pfefferle/)
 *   [ johnnoone ](https://profiles.wordpress.org/johnnoone/)

## Hỗ trợ

Có điều gì muốn nói? cần giúp đỡ?

 [Xem diễn đàn hỗ trợ](https://wordpress.org/support/plugin/open-search-document/)