<?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>Geek Tips &#187; google</title>
	<atom:link href="http://tips.mistergeek.com/tag/google/feed" rel="self" type="application/rss+xml" />
	<link>http://tips.mistergeek.com</link>
	<description>making IT as simple as ABC</description>
	<lastBuildDate>Mon, 16 Jan 2012 15:23:32 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Site search javascript booklet</title>
		<link>http://tips.mistergeek.com/67</link>
		<comments>http://tips.mistergeek.com/67#comments</comments>
		<pubDate>Sat, 02 Jul 2011 11:43:24 +0000</pubDate>
		<dc:creator>benriley</dc:creator>
				<category><![CDATA[Firefox]]></category>
		<category><![CDATA[Internet Explorer]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Opera]]></category>
		<category><![CDATA[Safari]]></category>
		<category><![CDATA[booklet]]></category>
		<category><![CDATA[bookmark]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[search]]></category>

		<guid isPermaLink="false">http://tips.mistergeek.com/?p=67</guid>
		<description><![CDATA[You may have heard of a booklet or bookmarklet. These are simply snippets of javascript that are saved as bookmarks. They allow you to run a script within the context of the web page you are currently visiting. The following code allows you to perform a site specific search using Google&#8217;s search engine. Simply create [...]]]></description>
			<content:encoded><![CDATA[<p><span style="font-size: 12px; font-family: arial">You may have heard of a <strong>booklet</strong> or <strong>bookmarklet</strong>. These are simply snippets of javascript that are saved as bookmarks. They allow you to run a script within the context of the web page you are currently visiting. The following code allows you to perform a site specific search using Google&#8217;s search engine. Simply create a bookmark or favourite and replace the address contents with the following code:</span></p>
<p><span style="font-size: 12px; font-family: arial">javascript:Qr=prompt(&#8216;Search%20site%20for&#8217;,&#8221;);if(Qr)location.href=&#8217;http://www.google.com/search?&amp;q=site:&#8217;+encodeURIComponent(window.location.hostname)+&#8217;+'+escape(Qr)</span></p>
<p><span style="font-size: 12px; font-family: arial">Just copy and paste it all in one line, there are no line breaks or spaces anywhere in this script. Give the booklet an appropriate name, I call mine <strong>SiteSearch</strong> just because it makes sense to me. Now, when you are on any web page, select this booklet and you will be presented with a dialog box asking what to search for.  Enter the text you are interested in, hit <em>OK</em> and Google will return the results for that site and that site only. This works with any javascript enabled browser including Internet Explorer, Firefox, Safari and Opera.</span></p>
]]></content:encoded>
			<wfw:commentRss>http://tips.mistergeek.com/67/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

