<?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>Shekhar Govindarajan's Blog &#187; web browser</title>
	<atom:link href="http://www.shekhargovindarajan.com/tag/web-browser/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.shekhargovindarajan.com</link>
	<description>My Notepad on the Web</description>
	<lastBuildDate>Wed, 08 Feb 2012 04:58:00 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.3</generator>
<atom:link rel="hub" href="http://pubsubhubbub.appspot.com/" />
			<item>
		<title>E-mail notification for new or updated Google Wave</title>
		<link>http://www.shekhargovindarajan.com/google/e-mail-notification-for-new-or-updated-google-wave/?&#038;owa_medium=feed&#038;owa_sid=&#038;utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=e-mail-notification-for-new-or-updated-google-wave</link>
		<comments>http://www.shekhargovindarajan.com/google/e-mail-notification-for-new-or-updated-google-wave/#comments</comments>
		<pubDate>Mon, 08 Mar 2010 02:28:41 +0000</pubDate>
		<dc:creator>Shekhar</dc:creator>
				<category><![CDATA[Google]]></category>
		<category><![CDATA[e-mail notification]]></category>
		<category><![CDATA[google wave]]></category>
		<category><![CDATA[notification]]></category>
		<category><![CDATA[PCQuest]]></category>
		<category><![CDATA[robot]]></category>
		<category><![CDATA[web browser]]></category>

		<guid isPermaLink="false">http://www.shekhargovindarajan.com/?p=1385</guid>
		<description><![CDATA[A few days back, this feature was introduced in Google Wave. This new feature allows you to setup E-mail notifications for new Waves and updated Waves i.e. new and updated Blips or messages in a Wave. To enable E-mail notifications, login into Google Wave. Move your mouse over Inbox (on the left). Click on the [...]]]></description>
			<content:encoded><![CDATA[<p>A few days back, this feature was <a href="http://googlewave.blogspot.com/2010/03/help-test-email-notifications.html" target="_blank">introduced</a> in Google Wave. This new feature allows you to setup E-mail notifications for new Waves and updated Waves i.e. new and updated Blips or messages in a Wave.</p>
<p>To enable E-mail notifications, login into <a href="https://wave.google.com/" target="_blank">Google Wave</a>. Move your mouse over Inbox (on the left). Click on the Arrow (pointing downwards) and select Notifications.<span id="more-1385"></span></p>
<div id="attachment_1386" class="wp-caption alignleft" style="width: 310px"><a href="http://www.shekhargovindarajan.com/wp-content/uploads/2010/03/Google-Wave-E-mail-Notifications-Feature.png"><img class="size-medium wp-image-1386 " title="Google Wave: E-mail Notification Feature" src="http://www.shekhargovindarajan.com/wp-content/uploads/2010/03/Google-Wave-E-mail-Notifications-Feature-300x256.png" alt="Google Wave: E-mail Notification Feature" width="300" height="256" /></a><p class="wp-caption-text">Google Wave: E-mail Notification Feature</p></div>
<p>You can opt to get notified about new and updated Waves immediately (as it happens), hourly or weekly. The notifications are sent to the E-mail address associated with your Google Wave. This will be the GMail or Google Apps (in my case) E-mail address at which you got the Google Wave invite.</p>
<p>I tested it with &#8220;immediately&#8221; option and found that Google Wave sends an E-mail when</p>
<ul>
<li>A new Wave is created and you are added as a participant</li>
<li>A new Blip (message) is created in a Wave in which you are a participant</li>
<li>When an existing Blip is updated in the Wave in which you are participating</li>
</ul>
<p>Google Wave will not send a notification when:</p>
<ul>
<li>It has already sent you notification for a new or updated Wave. It will not send any further notification for any update in that particular Wave, till you log into Google Wave and click on the new or updated Wave.</li>
</ul>
<p><strong> </strong></p>
<div id="attachment_1399" class="wp-caption alignleft" style="width: 310px"><strong><strong><a href="http://www.shekhargovindarajan.com/wp-content/uploads/2010/03/E-mail-Notification-sent-by-Google-Wave.png"><img class="size-medium wp-image-1399" title="A new Wave E-mail Notification sent by Google Wave" src="http://www.shekhargovindarajan.com/wp-content/uploads/2010/03/E-mail-Notification-sent-by-Google-Wave-300x174.png" alt="A new Wave E-mail Notification sent by Google Wave" width="300" height="174" /></a></strong></strong><p class="wp-caption-text">A new Wave E-mail Notification sent by Google Wave</p></div>
<p><strong>Issues/Bugs:</strong></p>
<ul>
<li>The notifications are sent even when you are using Google Wave &#8211; logged into it and seeing the Waves. Why a notification when I can see a new Wave(s) being created and updated in front of me ? So what if I choose to click on them after sometime. Ideally the notifications should be sent after I have closed the Google Wave window on my Web Browser. I said &#8220;closed&#8221; and not logged out because logging out of Google Wave may mean to log out from other Google apps too.</li>
<li>The &#8220;Immediately&#8221; notification is not so immediate. Few notifications were delayed by as long as 14 minutes! Though at times I have received the notification within a minute. This does not fit well with a real time app like Google Wave. Immediate notifications must be &#8220;immediate&#8221;, as it happens and within seconds.</li>
<li>The notification settings link in the E-mail (notification) just opens Google Wave and does not show the Window or popup to change the settings. Note that this bug is a known issue as per the <a href="http://googlewave.blogspot.com/2010/03/help-test-email-notifications.html" target="_blank">Google Wave blog</a>.</li>
</ul>
<p><strong>Good to have in the next version:</strong></p>
<ol>
<li>There should be a provision to send notifications to any E-mail address and not only to the associated Gmail or Google Apps E-mail address.</li>
<li>The notification settings, besides being system wide and applicable to all Waves, should be present for individual Waves too. The notification settings for individual Waves should override the system wide settings. This way one can subscribe to notifications only for the Wave in which he/she is interested.</li>
<li>If point 2 is implemented, there should be an exclusive option to get notified about New Waves created by others &#8211; where you are added as a participant.</li>
</ol>
<p>I was wanting this feature so much that last year I wrote a Robot for my own use (with a hard coded E-mail address) to send me notifications for updates in Waves. I add this Robot to the Waves of my interest. I even wrote <a href="http://pcquest.ciol.com/content/search/showarticle.asp?arid=11694" target="_blank">an article</a> in PCQuest magazine about this Robot. For those who are interested in the code, refer to <a href="http://forums.pcquest.com/forum/viewtopic.php?f=16&amp;t=7027" target="_blank">this link</a> at the PCQuest forums to download the article with the code intact. If Google Wave could bring the Notification settings to individual Waves, I would no longer need to use my Robot.</p>
<img src="http://www.shekhargovindarajan.com/?ak_action=api_record_view&id=1385&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://www.shekhargovindarajan.com/google/e-mail-notification-for-new-or-updated-google-wave/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Microsoft Tag Reader for Android</title>
		<link>http://www.shekhargovindarajan.com/microsoft/microsoft-tag-reader-for-android/?&#038;owa_medium=feed&#038;owa_sid=&#038;utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=microsoft-tag-reader-for-android</link>
		<comments>http://www.shekhargovindarajan.com/microsoft/microsoft-tag-reader-for-android/#comments</comments>
		<pubDate>Thu, 04 Mar 2010 15:12:42 +0000</pubDate>
		<dc:creator>Shekhar</dc:creator>
				<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[adp1]]></category>
		<category><![CDATA[android]]></category>
		<category><![CDATA[android market]]></category>
		<category><![CDATA[gallery link=]]></category>
		<category><![CDATA[microsoft tag]]></category>
		<category><![CDATA[microsoft tag reader]]></category>
		<category><![CDATA[New Delhi]]></category>
		<category><![CDATA[store IM Address]]></category>
		<category><![CDATA[tag]]></category>
		<category><![CDATA[vcard]]></category>
		<category><![CDATA[web browser]]></category>

		<guid isPermaLink="false">http://www.shekhargovindarajan.com/?p=1371</guid>
		<description><![CDATA[What is Microsoft Tag? In simple words, Microsoft Tag allows you to store information in images (Tags). More on Microsoft Tag can be found here. My excitement about Microsoft Tag is, the Tag Reader app is now available for Android phones.   I own an Android Dev Phone 1 (a.k.a. ADP1). It was just today that Microsoft Tag [...]]]></description>
			<content:encoded><![CDATA[<p>What is Microsoft Tag? In simple words, Microsoft Tag allows you to store information in images (Tags). More on Microsoft Tag can be found <a href="http://www.microsoft.com/tag/" target="_blank">here</a>. My excitement about Microsoft Tag is, the Tag Reader app is now available for Android phones.  </p>
<p>I own an Android Dev Phone 1 (a.k.a. ADP1). It was just today that Microsoft Tag Reader app for Android was announced. The Tag Reader app allows to scan, extract and store information in Microsoft Tags using the phone&#8217;s camera. <span id="more-1371"></span></p>
<p>I wasted no time in firing up Android Market on my ADP1 and searched for &#8220;microsoft&#8221;. And voila Microsoft Tag Reader showed up on the top, in the list of apps. Installed it. Alternatively, one can browse to the URL  <a href="http://gettag.mobi">http://gettag.mobi</a> using the Android&#8217;s web browser. This will automatically launch the Android Markert app, prompting to install Microsoft Tag Reader.</p>
<p>To see the app in action, you will need to have a Microsoft Tag handy. One of the quickest way is to create your own at <a href="http://www.microsoft.com/tag/">http://www.microsoft.com/tag/</a>. The different types of information that one can store in a Tag are URL, Free Text, vCard and Dialer. The Microsoft Tag Reader is well integrated with Android and invokes the appropriate actions for each of these types like - launching the web browser with the URL, displaying the text, storing the vCard into Android&#8217;s Contacts and launching the Dialer with the number.
<a href='http://www.shekhargovindarajan.com/microsoft/microsoft-tag-reader-for-android/attachment/microsoft-tag-reader-app-for-android-prompts-for-password-for-password-protected-tags/' title='Microsoft Tag Reader app for Android prompts for password for password-protected Tags'><img width="150" height="150" src="http://www.shekhargovindarajan.com/wp-content/uploads/2010/03/Microsoft-Tag-Reader-app-for-Android-prompts-for-password-for-password-protected-Tags-150x150.png" class="attachment-thumbnail" alt="Microsoft Tag Reader app for Android prompts for password for password-protected Tags" title="Microsoft Tag Reader app for Android prompts for password for password-protected Tags" /></a>
<a href='http://www.shekhargovindarajan.com/microsoft/microsoft-tag-reader-for-android/attachment/microsoft-tag-reader-app-for-android-stores-the-scanned-tags-for-later-use-in-the-history/' title='Microsoft Tag Reader app for Android stores the scanned Tags for later use in the History'><img width="150" height="150" src="http://www.shekhargovindarajan.com/wp-content/uploads/2010/03/Microsoft-Tag-Reader-app-for-Android-stores-the-scanned-Tags-for-later-use-in-the-History-150x150.png" class="attachment-thumbnail" alt="Microsoft Tag Reader app for Android stores the scanned Tags for later use in the History" title="Microsoft Tag Reader app for Android stores the scanned Tags for later use in the History" /></a>
</p>
<p><strong>Pros</strong></p>
<ul>
<li>Instant and fast scanning</li>
<li>Integrated with Android apps like Web browser, Contacts and Dialer</li>
</ul>
<p>Whilst there are some cons too</p>
<p><strong>Cons</strong></p>
<ul>
<li>VCard: Does not store IM Address in Contact&#8217;s Chat addresses.</li>
<li>VCard: This seems to be a bug. In case of commas (,) in the address or any other fields, the Tag Reader prefixes a backslash (\) to each comma. For example: an address like &#8220;124-A, New Delhi&#8221; is stored as &#8220;124-A\, New Delhi&#8221; in the Android&#8217;s Contacts </li>
<li>The app displays the text for Free Text but does not allow to copy (for copy-n-paste) &#8211; a good to have feature.</li>
</ul>
<p>Cons aside (its likely that these will be fixed in the next version), the noteworthy point is Micrsoft Tag Reader is the first ever Android app from Microsoft!</p>
<img src="http://www.shekhargovindarajan.com/?ak_action=api_record_view&id=1371&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://www.shekhargovindarajan.com/microsoft/microsoft-tag-reader-for-android/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Use Google Wave to Blog</title>
		<link>http://www.shekhargovindarajan.com/google/use-google-wave-to-blog/?&#038;owa_medium=feed&#038;owa_sid=&#038;utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=use-google-wave-to-blog</link>
		<comments>http://www.shekhargovindarajan.com/google/use-google-wave-to-blog/#comments</comments>
		<pubDate>Fri, 05 Feb 2010 14:44:30 +0000</pubDate>
		<dc:creator>Shekhar</dc:creator>
				<category><![CDATA[Google]]></category>
		<category><![CDATA[editor]]></category>
		<category><![CDATA[embed]]></category>
		<category><![CDATA[google wave]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[read only]]></category>
		<category><![CDATA[search/browse]]></category>
		<category><![CDATA[wavr]]></category>
		<category><![CDATA[web browser]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://www.shekhargovindarajan.com/?p=1212</guid>
		<description><![CDATA[I have been thinking about this idea ever since I started playing with Google Wave. How about creating a blog post by embedding Waves &#8211; one for the post and the other for comments. The former Wave will be editable only by me, while the latter will be editable by anyone (with a Google Wave [...]]]></description>
			<content:encoded><![CDATA[<p>I have been thinking about this idea <a href="http://twitter.com/shekharg/statuses/2895247701" target="_blank">ever since</a> I started playing with Google Wave. How about creating a blog post by embedding Waves &#8211; one for the post and the other for comments. The former Wave will be editable only by me, while the latter will be editable by anyone (with a Google Wave account).</p>
<div id="attachment_1238" class="wp-caption alignleft" style="width: 310px"><a href="http://www.shekhargovindarajan.com/wp-content/uploads/2010/02/A-blog-post-using-Google-Wave-for-content-and-comments.png"><img class="size-medium wp-image-1238" title="A blog post using Google Wave for content and comments" src="http://www.shekhargovindarajan.com/wp-content/uploads/2010/02/A-blog-post-using-Google-Wave-for-content-and-comments-300x182.png" alt="A blog post using Google Wave for content and comments" width="300" height="182" /></a><p class="wp-caption-text">A blog post using Google Wave for content and comments</p></div>
<p>This became possible, recently, with the introduction of the read-only access feature. I created a blog post with a Wave talking about the Frequently Asked Questions (FAQs) about Google Wave and a blank (to start with) Wave for comments. Click <a href="http://www.shekhargovindarajan.com/google/frequently-asked-questions-about-google-wave/" target="_blank">here</a> to see this blog post. This was achieved as follows:<span id="more-1212"></span></p>
<ul>
<li>Logged into Google Wave and created a new Wave about Frequently Asked Questions about Google Wave, as showed in the screenshot.
<p><div id="attachment_1215" class="wp-caption alignleft" style="width: 310px"><a href="http://www.shekhargovindarajan.com/wp-content/uploads/2010/02/A_Wave_about_frequently_asked_questions_about_Google_Wave.png"><img class="size-medium wp-image-1215" title="A  Wave about frequently asked questions about Google Wave" src="http://www.shekhargovindarajan.com/wp-content/uploads/2010/02/A_Wave_about_frequently_asked_questions_about_Google_Wave-300x182.png" alt="A  Wave about frequently asked questions about Google Wave" width="300" height="182" /></a><p class="wp-caption-text">A  Wave about frequently asked questions about Google Wave</p></div></li>
</ul>
<ul>
<li>Added the Public participant to this Wave. This can be done as follows:
<ul>
<li>Click on the + button on the bottom right pane titled Contacts to add a new contact</li>
<li>For Address type in public@a.gwave.com</li>
<li>Add this new contact by clicking on the Submit button.</li>
<li>Next add this contact to the Wave, which you want to make public. For this click on the + button on the top of the Wave.</li>
<li>On the Add Participants pop-up, search/browse, and click to add the contact named Public.</li>
<li>You will see a notification on the top of the Wave saying &#8220;You gave everyone access&#8221;.</li>
</ul>
</li>
<li>I gave Read-Only access to the Public contact/participant. Refer to <a href="http://www.shekhargovindarajan.com/google/read-only-google-wave/" target="_blank">this blog post</a> on how to assign read-only access.</li>
<li>Next I created another Wave, for comments, with just one blip or message which says: Wave your comments about the FAQs on Google Wave.</li>
<li>Added the Public contact to this Wave but did not setup read-only access this time. That means, anyone (with a Google Wave account) can add/edit/delete blips/messages on this Wave. That&#8217;s what commenting is all about, right?</li>
<li>To embed Google Waves in this blog post, I installed and activated the Wavr plugin for WordPress. You can download this plugin from <a href="http://wordpress.org/extend/plugins/wavr/" target="_blank">here</a></li>
<li>With Wavr plugin you can embed any Google Wave in a blog post using the following syntax:[ wave id = "&lt;Google-Wave-ID&gt; ]<br />
<strong>Please note that, unlike shown above, there should be no space between the opening/left square bracket and the text &#8220;wave id&#8221;.</strong></li>
<li>To find out the Wave ID of a Google Wave, Click on the Wave. Copy the URL (shown in your web browser) from googlewave.com upto the . (dot) or upto the end. Exclude the dot. Replace %252B with+ (plus). For example, in my case, the Wave IDs for the content and comments Waves are googlewave.com!w+3413MFFlD and googlewave.com!w+53bOqvqzB</li>
<li>Next I created a new blog post in WordPress and embedded the Waves as follows:<br />
[ wave id = "googlewave.com!w+3413MFFlD" ]<br />
[ wave id = "googlewave.com!w+53bOqvqzB" ]</li>
<li>You can change the default colors of the embedded Waves from the WordPress admin panel &#8211; Settings&gt;Wavr. I changed the default background color and default color to #FFFFFF (white) and #000000 (black) respectively. I also set the height to 700px. Note that , you can set these options on a per Wave basis too. You can find more about it, at the Wavr&#8217;s download page.</li>
<li>Last, since I wanted to encourage comments via the Google Wave only, I disabled comments to the blog post. This can be done while writing or editing the post. Click on the Discussions panel (at the bottom of the editor) and untick &#8220;Allow Comments&#8221;.</li>
</ul>
<p>The output of the above efforts can be seen <a href="http://www.shekhargovindarajan.com/google/frequently-asked-questions-about-google-wave/" target="_blank">here</a>. Be ready to catch me, in real time, when and while I update the FAQ wave. Though it is more likely that I may catch you while you are writing a comment and could reply instantaneously. After all <a href="http://twitter.com/shekharg/statuses/4706917836" target="_blank">I pledged</a> to keep Google Wave always open in my web browser.</p>
<img src="http://www.shekhargovindarajan.com/?ak_action=api_record_view&id=1212&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://www.shekhargovindarajan.com/google/use-google-wave-to-blog/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Web Scraping with Firefox and PHP, using XPath</title>
		<link>http://www.shekhargovindarajan.com/scripts/web-scraping-with-firefox-and-php-using-xpath/?&#038;owa_medium=feed&#038;owa_sid=&#038;utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=web-scraping-with-firefox-and-php-using-xpath</link>
		<comments>http://www.shekhargovindarajan.com/scripts/web-scraping-with-firefox-and-php-using-xpath/#comments</comments>
		<pubDate>Mon, 25 Jan 2010 02:00:58 +0000</pubDate>
		<dc:creator>Shekhar</dc:creator>
				<category><![CDATA[Scripts]]></category>
		<category><![CDATA[automated]]></category>
		<category><![CDATA[automated Web scrapping]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[DOM]]></category>
		<category><![CDATA[external tools]]></category>
		<category><![CDATA[Fedora]]></category>
		<category><![CDATA[firebug]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[firexpath]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[PHP programmer]]></category>
		<category><![CDATA[regex]]></category>
		<category><![CDATA[regular expressions]]></category>
		<category><![CDATA[scheduler]]></category>
		<category><![CDATA[screen scraping]]></category>
		<category><![CDATA[tidy]]></category>
		<category><![CDATA[Tidy library]]></category>
		<category><![CDATA[Use Curl library]]></category>
		<category><![CDATA[web browser]]></category>
		<category><![CDATA[Web page lie]]></category>
		<category><![CDATA[Web scarping]]></category>
		<category><![CDATA[web scraping]]></category>
		<category><![CDATA[well-formed Web page An XPath expression]]></category>
		<category><![CDATA[well-formed Web page content]]></category>
		<category><![CDATA[well-formed Web pages]]></category>
		<category><![CDATA[XHTML]]></category>
		<category><![CDATA[XML]]></category>
		<category><![CDATA[xpath]]></category>

		<guid isPermaLink="false">http://www.shekhargovindarajan.com/?p=968</guid>
		<description><![CDATA[Last year, I faced two projects which required automated Web scrapping &#8211; to aggregate content from web pages. I evaluated different methods for Web scraping with varied level of success. Thanks to the changing structure of Web pages, non well-formed pages and URL redirects. Amongst using regular expressions and DOM (Document Object Model) parsing, I [...]]]></description>
			<content:encoded><![CDATA[<p>Last year, I faced two projects which required automated Web scrapping &#8211; to aggregate content from web pages. I evaluated different methods for Web scraping with varied level of success. Thanks to the changing structure of Web pages, non well-formed pages and URL redirects.</p>
<p>Amongst using regular expressions and DOM (Document Object Model) parsing, I used XPath too. XPath works great for well-formed Web pages. <span id="more-968"></span>A HTML Web page is called well-formed when all the opening tags have corresponding closing tags and the tags are nested properly (refer to <a href="http://en.wikipedia.org/wiki/Well-formed_element" target="_blank">this link</a> for more). A well-formed HTML page is also called an XHTML page.</p>
<p>XPath is a query language to access content on a well formed page &#8211; XHTML or XML. All the content in a Web page lie within HTML elements or tag pairs. The following is needed to extract out the content, of interest, using XPath from a Web page:</p>
<ol>
<li>A well-formed Web page</li>
<li>An XPath expression for the HTML element of interest</li>
<li>XPath query using the expression</li>
</ol>
<p>An XPath expression looks as cryptic as  .//*[@id='home_featured']/div. Here is where Firefox web browser with a plugin called FireXPath comes to help (as explained below). The second and third requirements are met by PHP (in my case) which is used for automated Web scrapping using the XPath expression.</p>
<p><strong>Click and build XPath expressions<br />
</strong>Building the cryptic XPath expression is easy and intuitive with Firefox and a couple of its plugins &#8211; namely Firebug and FireXPath. Install Firebug from <a href="https://addons.mozilla.org/en-US/firefox/addon/1843" target="_blank">here</a>, followed by FireXPath from <a href="https://addons.mozilla.org/en-US/firefox/addon/11900" target="_blank">here</a> and restart Firefox. As of this writing, I&#8217;m using the following versions of Firefox and the plugins:</p>
<ul>
<li>Firefox 3.5.6</li>
<li>Firbug 1.4.5</li>
<li>FireXPath 0.9.1</li>
</ul>
<p>After, the Firefox restart, browse to the Web page of your interest. Next:</p>
<ul>
<li>Launch Firebug by clicking on the bug like icon on the right corner of the status bar.</li>
<li>Click on the tab named XPath (in FireBug)</li>
<li>Click on the arrow (blue arrow) and move your mouse over the content, of interest, on the web page</li>
<li>Once the required chunk is highlighted (with a blue border), note down the XPath expression in the textfield.</li>
</ul>
<p>For example, the screenshot below, shows the XPath expression (.//*[@id='home_featured']/div  ) for the &#8220;Featured Post&#8221; chunk, on the home page, of this blog:</p>
<div id="attachment_974" class="wp-caption alignleft" style="width: 310px"><a href="http://www.shekhargovindarajan.com/wp-content/uploads/2010/01/XPath-Expression-With-FireXPath.png"><img class="size-medium wp-image-974   " style="display: block;" title="With FireXPath, point your mouse on the chunk/element of interest, to build an XPath expression" src="http://www.shekhargovindarajan.com/wp-content/uploads/2010/01/XPath-Expression-With-FireXPath-300x284.png" alt="With FireXPath, point your mouse on the chunk/element of interest, to build an XPath expression" width="300" height="284" /></a><p class="wp-caption-text">With FireXPath, point your mouse on the chunk/element of interest, to build an XPath expression</p></div>
<p>A few examples of XPath expressions:</p>
<ul>
<li>.//*[@id='latest_post']/span[1] : The posted and modified dates of the latest post on this blog &#8211; http://www.shekhargovindarajan.com</li>
<li>.//*[@id='top-stories']/div[1]/h2/a : The headline of the top story on Google News &#8211; http://news.google.com</li>
<li>.//*[@id='mp-tfa']/p[1] : Contents of featured article on Wikipedia &#8211; http://en.wikipedia.org/wiki/Main_Page</li>
</ul>
<p><strong>Automated scarping using PHP<br />
</strong>With the XPath expression in hand, a PHP script as follows, can extract out the required content from the Web page:</p>
<pre>&lt;?php

class WebScrap
	{
	private $url;
	private $xpath;

	public function WebScrap($url,$xpath)
		{
		$this-&gt;url = $url;
		$this-&gt;xpath = $xpath;
		}

	public function GetScrap()
		{
		// use Tidy to try to make the page well formed
		$page = $this-&gt;TidyIt($this-&gt;url);

		// create a document out of the well formed content
		$domDocument=new DOMDocument();
		$domDocument-&gt;loadHTML($page);

		// create an XPath object out of the document and query it for the supplied xpath
		$domXPath = new DOMXPath($domDocument);
		$domNodeList = $domXPath-&gt;query($this-&gt;xpath);

		// Get the content (HTML) out of the NodeList returned by the DOMXPath::query
		$content = $this-&gt;GetHTMLFromNodeList($domNodeList);

		return $content;
		}

	private function TidyIt($url)
		{
		$tidy = new tidy();
		$tidy-&gt;parseFile($url);
		$tidy-&gt;cleanRepair();
		return $tidy;
		}

	private function GetHTMLFromNodeList($domNodeList)
		{
		$domDocument = new DOMDocument();

		$node = $domNodeList-&gt;item(0);   

		foreach($node-&gt;childNodes as $childNode)
			$domDocument-&gt;appendChild($domDocument-&gt;importNode($childNode, true));

		return $domDocument-&gt;saveHTML();
		}

	}

?&gt;</pre>
<p>Note that, the function/method called GetScrap( ) of the WebScrap PHP class first calls the TidyIt( ) method. This function uses the <a href="http://en.wikipedia.org/wiki/HTML_Tidy" target="_blank">Tidy</a> library to fix (if required) the HTML for well-formedness. The PHP class for Tidy is used to fetch the web page via the given URL and repair it. Henceforth the DomXPath object is used to query the well-formed Web page content for the XPath expression.</p>
<p>To use the above code, you will need to install PHP modules for XML and Tidy. On a RedHat/CentOS/Fedora Linux machine, these modules can be installed using the following command:</p>
<pre>yum install php-xml php-tidy</pre>
<p>Save the above code in a file named class.WebScrap.php (say). Subsequently, the WebScrap class can be used as:</p>
<pre>&lt;?php

include("class.WebScrap.php");
$scrap = new WebScrap("http://news.google.com",".//*[@id='top-stories']/div[1]/h2/a");
print($scrap-&gt;GetScrap());

?&gt;</pre>
<p>The code should be self explanatory for a seasoned PHP programmer. If not, shoot your questions via comments to this post. For repeated and automated Web scarping, a scheduler like Cron can be used to execute the above PHP script at regular intervals and fetch the latest content.</p>
<p><strong>The Leftovers<br />
</strong>The code above is readable, crisp and focusses on the subject. For this reason, it has deliberate exclusions.  In a real world application, you should:</p>
<ul>
<li>Use <a href="http://php.net/manual/en/book.curl.php" target="_blank">Curl</a> library in PHP  or external tools like <a href="http://en.wikipedia.org/wiki/Wget" target="_blank">Wget</a> to fetch the URL. Then pass on the fetched content to Tidy. Hint: use the  parseString( ) of Tidy instead of parseFile( )</li>
<li>Handle errors in case of errors in Tidy and XPath.</li>
<li>Fallback to other means (say regular expressions) in case of errors in Tidy or XPath querying</li>
</ul>
<p>Note that XPath may not always give you the structured content that you desire. For example, using the expression .//*[@id='latest_post']/span[1] (for posted and modified dates of the latest post on this blog) will result into something as follows:</p>
<pre>&lt;strong&gt;Posted on:&lt;/strong&gt;
January 8, 2010
&lt;span class="dot"&gt;⋅&lt;/span&gt;
&lt;strong&gt;Last modified:&lt;/strong&gt;
January 8, 2010 @ 4:49 pm</pre>
<p>So there are tags and text (like &#8220;Posted on:&#8221; and &#8220;Last modified:&#8221;) to be stripped out, to get the posted date (January 8, 2010) and the modified date (January 8, 2010 @ 4:49 pm). For this, you may still have to use regular expressions and/or string manipulation functions like split( ).</p>
<img src="http://www.shekhargovindarajan.com/?ak_action=api_record_view&id=968&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://www.shekhargovindarajan.com/scripts/web-scraping-with-firefox-and-php-using-xpath/feed/</wfw:commentRss>
		<slash:comments>16</slash:comments>
		</item>
		<item>
		<title>Display Microsoft Word&#8217;s Special Characters through Apache</title>
		<link>http://www.shekhargovindarajan.com/tips-n-tricks/display-microsoft-words-special-characters-through-apache/?&#038;owa_medium=feed&#038;owa_sid=&#038;utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=display-microsoft-words-special-characters-through-apache</link>
		<comments>http://www.shekhargovindarajan.com/tips-n-tricks/display-microsoft-words-special-characters-through-apache/#comments</comments>
		<pubDate>Wed, 25 Mar 2009 04:18:36 +0000</pubDate>
		<dc:creator>Shekhar</dc:creator>
				<category><![CDATA[Tips N Tricks]]></category>
		<category><![CDATA[AddDefaultCharset]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[Apache server]]></category>
		<category><![CDATA[Apache web server]]></category>
		<category><![CDATA[Apache web server side]]></category>
		<category><![CDATA[ascii]]></category>
		<category><![CDATA[Comment]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[ISO-8859-1]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[mail server]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[operating system]]></category>
		<category><![CDATA[special characters]]></category>
		<category><![CDATA[text editor]]></category>
		<category><![CDATA[web browser]]></category>
		<category><![CDATA[web browser problem]]></category>
		<category><![CDATA[web server]]></category>
		<category><![CDATA[web server side]]></category>
		<category><![CDATA[weird characters]]></category>
		<category><![CDATA[word]]></category>

		<guid isPermaLink="false">http://www.shekhargovindarajan.com/?p=583</guid>
		<description><![CDATA[Recently, I carried out a Linux server upgrade for a client where I did a clean install of the latest operating system/distribution. Since it was a clean install I had to backup and note down the earlier configuration (of mail server, web server, database) and redo those changes. Mostly I preferred not to simply overwrite [...]]]></description>
			<content:encoded><![CDATA[<p>Recently, I carried out a Linux server upgrade for a client where I did a clean install of the latest operating system/distribution. Since it was a clean install I had to backup and note down the earlier configuration (of mail server, web server, database) and redo those changes. Mostly I preferred not to simply overwrite with the backed up configuration files. I rather documented and edited the configuration manually.</p>
<p>It all seemed to have gone smoothly and the new server has been up and running. But one not-so-fine day, the client started complaining that some HTML pages are not displaying properly. These were showing question marks (?) and some other weird characters. I figured out that these HTML pages were generated using Microsoft Word and had those special characters (closing quotes, double hyphens etc.). I discussed with the client that this could be a web browser problem because it is not able to use the correct character set.<span id="more-583"></span>But the client insisted that such pages used to display properly earlier, before the upgrade.  This meant I have missed redoing some configuration. The obvious suspect was at Apache web server side. After all it is Apache which is serving these web pages to the browser. Hence, if the culprit is not the web browser then it better be the web server. After parsing through the Apache&#8217;s configuration file I spotted a comment against a directive (or configuration option) called AddDefaultCharset which said:</p>
<p># Specify a default charset for all content served; this enables<br />
# interpretation of all content as UTF-8 by default.  To use the<br />
# default browser choice (ISO-8859-1), or to allow the META tags<br />
# in HTML content to override this choice, comment out this<br />
# directive:</p>
<p>I followed it and commented out the directive and voila it worked!</p>
<p>To sum up, if HTML files served by an Apache web server  are not displaying special characters properly in a web browser (IE, Firefox etc.), the solution is:</p>
<ul>
<li>Open the Apache&#8217;s configuration file named httpd.conf (found in the directory /etc/httpd/conf for RedHat based Linux distributions) in a text editor</li>
<li>Comment out, by prefixing a hash (#), the line which says &#8220;AddDefaultCharset UTF-8&#8243; such that it looks as follows:<strong> </strong><strong><br />
# AddDefaultCharset UTF-8<br />
</strong></li>
<li>Save the file and reload/restart Apache server. For RedHat based distributions you can do this via &#8220;service httpd reload&#8221;</li>
</ul>
<img src="http://www.shekhargovindarajan.com/?ak_action=api_record_view&id=583&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://www.shekhargovindarajan.com/tips-n-tricks/display-microsoft-words-special-characters-through-apache/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Fennec &#8211; Firefox for mobiles</title>
		<link>http://www.shekhargovindarajan.com/open-source/fennec-firefox-for-mobiles/?&#038;owa_medium=feed&#038;owa_sid=&#038;utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=fennec-firefox-for-mobiles</link>
		<comments>http://www.shekhargovindarajan.com/open-source/fennec-firefox-for-mobiles/#comments</comments>
		<pubDate>Sat, 18 Oct 2008 10:48:27 +0000</pubDate>
		<dc:creator>Shekhar</dc:creator>
				<category><![CDATA[Open Source]]></category>
		<category><![CDATA[2003]]></category>
		<category><![CDATA[AJAX]]></category>
		<category><![CDATA[Awesome Bar]]></category>
		<category><![CDATA[fennec]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[maemo]]></category>
		<category><![CDATA[Microsoft Windows]]></category>
		<category><![CDATA[minimo]]></category>
		<category><![CDATA[mobile]]></category>
		<category><![CDATA[mobile phones]]></category>
		<category><![CDATA[n810]]></category>
		<category><![CDATA[nokia]]></category>
		<category><![CDATA[Nokia N810]]></category>
		<category><![CDATA[output devices]]></category>
		<category><![CDATA[pocket pc]]></category>
		<category><![CDATA[Shekhar Govindarajan]]></category>
		<category><![CDATA[the Firefox]]></category>
		<category><![CDATA[typical web browser button]]></category>
		<category><![CDATA[typical web browsing]]></category>
		<category><![CDATA[United States]]></category>
		<category><![CDATA[web browser]]></category>
		<category><![CDATA[windows mobile]]></category>

		<guid isPermaLink="false">http://www.shekhargovindarajan.com/?p=392</guid>
		<description><![CDATA[We love Firefox on our desktops and now there is Firefox for our mobiles &#8211; called Fennec. Fennec is a web browser for mobiles (phones, PDAs and small screen tablets) released by Mozilla. As of this writing, it is in Alpha 1. Fennec Alpha 1 is available only for Nokia N810 tablets running Maemo. But [...]]]></description>
			<content:encoded><![CDATA[<p>We love Firefox on our desktops and now there is Firefox for our mobiles &#8211; called <a href="http://www.mozilla.org/projects/fennec/1.0a1/releasenotes/" target="_blank">Fennec</a>. Fennec is a web browser for mobiles (phones, PDAs and small screen tablets) released by Mozilla. As of this writing, it is in Alpha 1.</p>
<p>Fennec Alpha 1 is available only for Nokia N810 tablets running Maemo. But I own a Windows Mobile. Fortunately, Fennec is downloadable for Windows, Linux and Mac desktops &#8211; for users (like me) to see its glimpse, test it and give feedback.</p>
<p>I downloaded the Linux version from <a href="http://ftp.mozilla.org/pub/mozilla.org/mobile/fennec-1.0a1.en-US.linux-i686.tar.bz2" target="_blank">here</a>. Extracted the archive (tar -jxvf fennec-1.0a1.en-US.linux-i686.tar.bz2). This produced a directory named fennec.  Changed to this directory and launched Fennec by issuing ./fennec.</p>
<div id="attachment_395" class="wp-caption alignnone" style="width: 310px"><a href="http://www.shekhargovindarajan.com/wp-content/uploads/2008/10/fennec-first-launch.jpeg"><img class="size-medium wp-image-395" title="fennec-first-launch" src="http://www.shekhargovindarajan.com/wp-content/uploads/2008/10/fennec-first-launch-300x187.jpg" alt="Fennec - The first launch" width="300" height="187" /></a><p class="wp-caption-text">Fennec - The first launch</p></div>
<p><span id="more-392"></span>With the aim not being a full fledged review of Fennec (since it is in alpha), following are a few noteworthy features:</p>
<p><strong>Awesome bar:</strong> Like Firefox 3, Fennec shows the earlier visited sites as you start typing in a URL. It shows the URL and title of the sites. This allows you to quickly jump to the URL without much typing:</p>
<div id="attachment_396" class="wp-caption alignnone" style="width: 310px"><a href="http://www.shekhargovindarajan.com/wp-content/uploads/2008/10/fennec-awesomebar.jpeg"><img class="size-medium wp-image-396" title="fennec-awesomebar" src="http://www.shekhargovindarajan.com/wp-content/uploads/2008/10/fennec-awesomebar-300x180.jpg" alt="Awesome Bar" width="300" height="180" /></a><p class="wp-caption-text">Awesome Bar</p></div>
<p><strong>Optimizes Website&#8217;s dimension:</strong> Seems Fennec tries its best to horizontally fit a web page to the viewable area. A website can be scrolled vertically by dragging the mouse from bottom to top.  Following is how my Blog looks in Fennec:</p>
<div id="attachment_397" class="wp-caption alignnone" style="width: 310px"><a href="http://www.shekhargovindarajan.com/wp-content/uploads/2008/10/fennec-my-blog.jpeg"><img class="size-medium wp-image-397" title="fennec-my-blog" src="http://www.shekhargovindarajan.com/wp-content/uploads/2008/10/fennec-my-blog-300x180.jpg" alt="Shekhar Govindarajan's Blog in Fennec" width="300" height="180" /></a><p class="wp-caption-text">Shekhar Govindarajan&#39;s Blog in Fennec</p></div>
<p><strong>Tab browsing:</strong> As hinted on the first launch screen, drag the mouse, to the right, on the Fennec window and you will see the tabs panel. It shows the preview of all the currently open tabs as shown below:</p>
<div id="attachment_398" class="wp-caption alignnone" style="width: 310px"><a href="http://www.shekhargovindarajan.com/wp-content/uploads/2008/10/fennec-tabbed-browsing.jpeg"><img class="size-medium wp-image-398" title="fennec-tabbed-browsing" src="http://www.shekhargovindarajan.com/wp-content/uploads/2008/10/fennec-tabbed-browsing-300x187.jpg" alt="Tabbed browsing in Fennec" width="300" height="187" /></a><p class="wp-caption-text">Tabbed browsing in Fennec</p></div>
<p>You can launch a new tab by clicking on the + button or remove a launched tab by clicking on the &#8211; button on the tab preview. Fennec automatically launches a separate tab for links which open in a new Window.</p>
<p><strong>Back, forward and favourite buttons</strong>: Dragging the mouse towards the left reveals the typical web browser button for Back, Previous and Bookmark/Favourites.</p>
<div id="attachment_399" class="wp-caption alignnone" style="width: 310px"><a href="http://www.shekhargovindarajan.com/wp-content/uploads/2008/10/fennec-back-previous-favourites.jpeg"><img class="size-medium wp-image-399" title="fennec-back-previous-favourites" src="http://www.shekhargovindarajan.com/wp-content/uploads/2008/10/fennec-back-previous-favourites-300x180.jpg" alt="Drag the mouse to the left to see the typical web browsing buttons" width="300" height="180" /></a><p class="wp-caption-text">Drag the mouse to the left to see the typical web browsing buttons</p></div>
<p><strong>Configuration/Preferences: </strong>Clicking on the wheel button (at the bottom), shown in the above screenshot, reveals the browser&#8217;s configuration or preferences option. But I was not able to select or change any option. Either I&#8217;m doing something wrong or it is the Alpha factor.</p>
<div id="attachment_400" class="wp-caption alignnone" style="width: 310px"><a href="http://www.shekhargovindarajan.com/wp-content/uploads/2008/10/fennec-preferences.jpeg"><img class="size-medium wp-image-400" title="fennec-preferences" src="http://www.shekhargovindarajan.com/wp-content/uploads/2008/10/fennec-preferences-300x187.jpg" alt="The preferences window" width="300" height="187" /></a><p class="wp-caption-text">The preferences window</p></div>
<p><strong>Remember password:</strong> Fennec showcases the same non-intrusive remember password prompt &#8211; as in Firefox 3 and Google Chrome. The remember password prompt is displayed on the top without stopping the subsequent (to the login) page from opening:</p>
<div id="attachment_401" class="wp-caption alignnone" style="width: 310px"><a href="http://www.shekhargovindarajan.com/wp-content/uploads/2008/10/fennec-remember-password.jpeg"><img class="size-medium wp-image-401" title="fennec-remember-password" src="http://www.shekhargovindarajan.com/wp-content/uploads/2008/10/fennec-remember-password-300x187.jpg" alt="Remember password prompt" width="300" height="187" /></a><p class="wp-caption-text">Remember password prompt</p></div>
<p>I browsed through GMail (non mobile version) using Fennec and found it to working fine. This means Fennec will be supporting JavaScript and AJAX intensive sites.</p>
<p><strong>Miscellaneous: </strong></p>
<ul>
<li>Fennec claims to support plugins and addons with several plugins like that for Java, Quicktime and DivX listed. But even after enabling them I could not see Java applets or Quicktime videos.</li>
<li>It seems to remember the data filled in form fields too and displays a small popup above the fields to assist in prefilling</li>
<li>Flash based websites did not work. There were no Flash plugins listed</li>
<li>While not a Fennec&#8217;s issue, Websites (like mine) are not detecting Fennec as a mobile browser. The user agent string emitted by Fennec (while running on a Linux desktop) is as follows:<em><br />
</em></li>
</ul>
<p><em> Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1b2pre) Gecko/20081015 Fennec/1.0a1</em></p>
<p>Note that Fennec is not the first mobile browser from Mozilla. Earlier Mozilla had released a web browser called <a href="http://www-archive.mozilla.org/projects/minimo/" target="_blank">Minimo</a>. Minimo is now found in the Mozilla archives. This means Fennec is the way forward. I had used Minimo on my earlier mobile which was a Windows Pocket PC (running Windows Mobile 2003). Minimo also supports tab browsing.</p>
<p>Fennec is said to use the Firefox&#8217;s design principles and the Gecko engine and hence I&#8217;m calling it the Firefox for mobiles. I&#8217;m not sure if Fennec and Firefox share the same code base.</p>
<p>Last but not the least, I played with Fennec on a Linux laptop with a mouse, keyword and a large screen. How well it works with a phone&#8217;s input and output devices can be told by someone who owns a Nokia tablet. It will also be interesting to see how the future versions of Fennec behave on smaller screens of mobile phones and PDAs.</p>
<p>Waiting eagerly for the WIndows Mobile version of Fennec &#8230;</p>
<img src="http://www.shekhargovindarajan.com/?ak_action=api_record_view&id=392&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://www.shekhargovindarajan.com/open-source/fennec-firefox-for-mobiles/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Run Google Chrome on Linux &#8211; The easy way</title>
		<link>http://www.shekhargovindarajan.com/google/run-google-chrome-on-linux-the-easy-way/?&#038;owa_medium=feed&#038;owa_sid=&#038;utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=run-google-chrome-on-linux-the-easy-way</link>
		<comments>http://www.shekhargovindarajan.com/google/run-google-chrome-on-linux-the-easy-way/#comments</comments>
		<pubDate>Thu, 18 Sep 2008 08:17:14 +0000</pubDate>
		<dc:creator>Shekhar</dc:creator>
				<category><![CDATA[Google]]></category>
		<category><![CDATA[chrome]]></category>
		<category><![CDATA[chromium]]></category>
		<category><![CDATA[crossover]]></category>
		<category><![CDATA[crossover chromium]]></category>
		<category><![CDATA[download site]]></category>
		<category><![CDATA[Fedora]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Mandriva]]></category>
		<category><![CDATA[Microsoft Windows]]></category>
		<category><![CDATA[SuSe]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[web browser]]></category>
		<category><![CDATA[windows emulator]]></category>
		<category><![CDATA[wine]]></category>
		<category><![CDATA[Yahoo!]]></category>

		<guid isPermaLink="false">http://www.shekhargovindarajan.com/?p=342</guid>
		<description><![CDATA[As per my earlier blog post, Chrome (Google&#8217;s home grown web browser) is not available for Linux. Its release status for Linux, as stated at Google Chrome&#8217;s download site is &#8211; &#8220;Google Chrome for Linux is in development and a team of engineers is working hard to bring it to you as soon as possible.&#8221; [...]]]></description>
			<content:encoded><![CDATA[<p>As per my <a href="http://www.shekhargovindarajan.com/google/chrome-the-google-web-browser/" target="_self">earlier blog post</a>, Chrome (Google&#8217;s home grown web browser) is not available for Linux. Its release status for Linux, as stated at Google Chrome&#8217;s download site is &#8211; &#8220;Google Chrome for Linux is in development and a team of engineers is working hard to bring it to you as soon as possible.&#8221; But seems Linux had not to wait!.</p>
<p><span id="more-342"></span></p>
<p>With <a href="http://www.winehq.org/" target="_blank">Wine</a> ( a Windows emulator for Linux), one can run Chrome on Linux. Several HOWTOs started floating around which required upgrading or downloading/installing specific version of Wine. While I was about to get carried away by one of these, <a href="http://www.codeweavers.com/services/ports/chromium/">CrossOver Chromium</a> made its debut yesterday.</p>
<p>The <a href="http://www.codeweavers.com/services/ports/chromium/">download</a> page offers Crossover Chromium for various flavors of Linux which includes Ubuntu, SuSe, RedHat and Mandriva.</p>
<p>I&#8217;m running <a href="http://fedoraproject.org/" target="_self">Fedora 9</a> on my laptop. Since Fedora is based on RedHat (actually vice versa), I opted to download the CrossOver Chromuim for RedHat from <a href="http://media.codeweavers.com/pub/crossover/chromium/cxchromium-0.9.0-1.i386.rpm">here</a>. It was an RPM (Linux installer) which installed like a charm.</p>
<p>On Fedora&#8217;s Gnome desktop, a menu item (Application&gt;CrossOver Chromium&gt;Chromium) got created. Clicking on it launched Google Chrome! Though it took some time (about 10 seconds) to launch.</p>
<div id="attachment_344" class="wp-caption alignnone" style="width: 310px"><a href="http://www.shekhargovindarajan.com/wp-content/uploads/2008/09/chrome-on-linux.jpg"><img class="size-medium wp-image-344" title="chrome-on-linux" src="http://www.shekhargovindarajan.com/wp-content/uploads/2008/09/chrome-on-linux-300x187.jpg" alt="Chrome running on Linux desktop (Fedora 9)" width="300" height="187" /></a><p class="wp-caption-text">Chrome running on Linux desktop (Fedora 9)</p></div>
<p>Note:</p>
<ul>
<li>With desktop effects enabled, I was not able to maximize the Chrome window. Disabling the desktop effects (System&gt;Preferences&gt;Look and Feel&gt;Desktop Effects) worked.</li>
<li>It did not render my blog well. The top portion was screwed up. Chrome on Windows renders my blog well. Even while browsing Yahoo.com, it did not show the advertisement on the top and the Yahoo logo was cut off form the top. Bottom line: some very peculiar issue in rendering.</li>
<li>Create application shortcut (Control the current page (icon)&gt;Create application shortcuts) did not work &#8211; i.e. it did not create a shortcut on the GNOME desktop.</li>
</ul>
<p>Crossover clearly states that Crossover Chromium is a proof of concept. Hence use it for a light weighted test drive of Chrome on Linux.</p>
<img src="http://www.shekhargovindarajan.com/?ak_action=api_record_view&id=342&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://www.shekhargovindarajan.com/google/run-google-chrome-on-linux-the-easy-way/feed/</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
		<item>
		<title>Slice out my latest post</title>
		<link>http://www.shekhargovindarajan.com/microsoft/slice-out-my-latest-post/?&#038;owa_medium=feed&#038;owa_sid=&#038;utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=slice-out-my-latest-post</link>
		<comments>http://www.shekhargovindarajan.com/microsoft/slice-out-my-latest-post/#comments</comments>
		<pubDate>Sun, 14 Sep 2008 21:44:08 +0000</pubDate>
		<dc:creator>Shekhar</dc:creator>
				<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[beta 2]]></category>
		<category><![CDATA[Favorites bar]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[firefox 3]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[ie]]></category>
		<category><![CDATA[ie 8]]></category>
		<category><![CDATA[internet explorer]]></category>
		<category><![CDATA[internet explorer 8]]></category>
		<category><![CDATA[respective web sites]]></category>
		<category><![CDATA[syndicate]]></category>
		<category><![CDATA[syndication]]></category>
		<category><![CDATA[web browser]]></category>
		<category><![CDATA[web content]]></category>
		<category><![CDATA[web slice]]></category>
		<category><![CDATA[Web Slice Block]]></category>
		<category><![CDATA[Web Slice Body/Content]]></category>
		<category><![CDATA[Web Slice bookmark]]></category>
		<category><![CDATA[Web Slice preview]]></category>
		<category><![CDATA[Web Slice preview window]]></category>
		<category><![CDATA[Web Slice Title]]></category>
		<category><![CDATA[web slices]]></category>
		<category><![CDATA[webchunks]]></category>

		<guid isPermaLink="false">http://www.shekhargovindarajan.com/?p=296</guid>
		<description><![CDATA[The second beta of the upcoming version  of Microsoft&#8217;s Internet Explorer (IE 8 ) web browser was released last month. One of the touted features of IE 8 is Web Slices. Many of us cut out articles from the newspapers if we find them interesting. Think of Web Slices to be cuttings from Web sites. [...]]]></description>
			<content:encoded><![CDATA[<p>The second beta of the upcoming version  of Microsoft&#8217;s Internet Explorer (IE 8 ) web browser was released last month. One of the touted features of IE 8 is <strong>Web Slices</strong>.</p>
<p>Many of us cut out articles from the newspapers if we find them interesting. Think of Web Slices to be cuttings from Web sites. But with a difference. If these cuttings (web content) are updated on the respective web sites, you will be notified, as well as your cuttings will be updated. Technically, you &#8220;subscribe to a Web Slice&#8221;, instead of saying cutting it off which may offend the webmasters <img src='http://www.shekhargovindarajan.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<p>The latest post on my Blog is Web Slice enabled (or say, it is a Web Slice). In fact, it is Web Slice enabled since some time. Perhaps, some of you (who are using IE 8 ) would have noticed it.</p>
<p><span id="more-296"></span></p>
<p>Other web sites which are Web Slice enabled are digg.com, ebay.com, facebook.com, msn.com etc.</p>
<p><strong>How to subscribe to a Web Slice</strong></p>
<p>To slice out the latest post or to subscribe to the latest post on my blog:</p>
<ul>
<li>Download and install IE 8 from <a href="http://www.microsoft.com/windows/internet-explorer/beta/default.aspx" target="_blank">http://www.microsoft.com/windows/internet-explorer/beta/default.aspx</a></li>
<li>Once installed, browse to my blog at <a href="http://www.shekhargovindarajan.com/" target="_blank">http://www.shekhargovindarajan.com</a>.</li>
<li>Wait for the site to load up completely.</li>
<li>Once loaded you will notice, the &#8220;Subscribe to Web Slices&#8221; icon (the second icon, after the home icon on the top right) turns green as shown in the screenshot below:</li>
</ul>
<div id="attachment_301" class="wp-caption alignnone" style="width: 310px"><a href="http://www.shekhargovindarajan.com/wp-content/uploads/2008/09/subscribe_to_web_slices.png"><img class="size-medium wp-image-301" title="subscribe_to_web_slices" src="http://www.shekhargovindarajan.com/wp-content/uploads/2008/09/subscribe_to_web_slices-300x187.png" alt="A green icon indicates Web Slice(s) on the page" width="300" height="187" /></a><p class="wp-caption-text">A green icon indicates Web Slice(s) on the page</p></div>
<ul>
<li>Clicking on the green icon, will show you a dialog box which prompts you to add the Web Slice. Clicking the Add button, on the dialog, will place a bookmark on the Favorites bar.</li>
<li>Alternatively, if you move your mouse over the latest post, you will see a green border around the latest post, and a green icon on the left, as shown below:</li>
</ul>
<div id="attachment_308" class="wp-caption alignnone" style="width: 310px"><a href="http://www.shekhargovindarajan.com/wp-content/uploads/2008/09/subscribe_to_web_slices_2.png"><img class="size-medium wp-image-308" title="subscribe_to_web_slices_2" src="http://www.shekhargovindarajan.com/wp-content/uploads/2008/09/subscribe_to_web_slices_2-300x187.png" alt="Move the mouse over the latest post to subscribe to the Web Slice" width="300" height="187" /></a><p class="wp-caption-text">Move the mouse over the latest post to subscribe to the Web Slice</p></div>
<ul>
<li>By clicking on the green icon you can subscribe to the Web Slice.</li>
<li>Clicking on this bookmark will show you the preview of the Web Slice (the content of my latest blog post), as shown in the screenshot below:</li>
</ul>
<div id="attachment_309" class="wp-caption alignnone" style="width: 310px"><a href="http://www.shekhargovindarajan.com/wp-content/uploads/2008/09/web_slice_preview.png"><img class="size-medium wp-image-309" title="web_slice_preview" src="http://www.shekhargovindarajan.com/wp-content/uploads/2008/09/web_slice_preview-300x187.png" alt="Web Slice Preview" width="300" height="187" /></a><p class="wp-caption-text">Web Slice Preview</p></div>
<ul>
<li>Clicking on the arrow (-&gt;) icon on the preview window will take you to the full blog post.</li>
</ul>
<p><strong>How does it work ?</strong></p>
<p>If I write a new blog post which, upon publish, becomes my latest post, the Web Slice bookmark on your IE will turn bold. By default, the Web Slice is checked for any updates once in a day. Upon an update, the Web Slice bookmark can turn bold or even play a sound.</p>
<p>Right click on the Web Slice bookmark. Click on &#8220;Bold on Update&#8221;. This will make the bookmark bold, upon an update.</p>
<p>To play and sound, right click on the bookmark and select Properties. Click on the Settings button under &#8220;Update Schedule&#8221;. Check the box labeled &#8220;Play a sound when a monitored feed or Web Slice is updated.</p>
<p>Notice the numerous other options in the Properties window. Note that you can setup when to check the Web Slice for updates &#8211; which is by default set to 1 day.</p>
<p><strong>How to enable Web Slice on your site</strong></p>
<p>Refer to the URL <a href="http://msdn.microsoft.com/en-us/library/cc848871(VS.85).aspx" target="_blank">http://msdn.microsoft.com/en-us/library/cc848871(VS.85).aspx</a>. Read the section titled &#8220;Creating Web Slices&#8221;.</p>
<p>The rules are:</p>
<ol>
<li><strong>The Web Slice Block:</strong> You should have a HTML tag (like a &lt;DIV&gt;) enclosing the content that you want to Web Slice enable. This &lt;DIV&gt; tag must have the CSS class name set to &#8220;hslice&#8221; and must have an id. If you view source (the HTML source) of this blog, you will notice: &lt;<span class="start-tag">div</span><span class="attribute-name"> id</span>=<span class="attribute-value">&#8220;latest_post&#8221; </span><span class="attribute-name">class</span>=<span class="attribute-value">&#8220;hslice&#8221;</span>&gt; <span class="comment">Note that this &lt;div&gt; has the class set to hslice and id set to latest_post. The id must be unique. That is, no other element or tag on the page must have the same id. If you search for latest_post in the source, you will not find any other element with the same id.</span></li>
<li><span class="comment"><strong>The Web Slice Title: </strong>The title of the Web Slice or the content should be enclosed within a tag with the classname as entry-title. On my blog, I have given this class name to the anchor (&lt;a&gt;) tag which encloses the title of the latest blog post.<br />
</span></li>
<li><span class="comment"><strong>The Web Slice Body/Content:</strong> The content should be enclosed within a tag whose classname is entry-content. </span><span class="comment">Earlier the content of the latest post was enclosed within a paragraph tag (&lt;p&gt;). But giving the &lt;p&gt; tag, the class name as entry-title did not show the preview of the Web Slice (as shown in one of the screenshots above). Changing the &lt;p&gt; tag to a &lt;span&gt; tag showed the preview. Note that on my blog, the content of the latest post is either the full content (in some cases) or a part of the full content. In the latter case, clicking on continue reading shows you the full content. In the latter case, the Web Slice will be marked as updated only when I update the part of the content which shows in the latest post.<br />
</span></li>
</ol>
<p><span class="comment">To summarize, following is the markup structure of my latest blog post which is Web Slice enabled:</span></p>
<p>&lt;div id=&#8221;latest_post&#8221; class=&#8221;hslice&#8221;&gt;<br />
&#8212;<br />
&#8212;<br />
&lt;a class=&#8221;entry-title&#8221;  href=&#8221;&#8230;&#8221;&gt; the post title &lt;/a&gt;<br />
&#8212;<br />
&#8212;<br />
&lt;span class=&#8221;entry-content&#8221;&gt;<br />
the post content<br />
&lt;/span&gt;<br />
&#8212;<br />
&#8212;<br />
&lt;/div&gt;</p>
<p><strong>Issues with Web Slices</strong></p>
<p>Though Web Slices seem to be easy to implement, I thought of the following issues with them:</p>
<ol>
<li>For an existing site it may not be always straight forward to implement Web Slices if there are issues like &lt;p&gt; not working (as explained in point 3 in the above section). I would like to have no structure change to use Web Slices.</li>
<li>If you go through the link <a href="http://msdn.microsoft.com/en-us/library/cc848871(VS.85).aspx" target="_blank">http://msdn.microsoft.com/en-us/library/cc848871(VS.85).aspx</a>, you will notice a line which says &#8220;The Web Slice preview window will not always display content the exact same  way it appears on a Web page; some of the formatting is stripped away&#8221;. I could not find the documentation on what formatting is stripped away. I can see that, the Web Slice preview magically removes the continue reading, comments and category links (which are at the bottom of the latest post). And it magically redirects to the full post, when clicking on the -&gt; (arrow) on the preview button. How come, it is detecting the first link as a useful link and discarding other links. I like magic but would like to read the documented logic behind it.</li>
<li>Web Slice only works with IE 8, officially (read &#8220;Web Slices with Firefox&#8221; below). Perhaps, <a href="http://en.wikipedia.org/wiki/RSS_(file_format)" target="_blank">RSS</a> still remains the cross browser standard which works well to notify about updates.</li>
</ol>
<p><strong>Web Slices with Firefox</strong></p>
<p>With Firefox 3 and a plugin called Webchunks, you can use Web Slices in Firefox! It is very similar to using it in IE. First install the plugin from the following link <a href="http://disruptive-innovations.com/zoo/webchunks/webchunks-0.30.xpi" target="_blank">http://disruptive-innovations.com/zoo/webchunks/webchunks-0.30.xpi</a>. This is the direct link to the plugin. So launch it in Firefox 3.Once installed, it will ask for a Firefox restart. After restart, if you navigate back to my blog (or any other Web Slice enabled) site, you can subscribe to the Web Slices in a very similar way as shown in the screenshots below:</p>
<div id="attachment_323" class="wp-caption alignnone" style="width: 310px"><a href="http://www.shekhargovindarajan.com/wp-content/uploads/2008/09/firefox_subscribe_to_web_slices.jpeg"><img class="size-medium wp-image-323" title="firefox_subscribe_to_web_slices" src="http://www.shekhargovindarajan.com/wp-content/uploads/2008/09/firefox_subscribe_to_web_slices-300x187.jpg" alt="Clicking on the blue icon (on the left) will allow you to subscribe to a Web Slice (if any) on the page" width="300" height="187" /></a><p class="wp-caption-text">Clicking on the blue icon (on the left) will allow you to subscribe to a Web Slice (if any) on the page</p></div>
<div id="attachment_324" class="wp-caption alignnone" style="width: 310px"><a href="http://www.shekhargovindarajan.com/wp-content/uploads/2008/09/firefox_subscribe_to_web_slices-2.png"><img class="size-medium wp-image-324" title="firefox_subscribe_to_web_slices-2" src="http://www.shekhargovindarajan.com/wp-content/uploads/2008/09/firefox_subscribe_to_web_slices-2-300x187.png" alt="You can also subscribe to a Web Slice by moving the mouse over the content" width="300" height="187" /></a><p class="wp-caption-text">You can also subscribe to a Web Slice by moving the mouse over the content, as in IE 8</p></div>
<div id="attachment_325" class="wp-caption alignnone" style="width: 310px"><a href="http://www.shekhargovindarajan.com/wp-content/uploads/2008/09/firefox_web_slice_preview.jpeg"><img class="size-medium wp-image-325" title="firefox_web_slice_preview" src="http://www.shekhargovindarajan.com/wp-content/uploads/2008/09/firefox_web_slice_preview-300x187.jpg" alt="The Web Slice preview in Firefox 3" width="300" height="187" /></a><p class="wp-caption-text">The Web Slice preview in Firefox 3</p></div>
<p>To sum up, I do like the visual slicing out (e.g. by moving the mouse over on the latest post) of content from the web pages. It is like I&#8217;m indeed cutting and taking off something from the website <img src='http://www.shekhargovindarajan.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p><strong>Update:</strong></p>
<p>&#8220;And it magically redirects to the full post, when clicking on the -&gt; (arrow) on the preview button. How come, it is detecting the first link as a useful link and discarding other links. I like magic but would like to read the documented logic behind it.&#8221;</p>
<p>Found the logic behind this one. It follows the link (&lt;a&gt;) which has rel=&#8221;bookmark&#8221;. My latest blog post has two links (the title link and the continue reading link) whose rel=&#8221;bookmark&#8221;. Both of them point to the full post. So Web Slices is picking up one of them, either the first one or the last one. </p>
<img src="http://www.shekhargovindarajan.com/?ak_action=api_record_view&id=296&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://www.shekhargovindarajan.com/microsoft/slice-out-my-latest-post/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Chrome &#8211; The Google Web Browser</title>
		<link>http://www.shekhargovindarajan.com/google/chrome-the-google-web-browser/?&#038;owa_medium=feed&#038;owa_sid=&#038;utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=chrome-the-google-web-browser</link>
		<comments>http://www.shekhargovindarajan.com/google/chrome-the-google-web-browser/#comments</comments>
		<pubDate>Tue, 02 Sep 2008 19:33:35 +0000</pubDate>
		<dc:creator>Shekhar</dc:creator>
				<category><![CDATA[Google]]></category>
		<category><![CDATA[Administrator]]></category>
		<category><![CDATA[beta applications]]></category>
		<category><![CDATA[chrome]]></category>
		<category><![CDATA[chrome launched]]></category>
		<category><![CDATA[Chrome's installation]]></category>
		<category><![CDATA[detective]]></category>
		<category><![CDATA[download chrome]]></category>
		<category><![CDATA[Easy installation]]></category>
		<category><![CDATA[Fedora]]></category>
		<category><![CDATA[india]]></category>
		<category><![CDATA[Installation of Flash]]></category>
		<category><![CDATA[internet explorer]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[login site]]></category>
		<category><![CDATA[Microsoft Vista]]></category>
		<category><![CDATA[Microsoft Windows]]></category>
		<category><![CDATA[Multiple Document Interface]]></category>
		<category><![CDATA[operating system]]></category>
		<category><![CDATA[Plugins     Installation of Flash]]></category>
		<category><![CDATA[Quick Notes        Installation]]></category>
		<category><![CDATA[real estate]]></category>
		<category><![CDATA[SP2]]></category>
		<category><![CDATA[Trying]]></category>
		<category><![CDATA[United States]]></category>
		<category><![CDATA[virtual machine]]></category>
		<category><![CDATA[Virtual PC]]></category>
		<category><![CDATA[web browser]]></category>
		<category><![CDATA[Win XP]]></category>
		<category><![CDATA[Windows NT]]></category>
		<category><![CDATA[www.silverlight.net]]></category>
		<category><![CDATA[Yahoo!]]></category>

		<guid isPermaLink="false">http://www.shekhargovindarajan.com/?p=225</guid>
		<description><![CDATA[Pros (so far) Easy installation Sleek top menu bars give more real estate to the web pages Shows thumbnails of most visited pages as the default page Less configuration options Robust Incognito window (porn mode) Cons (so far) Not available for Linux No built-in RSS reader Limited configuration options MS Silverlight based applications do not [...]]]></description>
			<content:encoded><![CDATA[<div style="text-align:left;background-color:#DCDCDC;padding:5px;border: dotted 1px #000000"><strong>Pros (so far)</strong></p>
<ol>
<li>Easy installation</li>
<li>Sleek top menu bars give more real estate to the web pages</li>
<li>Shows thumbnails of most visited pages as the default page</li>
<li>Less configuration options</li>
<li>Robust Incognito window (porn mode)</li>
</ol>
<p><strong>Cons (so far)</strong></p>
<ol>
<li>Not available for Linux</li>
<li>No built-in RSS reader</li>
<li>Limited configuration options</li>
<li>MS Silverlight based applications do not work</li>
<li>Cannot leverage the plethora of Firefox plugins</li>
</ol>
</div>
<p>After lots of news and attention since yesterday, Google&#8217;s very own web browser called Chrome is finally available for download now, but only for Windows.</p>
<p>To start with, since I&#8217;m on Linux (Fedora 9), the download page <a href="http://www.google.com/chrome" target="_blank">http://www.google.com/chrome</a>, did not show me a download link but instead prompted me to subscribe (with my E-mail) to get alerted when Chrome is available for Linux.</p>
<p><span id="more-225"></span></p>
<p>I subscribed to the alert and then quickly launched Win XP SP2 in <a href="http://www.virtualbox.org" target="_blank">VirtualBox</a> (a VMWare or Virtual PC like virtual machine) from my Fedora 9 laptop. Went to the download page and, this time, was greeted by a download link for WinXP/Vista. Downloaded the installer (about 400KB in size). The installer when run, in turn, downloaded the browser (took about 3-4 minutes on a 2Mbps link). Following is the first look of Chrome when it got launched (automatically) after the installation:</p>
<div id="attachment_249" class="wp-caption alignnone" style="width: 310px"><a href="http://www.shekhargovindarajan.com/wp-content/uploads/2008/09/first-launch.jpeg"><img class="size-medium wp-image-249" title="first-launch" src="http://www.shekhargovindarajan.com/wp-content/uploads/2008/09/first-launch-300x226.jpg" alt="The first launch" width="300" height="226" /></a><p class="wp-caption-text">The first launch</p></div>
<p>I should have been in the first or in one the first batches of people to download (started downloading @ 00:55 hrs IST) and run Chrome. I was regularly hitting the site when suddenly the Chrome&#8217;s page (earlier was a 404 message page) showed up <img src='http://www.shekhargovindarajan.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />   <strong>Writing this line from within Chrome <img src='http://www.shekhargovindarajan.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> . Will explore and write more about this new kid in town. So do visit back!</strong> Okay, Im continuing to write about it now:</p>
<p><strong>Quick Notes</strong></p>
<ul>
<li><strong>Installation, no questions asked: </strong>During Chrome&#8217;s installation, no questions were asked on where to install, what to install, what to import and what not to. The only prompt I got was when Chrome could not import Firefox&#8217;s bookmarks because Firefox was open. It imported Internet Explorer 6&#8242;s and Firefox 3&#8242;s bookmarks.</li>
<li><strong>No &#8220;default browser&#8221; nagging: </strong>Thankfully (very thankfully indeed) Chrome does not nag to make it a default browser, not even once. If you indeed want to make it the default, you can click on the &#8220;Customize and control Google Chrome&#8221; icon on the top right and then click on Options. There you will find a button to make it the default.</li>
<li><strong>Tabs are Windows:</strong>Chrome, as a norm these days, has tabbed browsing. But what is interesting is the location bar, back, forward buttons, bookmarks, tools/options menu and everything else is below (or inside the tab), as oppose to being above or outside the tab. The latter is what we see in IE and Firefox. This gave the impression that the tabs are like independent but &#8220;placed together&#8221; windows. It is a kinda  <a href="http://en.wikipedia.org/wiki/Multiple_document_interface" target="_blank">MDI</a> (Multiple Document Interface  application.</li>
<li><strong>Non intrusive &#8220;remember password&#8221; prompt</strong>: To continue writing this post from Chrome, I logged into my Blog and Chrome displayed the remember password prompt on the top without stopping the loading of the blog admin page (the page after login). That is, it did not pop-up a box saying &#8220;do you want to remember the password or not&#8221; and did not wait for me to say yes or no to continue loading the admin page. This feature is already showcased by and present in Firefox 3.</li>
<li><strong>A Beta with an uninstaller: </strong>It was glad to see the beta with an uninstaller. Sometimes beta applications do not ship with an uninstaller but Chrome does. Though I&#8217;m in no mood to execute the uninstaller <img src='http://www.shekhargovindarajan.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </li>
<li><strong>Installation Location and size:</strong> No, Chrome does not install in Program Files. It installs in C:\Documents and Settings\&lt;user&gt;\Local Settings\Application Data\Google\Chrome, where &lt;user&gt; is the Windows login name of the user who is installing the application. This means that Chrome installed by one user will not be available to any other user of that system. I think this is rather a thought of location for a beta application. Perhaps the final version will install in Program FIles(by Administrator) and be available to all users. The installation size (basically the size of the folder) was about 46MB! I&#8217;m assuming that it did not install files elsewhere.</li>
<li><strong>Placement in quick launch menu:</strong> This is an interesting one. Chrome&#8217;s shortcut was placed on the quick launch bar &#8211; the first icon from the Start Menu. As far as I remember new shortcuts are placed towards the end of the quick launch menu (unless you move it) <img src='http://www.shekhargovindarajan.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> . Hmm has Google done some trick here ? As said above, I installed Chrome on WinXP SP2</li>
<li><strong>Built-in Spell Check: </strong>Chrome has built-in spell checker, just like Firefox. The spell checker underlines (in red) any misspellings in the typed in text in textareas (rectangular text boxes) on any webpage.</li>
<li><strong>NO RSS ???: </strong>Chrome could not detect RSS feeds in websites. Forget that, it could not even display RSS feeds in a formatted way like IE 7 or Firefox 3. It just throws the entire, unformatted text between the RSS tags. There should be a good enough reason for this. I can only think of its beta status.</li>
</ul>
<p>So after writing this much (as above) I went to sleep (@ 05:00 hrs IST) so that I can browse with Chrome on a fresh new day.</p>
<p>Started my day at around 11:00 IST and started browsing through Chrome while in bed. Now sitting at my office and what I saw and seeing, is what I&#8217;m writing:</p>
<p><strong>Chrome&#8217;s default page</strong></p>
<p>The default page, when Chome is launched or a new tab/window is opened, is now changed to look as follows:</p>
<div id="attachment_260" class="wp-caption alignnone" style="width: 310px"><a href="http://www.shekhargovindarajan.com/wp-content/uploads/2008/09/homepage.jpg"><img class="size-medium wp-image-260" title="homepage" src="http://www.shekhargovindarajan.com/wp-content/uploads/2008/09/homepage-300x187.jpg" alt="Default page after some browsing" width="300" height="187" /></a><p class="wp-caption-text">Default page after some browsing</p></div>
<p>That is, the default page changed to show me the most visited sites using Chrome. Visiting my favouite website is just one click away! Makes all the sense. One may tend to visit his favourite/most visted site when he launches the browser.</p>
<p>But the issue is, if I want to avoid one or more of my &#8220;most visited&#8221; site from showing up, I can&#8217;t. The only option is to delete the entire browsing history. Take this scenario as an example. I&#8217;m amy be giving a presentation, I launch Chrome and everyone sees a porn site as one of my most visited sites on the projector&#8217;s screen <img src='http://www.shekhargovindarajan.com/wp-includes/images/smilies/icon_sad.gif' alt=':-(' class='wp-smiley' /> . I would like to delete just the porn site from the most visited list. While there is a way to avoid the recording of  browsing history (which I will write about a little later), but on a day to day basis one may forget to use it.</p>
<p>Coming back, so the default page is the recently visited sites. But there is an option in the &#8220;Customize and control Google Chrome&#8221; menu (lets call it the Tools menu hereafter), to enter the URL and make a webpage as default. You can find this at Tools&gt;Options&gt;Basics (tab)&gt;Home Page&gt;Open this page. This webpage then shows up when you launch or re-launch Chrome. But when you open a new tab or window, Chrome still shows the most visited sites. But if you check the checkbox which says &#8220;Show home button on the toolbar&#8221;. This shows a Home button (like in Firefox). Clicking on this button will open the default page that you have set.</p>
<p>Next as a developer, I thought occured to me. What about all those links on websites which say &#8220;make this site your default page&#8221;. Will they work ? Went to in.yahoo.com which has the link (on top left) to &#8220;Make Yahoo! India your homepage&#8221;. Clicking on this link showed!:</p>
<div id="attachment_261" class="wp-caption alignnone" style="width: 310px"><a href="http://www.shekhargovindarajan.com/wp-content/uploads/2008/09/make_home_page.jpg"><img class="size-medium wp-image-261" title="make_home_page" src="http://www.shekhargovindarajan.com/wp-content/uploads/2008/09/make_home_page-300x187.jpg" alt="When I clicked to make Yahoo my home page" width="300" height="187" /></a><p class="wp-caption-text">When I clicked to make Yahoo my home page</p></div>
<p>Instructions for Firefox!. It asked me to drag the link to the home button &#8211; but the Chrome&#8217;s Home button did not accept a drop of a link. This brings us to two questions:</p>
<ol>
<li>Is a JavaScript function or some other method required for Chrome to make a website the default page ?</li>
<li>Why is Yahoo detecting Chrome as Firefox ?</li>
</ol>
<p>Answering the first question, I feel it is not required. It makes sense that your most visited pages compose your default page.This means the websites should detect out Chrome and hide such links to set the default page.</p>
<p>And Yahoo is detecting Chrome as Firefox because Chrome identifies itself (via the useragent string) as a Mozilla browser. Following is the useragent string for Chrome:  <em></em></p>
<p><em>&#8220;Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/525.13 (KHTML, like Gecko) Chrome/0.2.149.27 Safari/525.13&#8243; </em></p>
<p><strong>Plugins</strong></p>
<p>Installation of Flash plugin is easy and does not require a manual downloading. Once installed, for the first time, the page which demanded Flash plugin automatically refreshes to show the Flash objects or movies</p>
<p>Trying to browse some Silverlight apps at www.silverlight.net prompted to download and install the SilverLight plugin. The plugin installation refused to install at the first go saying that the browser or the operating system (Win XP in my case) may be incompatible. Manually clicking on, to download the Windows version, installed SilverLight 2.0 Beta 2. Henceforth, upon trying to browse SilverLight applications, showed some glimpse of the SilverLight 1.0 and 2.0 applications which were very slow and unresponsive. To summarize MS SilverLight does not seem to work with Chrome. But there should have been a clear alert by Chrome stating the same, rather than users expecting for something to happen, after seeing a glimpse of something happening and waiting for it to happen (forever).</p>
<p>Also just, indeed just, tried my luck by trying to install a Firefox addon (namely Sage-Too) but didn&#8217;t work. No complains though, after all Chrome is not based on the <a href="http://en.wikipedia.org/wiki/Gecko_(layout_engine)">Gecko</a> engine (which Firefox uses). Chrome uses <a href="http://webkit.org">WebKit</a></p>
<p>For Java applets, if you have installed <a href="http://www.java.com/en/download/">Java Runtime Environment</a> on Windows, Chrome shows the applets.</p>
<p><strong>Porn mode a.k.a. Incognito<br />
</strong></p>
<p>Like IE 8&#8242;s (Internet Explorer 8)  in-private browsing (also popular as Porn mode), Chrome features Incognito window. It can be launched from the &#8220;Control the current page&#8221;&gt;New incognito window menu (the icon before the Tools icon).</p>
<div id="attachment_285" class="wp-caption alignnone" style="width: 310px"><a href="http://www.shekhargovindarajan.com/wp-content/uploads/2008/09/incognito.png"><img class="size-medium wp-image-285" title="incognito" src="http://www.shekhargovindarajan.com/wp-content/uploads/2008/09/incognito-300x187.png" alt="The Incognito WIndow" width="300" height="187" /></a><p class="wp-caption-text">The Incognito WIndow</p></div>
<p>It launches a distinct window with an detective wearing goggles icon on the top right &#8211; giving you a go ahead to do something goofy. As you can read in the Incognito window, this window will delete any cookies or browsing history. It still stores cookies while you are browsing. So this means it will not hamper a continuous browsing session if Cookies play a role (if any) in it. That is: your browsing experience will be as usual as before. But features like &#8220;remember me&#8221; against login boxes on websites will be useless because &#8216;remember me&#8221; typically remembers your login and password via Cookies. But these Cookies are destroyed when you close the Incognito window.</p>
<p>Since Chrome claimed that the Cookies etc. gets destroyed when the Incognito window is closed, I tried to trick it as follows. I launched the Incognito window and browsed to a site with login and remember me. Checked &#8220;remember me&#8221; and then logged in. So at this point, the Cookie would have got stored on the hard disk. Next instead of closing the Incognito window, I just closed my virtual machine, simulating an abnormal shutdown. When I booted in back, and went to the login site in the Incognito window, it did not fill up the username and password. So i could not trick the Incognito window <img src='http://www.shekhargovindarajan.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> . Chrome must be performaing a clean up on start up too.</p>
<p>The interesting bit is, in the Incognito window, the URLs get auto completed with the URLs you have typed in the non-Incognito window. But if you have used, for example, the remember me on a Website, the password is still not remembered in the Incognito window. So it is kinda, while the Incognito window can pick up the browsing history from the normal window, it does not pick up the Cookies. Is this an unconscious miss out or a deliberate distinction ?</p>
<p>&#8211;Will continue to write more, watch out!&#8212;-</p>
<img src="http://www.shekhargovindarajan.com/?ak_action=api_record_view&id=225&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://www.shekhargovindarajan.com/google/chrome-the-google-web-browser/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Mobile friendly Websites with Google</title>
		<link>http://www.shekhargovindarajan.com/google/mobile-friendly-sites-with-google/?&#038;owa_medium=feed&#038;owa_sid=&#038;utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=mobile-friendly-sites-with-google</link>
		<comments>http://www.shekhargovindarajan.com/google/mobile-friendly-sites-with-google/#comments</comments>
		<pubDate>Fri, 15 Aug 2008 09:30:42 +0000</pubDate>
		<dc:creator>Shekhar</dc:creator>
				<category><![CDATA[Google]]></category>
		<category><![CDATA[cellular telephone]]></category>
		<category><![CDATA[google mobile]]></category>
		<category><![CDATA[google mobile proxy]]></category>
		<category><![CDATA[mobile optimized]]></category>
		<category><![CDATA[PDA]]></category>
		<category><![CDATA[text only version]]></category>
		<category><![CDATA[web browser]]></category>
		<category><![CDATA[www.foo.com]]></category>

		<guid isPermaLink="false">http://www.shekhargovindarajan.com/?p=95</guid>
		<description><![CDATA[While browsing the Web on your mobile phone/PDA, you will come across many web sites which are not readable, do not fit in your mobile screen or are graphic intensive. Following is a quick and Google way to see a mobile optimized view of any Website: Using the Web browser in your mobile device, goto [...]]]></description>
			<content:encoded><![CDATA[<p>While browsing the Web on your mobile phone/PDA, you will come across many web sites which are not readable, do not fit in your mobile screen or are graphic intensive. Following is a quick and Google way to see a mobile optimized view of any Website:</p>
<p><span id="more-95"></span></p>
<ol>
<li>Using the Web browser in your mobile device, goto the URL <a href="http://www.google.com/gwt/n" target="_blank">http://www.google.com/gwt/n</a></li>
<li>In the text box, key in the URL of the website, that you want to visit.</li>
<li>Optionally, check the box &#8220;No Images&#8221; if you do not want to see/download images on the website.</li>
<li>Click on Go.</li>
<li>And you would see, a rather clean, only vertically scrolling, website.</li>
<li>Henceforth, you would like to make http://www.google.com/gwt/n the default page of your mobile&#8217;s Web browser.<a href="http://www.google.com/gwt/n" target="_blank"><br />
</a></li>
</ol>
<p><strong>Note:</strong></p>
<ol>
<li>Once you visit a site using the above method, and further, click on links on the site, the resulting pages will also be mobile optimized. (technically: all links in the site are rewritten to redirect through this URL i.e. http://www.google.com/gwt/n)</li>
<li>The images are actually stripped off (and not simply hidden), if you select &#8220;No Images&#8221;.</li>
<li>The mobile optimized markup has all whitespaces and newlines removed. This means a much smaller page and hence faster download on your mobile.</li>
</ol>
<p>Webmasters may provide a link on their Website(s) to the mobile friendly version. For example: for www.foo.com the link will be: http://www.google.com/gwt/n?u=http%3A%2F%2F<em><strong>www.foo.com</strong></em></p>
<p><strong>Screenshots:</strong></p>

<a href='http://www.shekhargovindarajan.com/google/mobile-friendly-sites-with-google/attachment/google_mobile/' title='google_mobile'><img width="150" height="150" src="http://www.shekhargovindarajan.com/wp-content/uploads/2008/08/google_mobile-150x150.jpg" class="attachment-thumbnail" alt="The home page to the mobile optimized websites" title="google_mobile" /></a>
<a href='http://www.shekhargovindarajan.com/google/mobile-friendly-sites-with-google/attachment/hindustantime_com/' title='hindustantime_com'><img width="150" height="150" src="http://www.shekhargovindarajan.com/wp-content/uploads/2008/08/hindustantime_com-150x150.jpg" class="attachment-thumbnail" alt="Mobile Optimized - www.hindustantimes.com" title="hindustantime_com" /></a>

<img src="http://www.shekhargovindarajan.com/?ak_action=api_record_view&id=95&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://www.shekhargovindarajan.com/google/mobile-friendly-sites-with-google/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>

