<?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; internet explorer 8</title>
	<atom:link href="http://www.shekhargovindarajan.com/tag/internet-explorer-8/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.shekhargovindarajan.com</link>
	<description>My Notepad on the Web</description>
	<lastBuildDate>Mon, 06 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>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>
	</channel>
</rss>

