<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Tech Tools &#187; How to</title>
	<atom:link href="http://www.bestonlinetools.org/category/how-to/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.bestonlinetools.org</link>
	<description>Top technology tools online</description>
	<lastBuildDate>Thu, 18 Aug 2011 17:24:40 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>How to create firefox site search plugin and host it -a step by step guide</title>
		<link>http://www.bestonlinetools.org/how-to-create-firefox-site-search-plugin-and-host-it/</link>
		<comments>http://www.bestonlinetools.org/how-to-create-firefox-site-search-plugin-and-host-it/#comments</comments>
		<pubDate>Sat, 21 Feb 2009 06:51:03 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Firefox]]></category>
		<category><![CDATA[How to]]></category>
		<category><![CDATA[firefox search plugin]]></category>

		<guid isPermaLink="false">http://www.bestonlinetools.org/?p=159</guid>
		<description><![CDATA[Few weeks back I did not know how to create a firefox search plugin for a site. I researched at Google and found many blog posts related to the same. However, I found that most of them were not covering all the steps and after some brain whacking found out the exact course of action. [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.bestonlinetools.org/wp-content/uploads/2009/03/firefoxsearchplugin1copy.jpg"><img style="border-right: 0px; border-top: 0px; display: inline; margin-left: 0px; border-left: 0px; margin-right: 0px; border-bottom: 0px" title="firefox search plugin 1 copy" src="http://www.bestonlinetools.org/wp-content/uploads/2009/03/firefoxsearchplugin1copy-thumb.jpg" border="0" alt="firefox search plugin 1 copy" width="204" height="141" align="left" /></a> Few weeks back I did not know how to create a firefox search plugin for a site. I researched at Google and found many blog posts related to the same. However, I found that most of them were not covering all the steps and after some brain whacking found out the exact course of action. Here I am giving  <strong>exact step by step instructions to create  a firefox  website search plugin</strong>. For an example, we will create the  Plugin for our site – Tech Tools.</p>
<p><span id="more-159"></span><span style="color: #ff6600"><strong>Step 1: Get search URL ready</strong></span><br />
Lets search for ‘ebooks’ from the search box above and we get the URL  http://www.bestonlinetools.org/?s=ebooks&amp;x=0&amp;y=0  -<strong>A</strong></p>
<p>Now replace ‘ebooks’ with {searchTerms} and the URL looks like this<br />
http://www.bestonlinetools.org/?s={searchTerms}&amp;x=0&amp;y=0  &#8211; <strong>B</strong></p>
<p><span style="color: #ff6600"><strong>Step 2: Keep your favicon ready </strong></span><br />
You just need a 16&#215;16 pixel image  which will appear in firefox search bar. If you don’t have the image, just use any image for test and reduce its size to 16&#215;16 pixels in photoshop or any other image editor.</p>
<p><span style="color: #ff6600"><strong>Step3: Visit Mycroft </strong></span><br />
Reach this page on <a href="http://mycroft.mozdev.org/submitos.html" target="_blank">Mycroft site </a></p>
<p><span style="color: #ff6600"><strong>Step 4: Enter details in the Mycroft form </strong></span><br />
You will see the details . Enter the same  as per your requirements.  Use the URL – B that we have created above (as per your site url). Also provide the link to upload the favicon in the form.</p>
<p><img class="size-full wp-image-166" title="tech tools plugins for firefox from mycroft image" src="http://www.bestonlinetools.org/wp-content/uploads/2009/02/tech-tools-plugin-copy.png" alt="Enter details as per your site" width="600" height="400" /></p>
<p>To clarify if image is not very clear , you need to enter the URL -B that we created in the boxes &#8216;Search URL&#8217; and &#8216;Search Form URL&#8217; boxes. Rest of the things are simple.<strong></strong></p>
<p><span style="color: #ff6600"><strong>Step 5: Install Plugin</strong></span><strong></strong><br />
Click on ‘<strong>Generate Code</strong>’ and you will find the code of the search plugin. Click on ‘<strong>Install Plugin</strong>’ and you will get this message<br />
<strong>“Add &#8220;Tech Tools&#8221; to the list of engines available in the search bar? &#8220;</strong><br />
Click on ‘Add’ and you can immediately start searching your site from the firefox search bar.<br />
However, we are not yet finished. We need to install this plugin on our site .</p>
<p><span style="color: #ff6600"><strong>Step6: Copy the code and alter it</strong></span><br />
The code will look something like this</p>
<p><span style="color: #008800"><em>&lt;?xml version=&#8221;1.0&#8243; encoding=&#8221;UTF-8&#8243;?&gt;<br />
&lt;OpenSearchDescription xmlns=&#8221;http://a9.com/-/spec/opensearch/1.1/&#8221;                       xmlns:moz=&#8221;http://www.mozilla.org/2006/browser/search/&#8221;&gt;  &lt;!&#8211; Created on Sat, 21 Feb 2009 05:59:43 GMT &#8211;&gt;  &lt;ShortName&gt;Tech Tools&lt;/ShortName&gt;  &lt;Description&gt;Tech Tools Search&lt;/Description&gt;  &lt;Url type=&#8221;text/html&#8221; method=&#8221;get&#8221; template=&#8221;http://www.bestonlinetools.org/?s={searchTerms}&amp;amp;x=0&amp;amp;y=0  &#8220;/&gt;  &lt;Image width=&#8221;16&#8243; height=&#8221;16&#8243;&gt;http://mycroft.mozdev.org/updateos.php/id0/.&lt;/Image&gt;  &lt;Developer&gt;Tech Tools&lt;/Developer&gt;  &lt;InputEncoding&gt;UTF-8&lt;/InputEncoding&gt;  &lt;moz:SearchForm&gt;http://www.bestonlinetools.org/?s={searchTerms}&amp;amp;x=0&amp;amp;y=0  &lt;/moz:SearchForm&gt; &lt;moz:UpdateUrl&gt;http://mycroft.mozdev.org/updateos.php/id0/.xml&lt;/moz:UpdateUrl&gt;  &lt;moz:IconUpdateUrl&gt;http://mycroft.mozdev.org/updateos.php/id0/.&lt;/moz:IconUpdateUrl&gt;  &lt;moz:UpdateInterval&gt;7&lt;/moz:UpdateInterval&gt;&lt;/OpenSearchDescription&gt;</em></span><br />
<strong>Favicon </strong>: The favicon you created needs to be uploaded to your site. Lets say the icon image url on your site is <em>www.yoursite.com/images/favicon.jpg</em> . Replace  <span><em>http://mycroft.mozdev.org/updateos.php/id0/.</em> </span>in the code<br />
&lt;Image width=&#8221;16&#8243; height=&#8221;16&#8243;&gt;http://mycroft.mozdev.org/updateos.php/id0/.&lt;/Image&gt;<br />
with your favicon image URL. Now your code is ready to be uploaded to your site.<br />
<strong><br />
<span style="color: #ff6600">Step 7: Upload XML file</span></strong><br />
Create a file /page on your site – say yoursite.com/search.xml<br />
Copy the final code that we created above and put it on this page and save it as xml file.</p>
<p><span style="color: #ff6600"><strong>Step 8. Adding javascript to your page</strong></span><br />
You now need to add a javascript on the page that you need to provide the link to your users to add the search plugin .<br />
Add this script to your page :<br />
<span style="color: #008800"><em>&lt;script type=&#8221;text/javascript&#8221;&gt;<br />
function ffPlugin()<br />
{<br />
window.external.AddSearchProvider(&#8220;http://yoursite.com/search.xml&#8221;);</em></span></p>
<p><span style="color: #008800"><em>}<br />
&lt;/script&gt;</em><br />
</span><br />
<span style="color: #ff6600"><strong>Step 9. Provide the link to add your search plugin</strong></span></p>
<p>You may provide the option to add this plugin to your users through text or an image link. Lets see how a text link would look like</p>
<p><span style="color: #008800"><strong>&lt;a href=&#8221;javascript:ffPlugin()&#8221;&gt;&lt;font color=&#8221;#008800&#8243;&gt; Search our site from Firefox&lt;/font&gt;&lt;/a&gt;</strong></span><br />
This code has to be added in the<strong> html</strong> of the page and at the place you want to provide the link to your users to add the firefox search plugin.</p>
<p><span style="color: #ff6600"><strong>Step 10. You are done !</strong></span><br />
Just check the link on your page and see if your search plugin is working well.<br />
It should work and if you find any problem , just let me know and I will help you out.</p>
<script type="text/javascript">var wordpress_toolbar_urls = ["http:\/\/mycroft.mozdev.org\/submitos.html"];var wordpress_toolbar_url = "http://www.bestonlinetools.org/wp-content/plugins/wordpress-toolbar/toolbar.php";var wordpress_toolbar_oinw = "n";var wordpress_toolbar_hash = "aHR0cDovL3d3dy5iZXN0b25saW5ldG9vbHMub3JnL2hvdy10by1jcmVhdGUtZmlyZWZveC1zaXRlLXNlYXJjaC1wbHVnaW4tYW5kLWhvc3QtaXQvPHdwdGI%2BSG93IHRvIGNyZWF0ZSBmaXJlZm94IHNpdGUgc2VhcmNoIHBsdWdpbiBhbmQgaG9zdCBpdCAtYSBzdGVwIGJ5IHN0ZXAgZ3VpZGU8d3B0Yj5odHRwOi8vd3d3LmJlc3RvbmxpbmV0b29scy5vcmc8d3B0Yj5UZWNoIFRvb2xz";</script>]]></content:encoded>
			<wfw:commentRss>http://www.bestonlinetools.org/how-to-create-firefox-site-search-plugin-and-host-it/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

