<?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/"
	>

<channel>
	<title>Tim's Blog</title>
	<atom:link href="http://tim.sharitt.com/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://tim.sharitt.com</link>
	<description></description>
	<pubDate>Fri, 26 Mar 2010 18:54:38 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Custom Yahoo! Site Search for Firefox Searchbar</title>
		<link>http://tim.sharitt.com/?p=30</link>
		<comments>http://tim.sharitt.com/?p=30#comments</comments>
		<pubDate>Fri, 26 Mar 2010 18:54:14 +0000</pubDate>
		<dc:creator>Tim Sharitt</dc:creator>
		
		<category><![CDATA[Planet Ubuntu]]></category>

		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://tim.sharitt.com/?p=30</guid>
		<description><![CDATA[Last year I posted a brief tutorial on how to add a custom Google site search to the Firefox search bar. I still use Google, but Canonical has recently signed a deal to make Yahoo! the default search engine in Firefox (although it is very easily changed to whatever you prefer) so I figured I [...]]]></description>
			<content:encoded><![CDATA[<p>Last year I posted a brief tutorial on how to add a custom Google site search to the Firefox search bar. I still use Google, but Canonical has recently signed a deal to make Yahoo! the default search engine in Firefox (although it is very easily changed to whatever you prefer) so I figured I could do the same tutorial for Yahoo! for those who prefer the new default.</p>
<p>Everything is the same as before except for the &lt;os:Url&gt; tag (I also changed the name since I still had both searches present).</p>
<pre>&lt;SearchPlugin xmlns="http://www.mozilla.org/2006/browser/search/" xmlns:os="http://a9.com/-/spec/opensearch/1.1/"&gt;
&lt;os:ShortName&gt;Ubuntu Forums Yahoo! Search&lt;/os:ShortName&gt;
&lt;os:InputEncoding&gt;UTF-8&lt;/os:InputEncoding&gt;
&lt;os:Image width="16" height="16"&gt;data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABmJLR0QA/wD
/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH1gUYBy8UWHdfBwAAAcJJREFUOMuVk09IVFEUxn
/nNb7pkbV7r4jQQHKTbQya2rSxJJmoRbYLEqZl0MJolataFkW4k0ebmDaVCD4EEQdsEW+aTRuxdKGDCDMuhJjxNWN5WnjHzHkqntW958
/lu993PjhEhHjDId5iiHerkZO9mjXjtADdwGVgY+lLcqo0a3835ekU5R6ARNNg7uxRqmsOo
/UscKORb79Se1SatceBa0A2FoEqwoQ7jeocn6ojwFfAMuUa8LRWkYVkqy6LHxWaHwjcAeAt8AfdvMDoegewCnjAfeCOaS0C58WPKvIPutvKOvPAKYQVNqRbbpdLu3gZAR6Y65D40XNLM067ZpxBwnonEJm
/PN49bOIZUDfn3gaJH4GLzNe/0dXyBpFXbOpMnDLiR0XNOPeADuBXrAoHRd4/vuMWkTDE9HPOziHyAQBLrgLvYxapDXgH2MBn4LUlfrQkfvSSlP0DcLawygsd807GABgywwCTB8qYv3lkXxlTlCt7LlI
+bcUuUuKELvz+KcspyoUmEkVQzR3ro7rmQDK7YxjgyaVAr29JqQ9JU9jXTCHef2Y6M6BTp++ybSZJr/YcVkE0cIc1cBc1cLft/BckXKkAO9v5fAAAAABJRU5ErkJggg==&lt;/os:Image&gt;
&lt;os:Url type="text/html" method="GET"
template="http://search.yahoo.com/search?n=10&amp;amp;ei=UTF-8&amp;amp;va_vt=any&amp;amp;vo_vt=any&amp;amp;ve_vt=any&amp;amp;vp_vt=any&amp;amp;vd=all&amp;amp;vst=0&amp;amp;vf=all&amp;amp;vm=p&amp;amp;fl=0&amp;amp;fr=yfp-t-893-s&amp;amp;p={searchTerms}&amp;amp;vs=ubuntuforums.org"&gt;
&lt;/os:Url&gt;
&lt;/SearchPlugin&gt;</pre>
<p>There isn&#8217;t much to it, but I&#8217;ll go ahead and give a quick run through of the tags and then all you need to do ti make your own is just plug in your own values to make your own.</p>
<p>The<span style="color: #000000;"><em> &lt;SearchPlugin&gt;</em></span> and <em><span style="color: #000000;">&lt;/SearchPlugin&gt;</span></em> begin and end the code block which contains the search engine information. The <em>xmlns=&#8221;http://www.mozilla.org/2006/browser/search/&#8221; xmlns:os=&#8221;http://a9.com/-/spec/opensearch/1.1/&#8221; </em>part in the opening tag is the namespace to tell Firefox what we&#8217;re doing.</p>
<p><em>&lt;os:ShortName&gt;</em> and <em>&lt;/os:ShortName&gt; </em>enclose<em> </em>the name which will appear in the searchbar menu.</p>
<p><em>&lt;os:Image&gt; </em>and <em>&lt;/os:Image&gt;</em> enclose the icon which appears beside the searchbar input, I have used the Ubuntu icon for this example.</p>
<p><em>&lt;os:Url type=&#8221;text/html&#8221; method=&#8221;GET&#8221; template=&#8221;</em>&#8221;Search engine search string<em>&#8216;<strong>{searchTerms}</strong>&amp;amp;</em>&#8217;site search string&#8217;='url of site to search&#8217;<em>&#8220;&gt;<br />
&lt;/os:Url&gt; </em>The os:Url tag is what tells firefox what search engine to use, how to use is and what site to search for a site search.<em><strong></strong></em></p>
<p>&#8216;template&#8217; is the search Url  with <em><strong>{searchTerms} </strong></em>in a place of the search string.This is where Firefox will insert the string entered into the searchbar.</p>
<p>This is the searchbar:</p>
<p><img class="alignnone size-full wp-image-32" title="ufy3" src="http://tim.sharitt.com/wp-content/uploads/2010/03/ufy3.png" alt="ufy3" width="280" height="76" /></p>
<p>and the results:</p>
<p><a href="http://tim.sharitt.com/wp-content/uploads/2010/03/ufy2.png"><img class="alignnone size-full wp-image-33" title="ufy2" src="http://tim.sharitt.com/wp-content/uploads/2010/03/ufy2.png" alt="ufy2" width="410" height="230" /></a></p>
<p>Take a look at <a href="https://developer.mozilla.org/en/Creating_OpenSearch_plugins_for_Firefox">https://developer.mozilla.org/en/Creating_OpenSearch_plugins_for_Firefox</a> for more information.</p>
]]></content:encoded>
			<wfw:commentRss>http://tim.sharitt.com/?feed=rss2&amp;p=30</wfw:commentRss>
		</item>
		<item>
		<title>vrms meme</title>
		<link>http://tim.sharitt.com/?p=24</link>
		<comments>http://tim.sharitt.com/?p=24#comments</comments>
		<pubDate>Sat, 12 Sep 2009 03:37:23 +0000</pubDate>
		<dc:creator>Tim Sharitt</dc:creator>
		
		<category><![CDATA[Planet Ubuntu]]></category>

		<guid isPermaLink="false">http://tim.sharitt.com/?p=24</guid>
		<description><![CDATA[Following the recent trend on Planet Ubuntu, here are my vrms results.
tsharitt@tsharitt-desktop:~$ vrms
Non-free packages installed on tsharitt-desktop
fglrx-modaliases          Identifiers supported by the ATI graphics driver
linux-generic             Complete Generic Linux kernel
linux-restricted-modules- Non-free Linux 2.6.28 modules helper script
linux-restricted-modules- Restricted Linux modules for generic kernels
nvidia-173-modaliases     Modaliases for the NVIDIA binary X.Org driver
nvidia-180-kernel-source  NVIDIA binary kernel module source
nvidia-180-libvdpau       Video Decode and [...]]]></description>
			<content:encoded><![CDATA[<p>Following the recent trend on Planet Ubuntu, here are my vrms results.</p>
<p><span style="color: #808080;"><em>tsharitt@tsharitt-desktop:~$ vrms<br />
Non-free packages installed on tsharitt-desktop</em></span></p>
<p><span style="color: #808080;"><em>fglrx-modaliases          Identifiers supported by the ATI graphics driver<br />
linux-generic             Complete Generic Linux kernel<br />
linux-restricted-modules- Non-free Linux 2.6.28 modules helper script<br />
linux-restricted-modules- Restricted Linux modules for generic kernels<br />
nvidia-173-modaliases     Modaliases for the NVIDIA binary X.Org driver<br />
nvidia-180-kernel-source  NVIDIA binary kernel module source<br />
nvidia-180-libvdpau       Video Decode and Presentation API for Unix<br />
nvidia-180-modaliases     Modaliases for the NVIDIA binary X.Org driver<br />
nvidia-71-modaliases      Modaliases for the NVIDIA binary X.Org driver<br />
nvidia-96-modaliases      Modaliases for the NVIDIA binary X.Org driver<br />
nvidia-glx-180            NVIDIA binary Xorg driver<br />
tangerine-icon-theme      Tangerine Icon theme<br />
unrar                     Unarchiver for .rar files (non-free version)<br />
Reason: Modifications problematic</em></span></p>
<p><span style="color: #808080;"><em>Contrib packages installed on tsharitt-desktop</em></span></p>
<p><span style="color: #808080;"><em>flashplugin-installer     Adobe Flash Player plugin installer<br />
flashplugin-nonfree       Adobe Flash Player plugin installer (transitional pack<br />
gstreamer0.10-pitfdll     GStreamer plugin for using MS Windows binary codecs<br />
nvidia-common             Find obsolete NVIDIA drivers<br />
nvidia-settings           Tool of configuring the NVIDIA graphics driver<br />
ttf-mscorefonts-installer Installer for Microsoft TrueType core fonts</em></span></p>
<p><span style="color: #808080;"><em>13 non-free packages, 1.0% of 1306 installed packages.<br />
6 contrib packages, 0.5% of 1306 installed packages.</em></span></p>
]]></content:encoded>
			<wfw:commentRss>http://tim.sharitt.com/?feed=rss2&amp;p=24</wfw:commentRss>
		</item>
		<item>
		<title>Custom Google Site Search for Firefox Searchbar</title>
		<link>http://tim.sharitt.com/?p=3</link>
		<comments>http://tim.sharitt.com/?p=3#comments</comments>
		<pubDate>Fri, 17 Apr 2009 00:30:49 +0000</pubDate>
		<dc:creator>Tim Sharitt</dc:creator>
		
		<category><![CDATA[Planet Ubuntu]]></category>

		<category><![CDATA[firefox]]></category>

		<category><![CDATA[google]]></category>

		<category><![CDATA[search]]></category>

		<category><![CDATA[ubuntuforums.org]]></category>

		<guid isPermaLink="false">http://tim.sharitt.com/?p=3</guid>
		<description><![CDATA[This is a short tutorial on how to add a custom Google site search to the Firefox search bar. For illustration purposes, the example I will use is a Google search of ubuntuforums.org (which is, in my opinion, one of the best resources for Ubuntu and Linux support).  I am using Firefox 3.0 on [...]]]></description>
			<content:encoded><![CDATA[<p>This is a short tutorial on how to add a custom Google site search to the Firefox search bar. For illustration purposes, the example I will use is a Google search of ubuntuforums.org (which is, in my opinion, one of the best resources for Ubuntu and Linux support).  I am using Firefox 3.0 on Ubuntu, but the steps should be the same for any Linux distribution.  The process is basically the same for other operating systems, but some variables may be slightly different (such as the location of the Mozilla configuration folder).</p>
<p style="text-align: center;">
<div id="attachment_4" class="wp-caption aligncenter" style="width: 310px"><img class="size-full wp-image-4" title="ufsb" src="http://tim.sharitt.com/wp-content/uploads/2009/04/ufsb.png" alt="Firefox search bar with Google site search for ubuntuforums.org" width="300" height="110" /><p class="wp-caption-text">Firefox search bar with Google site search for ubuntuforums.org</p></div>
<p>This is really a simple process which simply involves creating an xml configuration file and placing it in the correct directory. So, to start off, just fire up your favorite text editor to get started.</p>
<p>The first line tells Firefox that we have a search plug in and where to find the specifications for the xml mark-up.</p>
<p>&lt;SearchPlugin xmlns=&#8221;http://www.mozilla.org/2006/browser/search/&#8221; xmlns:os=&#8221;http://a9.com/-/spec/opensearch/1.1/&#8221;&gt;</p>
<p>Next, we want to give it a name. This is the name that will show in the search box when nothing entered.</p>
<p>&lt;os:ShortName&gt;Ubuntu Forums&lt;/os:ShortName&gt;</p>
<p>Now we need to tell it what encoding to use for the input.</p>
<p>&lt;os:InputEncoding&gt;UTF-8&lt;/os:InputEncoding&gt;</p>
<p>The next step is to enter our search engine information. Where you see <em>sitesearch=ubuntuforums.org</em>, this can be replaced with any site you would like to search.</p>
<p>&lt;os:Url type=&#8221;text/html&#8221; method=&#8221;GET&#8221; template=&#8221;http://www.google.com/search?q={searchTerms}&amp;amp;sitesearch=ubuntuforums.org&#8221;&gt;<br />
&lt;/os:Url&gt;</p>
<p>Now just add the final line to close out the search plug in code block.</p>
<p>&lt;/SearchPlugin&gt;</p>
<p>The only thing left to do now is save the file in your ~/.mozilla/firefox/<em>profile</em>/searchplugins folder. I saved mine as ~/.mozilla/firefox/0k978qn5.default/searchplugins/ufsearch.xml</p>
<p>Now you should be able  to search your favorite site with Google from the Firefox search bar. Enjoy!</p>
<div id="attachment_13" class="wp-caption alignnone" style="width: 442px"><a href="http://tim.sharitt.com/wp-content/uploads/2009/04/screenshot.png"><img class="size-full wp-image-13  " title="screenshotsmall" src="http://tim.sharitt.com/wp-content/uploads/2009/04/screenshot.png" alt="Search plug-in in action" width="432" height="270" /></a><p class="wp-caption-text">Search plug-in in action</p></div>
<p><em>Note: You may have noticed that I have an Ubuntu icon next to the search box. While creating the icons are beyond the scope of this tutorial (and my knowledge), feel free to add the information (or a link) in the comments section. The code for the Ubuntu icon is :</em></p>
<pre>&lt;os:Image width="16" height="16"&gt;data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABmJLR0QA/wD/
AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH1gUYBy8UWHdfBwAAAcJJREFUOMuVk09IVFEUxn/
nNb7pkbV7r4jQQHKTbQya2rSxJJmoRbYLEqZl0MJolataFkW4k0ebmDaVCD4EEQdsEW+aTRuxdKGDCDMuhJjxNWN5WnjHzHkqntW958/
lu993PjhEhHjDId5iiHerkZO9mjXjtADdwGVgY+lLcqo0a3835ekU5R6ARNNg7uxRqmsOo/UscKORb79Se1SatceBa0A2FoEqwoQ7jeocn6ojwFfAMuUa8
LRWkYVkqy6LHxWaHwjcAeAt8AfdvMDoegewCnjAfeCOaS0C58WPKvIPutvKOvPAKYQVNqRbbpdLu3gZAR6Y65D40XNLM067ZpxBwnonEJm/PN49bOIZUDfn
3gaJH4GLzNe/0dXyBpFXbOpMnDLiR0XNOPeADuBXrAoHRd4/vuMWkTDE9HPOziHyAQBLrgLvYxapDXgH2MBn4LUlfrQkfvSSlP0DcLawygsd807GABgyww
CTB8qYv3lkXxlTlCt7LlI+bcUuUuKELvz+KcspyoUmEkVQzR3ro7rmQDK7YxjgyaVAr29JqQ9JU9jXTCHef2Y6M6BTp++ybSZJr/YcVkE0cIc1cBc1cLft/
BckXKkAO9v5fAAAAABJRU5ErkJggg==&lt;/os:Image&gt;</pre>
]]></content:encoded>
			<wfw:commentRss>http://tim.sharitt.com/?feed=rss2&amp;p=3</wfw:commentRss>
		</item>
	</channel>
</rss>
