Create an xml file (eg: search.xml) and paste the following codes
Replace the some text according
upload the xml file
in your header add the following
Replace the some text according
PHP:
<?xml version="1.0" encoding="UTF-8"?><OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/"><ShortName>A name!!!</ShortName><Description>put some description here</Description>
<Url type="text/html" template="http://mysite.com/index.php?q={searchTerms}"/><Image height="16" width="16" type="image/vnd.microsoft.icon">http://mysite.com/favicon.ico</Image>
</OpenSearchDescription>
in your header add the following
PHP:
<link title="A title" rel="search" type="application/opensearchdescription+xml" href="thexmlfile.xml" />