How to add your website to the browser search engine
Source URL: http://blog.zol.com.cn/758/article_757992.html
If you have used IE7 or FIREFOX2, you should know that you have seen the following search box:
Firefox's search box
IE7 's search box
If you are also a webmaster, is not also want to let their website search added to the browser search box. OK, let me show you how to add
1. Make XML, let the browser sense. The XML code is as follows
<?xml version= "1.0" encoding= "UTF-8"?>
<opensearchdescription xmlns= "HTTP://A9.COM/-/SPEC/OPENSEARCH/1.1/" >
<INPUTENCODING>GBK </InputEncoding>
<OUTPUTENCODING>GBK </OutputEncoding>
<shortname>3qit Article Search </ShortName>
<tags>3qit IT </Tags>
<description>description </Description>
<image height= "width=" type= "Image/vnd.microsoft.icon" >http://www.3qit.com/favicon.ico </Image>
<url type= "text/html" template= "http://www.3qit.com/search.php?keywords={searchterms}"/>
<AdultContent>false</AdultContent>
<developer>zol LTD. team</developer>
</OpenSearchDescription>
The above code in red mark please modify the appropriate information for your site, if your site search page is UTF-8 encoded, then inputencoding and outputencoding are written UTF-8 on the line. Where ShortName is the name to display in the search box, Description is the introduction. Image is the search box before the small icon to display, the URL is the search link, where {searchterms} is the keyword, you according to the URL of your own program to modify its location. The following tabs are less important and can be made without.
2. After the production, the XML is saved into a UTF-8 encoded format, and then placed in a directory of the site, and then you are on the home page or to let the browser know the pages of the
<link title= "Search the Western Silicon Valley article" rel= "searches" type= "Application/opensearchdescription+xml" href= "Rss/opensearch.xml"/>
Please change the red part to your own information. Once added, you can use IE7 or FIREFOX to see what changes you have made to the page you added.
Found IE the upper right corner of the search button to brighten it, click to see, is not more than a "search of the western Silicon Valley article" words, below there is a add search providers, which can also add our good search engine added. After joining the look as follows:
The changes to FIREFOX are as follows: