Skip to content
WJunction - Webmaster Forum

Creating OpenSearch plugins

Status
Not open for further replies.

Snell

Active Member
625
2009
18
Create an xml file (eg: search.xml) and paste the following codes

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>
upload the xml file

in your header add the following

PHP:
<link title="A title" rel="search" type="application/opensearchdescription+xml" href="thexmlfile.xml" />
 

1 comment

Status
Not open for further replies.

About the author

S
Active Member · Joined
625
Messages
18
Reactions
18
Points

Advertise on WJunction

Reach 1000's of webmasters, hosts & affiliates. Banner & sponsored-thread slots available.

Contact us
Back
Top Bottom