hasan's blog (বল্গ)

work for fun!!!

OpenSearch: How to add Search Engine on FireFox 2

with 4 comments

hi,
let’s think you have a web site, which provides lot of information. you have searching feature for your visitor…
do you want to add your Search engine on your visitor’s FireFox browser?

hope you surely want…

STEP 1:
——————-
(#) File: osd.xml

<OpenSearchDescription xmlns=”http://a9.com/-/spec/opensearch/1.1/”>
<ShortName>swi issue tracker</ShortName>
<Description>somewhere in… issue tracker</Description>
<Contact>hasan@somewherein.net</Contact>
<Url type=”text/html” method=”get” template=”http://www.somewherein.net/issues/view.php?id={searchTerms}”>
</Url>
<LongName>somewhere in… issue tracker</LongName>

<Image height=”32″ width=”32″ type=”image/vnd.microsoft.icon”>http://hasan.we4tech.com/issuetracker.ico</Image>
<Image height=”16″ width=”16″ type=”image/png”>http://hasan.we4tech.com/issuetracker.png</Image>
<Image height=”16″ width=”16″ type=”image/vnd.microsoft.icon”>http://hasan.we4tech.com/issuetracker.ico</Image>
<Query role=”example” searchTerms=”issuetracker”/>
<Developer>nhm tanveer hossain khan (hasan)</Developer>
<Attribution>
Search data © 2006, somewhere in…, No Rights Reserved.
</Attribution>

<SyndicationRight>open</SyndicationRight>
<AdultContent>false</AdultContent>
<Language>en-us</Language>
<OutputEncoding>UTF-8</OutputEncoding>
<InputEncoding>UTF-8</InputEncoding>
</OpenSearchDescription>

STEP 2:
——————————-
add the following code in your HTML > Head tag block

<link title=”Somewhere in… Issue tracker Search” type=”application/opensearchdescription+xml” rel=”search” />

Let’s Rock !!!

Written by nhm tanveer hossain khan

December 28, 2006 at 1:44 am

Posted in Introduction

4 Responses

Subscribe to comments with RSS.

  1. wow!!!

    nice code.

    i use this code for my site.
    jhorohowa

    thanks

    Sakib

    December 28, 2006 at 6:39 pm

  2. hasan bhai,
    i use soomewhereinblog for bangla blogging and sakib.wordpress for bangla english and another one ….only English…you know :D

    thanks for your comments.

    Sakib

    December 28, 2006 at 6:41 pm

  3. Hmmm, Im gonna give that a go in the New Year

    Thanks for sharing Hasan :-)

    Redstar

    December 28, 2006 at 11:05 pm

  4. wow this is great :)

    samiha esha

    December 29, 2006 at 11:53 am


Leave a Reply