<?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>Bin-Blog &#187; Google</title>
	<atom:link href="http://www.bin-co.com/blog/category/google/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.bin-co.com/blog</link>
	<description>Learn about the latest in Web Development - as soon as I do.</description>
	<lastBuildDate>Tue, 13 Oct 2009 18:55:47 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Avoid Duplicate Content &#8211; Use Canonical URL in WordPress</title>
		<link>http://www.bin-co.com/blog/2009/02/avoid-duplicate-content-use-canonical-url-in-wordpress-fix-plugin/</link>
		<comments>http://www.bin-co.com/blog/2009/02/avoid-duplicate-content-use-canonical-url-in-wordpress-fix-plugin/#comments</comments>
		<pubDate>Mon, 16 Feb 2009 18:28:53 +0000</pubDate>
		<dc:creator>Binny V A</dc:creator>
				<category><![CDATA[Blogging]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[SEO]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[blog]]></category>
		<category><![CDATA[canonical]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[fix]]></category>
		<category><![CDATA[theme]]></category>
		<category><![CDATA[URL]]></category>

		<guid isPermaLink="false">http://www.bin-co.com/blog/?p=233</guid>
		<description><![CDATA[The new talk of the SEO world is '<a href="http://googlewebmastercentral.blogspot.com/2009/02/specify-your-canonical.html">Canonical URL</a>'. What is canonical URL? This is the definition given in Google's Webmaster Central Blog...]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.bin-co.com/blog/wp-content/uploads/2008/10/wordpress_logo.png" alt="WordPress Logo" title="WordPress Logo" width="183" height="145" class="alignnone size-full wp-image-136 intro" align="right" /></p>
<p class="intro">The new talk of the SEO world is &#8216;<a href="http://googlewebmastercentral.blogspot.com/2009/02/specify-your-canonical.html">Canonical URL</a>&#8216;. What is canonical URL? This is the definition given in Google&#8217;s Webmaster Central Blog&#8230;</p>
<blockquote><p>a format that allows you to <strong class="highlight">publicly specify your preferred version of a URL</strong>. If your site has identical or vastly similar content that&#8217;s accessible through multiple URLs, this format provides you with more control over the URL returned in search results. It also helps to make sure that properties such as link popularity are consolidated to your preferred version.</p>
<p>Emphasis mine</p>
</blockquote>
<p>It is very easy to specify the canonical URL of a page &#8211; all you have to do is <strong class="highlight">add this line in the head section</strong>&#8230;</p>
<pre><code class="html">&lt;link rel="canonical" href="http://binnyva.com/" /&gt;</code></pre>
<p>The purpose of this tag is to <a href="http://www.dailyseoblog.com/2009/02/duplicate-content-canonical-tag-to-your-rescue/">prevent the problem of duplicate content</a>.</p>
<p>The best thing about this tag is that all three major search engines(<a href="http://googlewebmastercentral.blogspot.com/2009/02/specify-your-canonical.html">Google</a>, <a href="http://ysearchblog.com/2009/02/12/fighting-duplication-adding-more-arrows-to-your-quiver/">Yahoo</a> and <a href="http://blogs.msdn.com/webmaster/archive/2009/02/12/partnering-to-help-solve-duplicate-content-issues.aspx">MS Live</a>) support this initiative.</p>
<h2>WordPress</h2>
<p>If you are on wordpress, this tag can be integrated into your theme easily. <a href="http://yoast.com/wordpress/canonical/">There is a plugin</a> to do the job for you &#8211; but you don&#8217;t need a plugin to do something as simple as this.</p>
<h3>header.php</h3>
<p>Go to the <strong class="highlight">theme folder</strong> in wordpress(wp-content/themes/&lt;theme_name&gt;) and <strong class="highlight">open the file <code>header.php</code></strong> in your favorite editor. Now <strong class="highlight">find the line</strong>&#8230;</p>
<pre><code class="html">&lt;/head&gt;</code></pre>
<p>and add the following code <strong class="highlight">before</strong> that line&#8230;</p>
<pre><code class="html">&lt;?php if ( is_singular() ) { ?&gt;
&lt;link rel="canonical" href="&lt;?php the_permalink(); ?&gt;" /&gt;
&lt;?php } ?&gt;</code></pre>
<p>Now, it should look something like this&#8230;</p>
<pre><code class="html">&lt;?php if ( is_singular() ) { ?&gt;
&lt;link rel="canonical" href="&lt;?php the_permalink(); ?&gt;" /&gt;
&lt;?php } ?&gt;
&lt;/head&gt;</code></pre>
<p>That&#8217;s it &#8211; you are done! <strong class="highlight">Save the file and upload it</strong> to your server.</p>
<p>This fix will add the canonical URL tag to all the posts and pages of your blog. If you want to see a blog that have implemented this fix, take a look at the source of this page.</p>
<h2>Related Links</h2>
<ul>
<li><a href="http://www.seobuzzbox.com/what-is-a-canonical-url/">Canonical URL</a></li>
<li><a href="http://mrjavo.com/what-is-a-canonical-url/">What Is A Canonical URL?</a></li>
<li><a href="http://ifacethoughts.net/2009/02/14/canonical-urls-to-avoid-duplicate-content/">Canonical URLs To Avoid Duplicate Content</a></li>
<li><a href="http://www.mattcutts.com/blog/canonical-link-tag/">Learn about the Canonical Link Element in 5 minutes</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.bin-co.com/blog/2009/02/avoid-duplicate-content-use-canonical-url-in-wordpress-fix-plugin/feed/</wfw:commentRss>
		<slash:comments>21</slash:comments>
		</item>
		<item>
		<title>Google Reader has Search!</title>
		<link>http://www.bin-co.com/blog/2007/09/google-reader-has-search/</link>
		<comments>http://www.bin-co.com/blog/2007/09/google-reader-has-search/#comments</comments>
		<pubDate>Thu, 06 Sep 2007 14:59:52 +0000</pubDate>
		<dc:creator>Binny V A</dc:creator>
				<category><![CDATA[Google]]></category>
		<category><![CDATA[Sites]]></category>
		<category><![CDATA[google-reader]]></category>
		<category><![CDATA[reader]]></category>
		<category><![CDATA[search]]></category>

		<guid isPermaLink="false">http://www.bin-co.com/blog/2007/09/google-reader-has-search/</guid>
		<description><![CDATA[Finally &#8211; the feature I most wanted in Google Reader has been added. Its official people &#8211; Google Reader has search.

I have no idea why they took so long to add this feature &#8211; its ironic that Google fails to provide the search option.
Results Sorted by Date
The main complaint I have about the search feature [...]]]></description>
			<content:encoded><![CDATA[<p class="intro">Finally &#8211; <a href="http://binnyva.blogspot.com/2007/02/top-5-features-missing-in-google-reader.html">the feature I most wanted in Google Reader</a> has been added. Its official people &#8211; <strong><a href="http://www.google.com/reader/">Google Reader</a> has search</strong>.</p>
<p><img src='http://www.bin-co.com/blog/wp-content/uploads/2007/09/google_reader_search.png' alt='Google Reader Adds Search' /></p>
<p>I have no idea why they took so long to add this feature &#8211; its ironic that Google fails to provide the search option.</p>
<h2>Results Sorted by Date</h2>
<p>The main complaint I have about the search feature is that the results are sorted by date and not by relevance. The below picture will make this very clear&#8230;</p>
<p><img src='http://www.bin-co.com/blog/wp-content/uploads/2007/09/google_reader_search_sorting1.png' alt='Google Reader Search Result Sorting' /></p>
<p>I would prefer that it is sorted by relevance &#8211; at least provide an option for that.</p>
<h2>More Information</h2>
<ul>
<li><a href="http://googlereader.blogspot.com/2007/09/we-found-it.html">Offical Announcement</a></li>
<li><a href="http://www.mattcutts.com/blog/google-reader-adds-search/">Google Reader adds search!</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.bin-co.com/blog/2007/09/google-reader-has-search/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Google Gears &#8211; Offline Functionality for Web Apps</title>
		<link>http://www.bin-co.com/blog/2007/05/google-gears-offline-functionality-for-web-apps/</link>
		<comments>http://www.bin-co.com/blog/2007/05/google-gears-offline-functionality-for-web-apps/#comments</comments>
		<pubDate>Thu, 31 May 2007 07:20:30 +0000</pubDate>
		<dc:creator>Binny V A</dc:creator>
				<category><![CDATA[Google]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[Review]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[apps]]></category>
		<category><![CDATA[gears]]></category>
		<category><![CDATA[IIS]]></category>
		<category><![CDATA[offline]]></category>
		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://www.bin-co.com/blog/2007/05/google-gears-offline-functionality-for-web-apps/</guid>
		<description><![CDATA[
There has been many ideas about a offline storage mechanism for web applications. Dojo implemented this in its Library. Firefox 3 promises this. Now we have a new arrival in this area &#8211; Google Gears. Unlike Dojo&#8217;s implementation, Gears require an extension for it to work.
Google Gears is an open source browser extension that lets [...]]]></description>
			<content:encoded><![CDATA[<p><a href='http://www.bin-co.com/blog/2007/05/google-gears-offline-functionality-for-web-apps/google-gears-logo/' rel='attachment wp-att-28' title='Google Gears Logo'><img class="intro" align="right" src='http://www.bin-co.com/blog/wp-content/uploads/2007/05/google_gears_logo.png' alt='Google Gears Logo' /></a></p>
<p class="intro">There has been many ideas about a offline storage mechanism for web applications. <a href="http://www.sitepen.com/blog/2007/01/23/the-dojo-offline-api/">Dojo implemented this</a> in its Library. <a href="http://www.readwriteweb.com/archives/firefox_3_offline_apps.php">Firefox 3 promises this</a>. Now we have a new arrival in this area &#8211; <a href="http://gears.google.com/">Google Gears</a>. Unlike Dojo&#8217;s implementation, Gears require an extension for it to work.</p>
<blockquote cite="http://code.google.com/apis/gears/"><p>Google Gears is an open source browser extension that lets developers create web applications that can run offline.</p>
</blockquote>
<h2>See Gears In Action</h2>
<p>To see Gears in action, first install the extension&#8230;</p>
<p><a href="http://gears.google.com/">Google Gears</a></p>
<p>Then go to Google Reader &#8211; you will see a &#8216;Offline&#8217; mode button in the top right corner. If you click on that the script will download 2000 entries into your local database(<a href="http://binnyva.blogspot.com/2006/10/sqlite.html">SQLite</a>).</p>
<p><img src='http://www.bin-co.com/blog/wp-content/uploads/2007/05/downloading.png' alt='Downloading Online Entries using Google Gears' /></p>
<p>To see this database, open up the <a href="http://kb.mozillazine.org/Profile_folder">Firefox Profile folder</a> and enter the &#8216;Google Gears for Firefox&#8217; folder. You will find many Database files there. Just open any of these in a SQLite V3 supporting viewer.</p>
<p>After the download is complete, you can use the Reader without a net connection.</p>
<p>When you get the connection back, just click on the same button &#8211; all the changes will be send to the online server.</p>
<p><img src='http://www.bin-co.com/blog/wp-content/uploads/2007/05/syncing.png' alt='Syncing Local DB changes with online server in Google Gears' /></p>
<h2>Advantages of the Google Gears</h2>
<ul>
<li>Once the extension is installed, the script will work across all the supported browser. No JavaScript hacks required.</li>
<li>Full featured Database support &#8211; this makes it much easier to work with.</li>
<li>Supported by Google</li>
<li><a href="http://code.google.com/p/google-gears/source">Open Source</a></li>
</ul>
<h2>Disadvantages of Google Gears</h2>
<ul>
<li>The user must install an extension for this to work.</li>
<li>Requires user action before going offline. If your connection breaks suddenly(as it often happens here in India), you are left with nothing.</li>
<li>All browsers are not supported(yet)</li>
<li>Beta software &#8211; some bugs are to be expected. But, this will be solved in time.</li>
</ul>
<p>I am still exploring the code &#8211; expect a new post with working <a href="http://www.openjs.com/">javascript</a> examples soon.</p>
<h2>Google Gear Links</h2>
<ul>
<li><a href="http://gears.google.com/">Google Gears</a></li>
<li><a href="http://code.google.com/apis/gears/design.html">Getting Started</a></li>
<li><a href="http://code.google.com/apis/gears/tutorial.html">Tutorial</a></li>
<li><a href="http://code.google.com/apis/gears/">Developer site</a></li>
<li><a href="http://code.google.com/support/bin/topic.py?topic=11628">Frequently asked questions</a></li>
<li><a href="http://groups.google.com/group/google-gears">Developer Forum</a></li>
<li><a href="http://gearsblog.blogspot.com/">Gears API Blog</a></li>
<li><a href="http://erik.eae.net/archives/2007/05/30/19.06.10/">erik&#8217;s weblog</a></li>
<li><a href="http://ifacethoughts.net/2007/05/31/gear-for-offline/">Gears for Offline</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.bin-co.com/blog/2007/05/google-gears-offline-functionality-for-web-apps/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
