<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Imagine Think Create Share : IE8</title><link>http://blogs.msdn.com/carloshm/archive/tags/IE8/default.aspx</link><description>Tags: IE8</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>Web Slices and SharePoint</title><link>http://blogs.msdn.com/carloshm/archive/2009/04/19/web-slices-and-sharepoint.aspx</link><pubDate>Sun, 19 Apr 2009 23:36:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9555905</guid><dc:creator>carloshm</dc:creator><slash:comments>1</slash:comments><comments>http://blogs.msdn.com/carloshm/comments/9555905.aspx</comments><wfw:commentRss>http://blogs.msdn.com/carloshm/commentrss.aspx?PostID=9555905</wfw:commentRss><description>&lt;P&gt;Hola,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;Last week, I read in a DL a question about how to show something cool, provide value and without custom code. Well there are many scenarios in SharePoint that empower final users in order to do this.&lt;/P&gt;
&lt;P&gt;I instantly thought about WebSlices. As&amp;nbsp;a microformat you can "decorate" your markup and include fast and easy additional funcionality to yourself or your colleagues (or even your users! :)).&lt;/P&gt;
&lt;P&gt;What would I use to do it? Well I would start thinking in webparts that can be customized vis XSLT, or those that can render custom HTML. A quick list:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;RSS Viewer WebPart&lt;/LI&gt;
&lt;LI&gt;Core Search Results WebPart (any other search webpart)&lt;/LI&gt;
&lt;LI&gt;Content By Query WebPart&lt;/LI&gt;
&lt;LI&gt;Content Web Editor&lt;/LI&gt;&lt;/UL&gt;
&lt;P&gt;Which will you choose? it will depend on your requirements (performance, data scope, skills). Here I will show the minimal &lt;EM&gt;implementation. &lt;/EM&gt;From here you can build a custom page that leverage updates and notifications.&lt;/P&gt;
&lt;P&gt;One MOSS challenge ;), would be to create a service that centralized these results!&lt;/P&gt;
&lt;P&gt;I will use the federated results webpart, but configured to render synchronously.&lt;BR&gt;Why?, because as you will face with the RSS Viewer webpart, you can't notifiy the client after "document ready" and you should implement "&lt;A title="Alternate Display Source" href="http://msdn.microsoft.com/en-us/library/cc196992(VS.85).aspx#_refresh" mce_href="http://msdn.microsoft.com/en-us/library/cc196992(VS.85).aspx#_refresh"&gt;Alternative Display Source&lt;/A&gt;". I tried without it, and I faced some strange behaviour (sometimes the webslices icon appeared, but the Favorites Bar is not capable of showing the preview).&lt;/P&gt;
&lt;P&gt;So it is just as easy as following the steps described at &lt;A title="Subscribing to Content with Web Slices" href="http://msdn.microsoft.com/en-us/library/cc196992(VS.85).aspx" mce_href="http://msdn.microsoft.com/en-us/library/cc196992(VS.85).aspx"&gt;Subscribing to Content with Web Slices&lt;/A&gt;&amp;nbsp;and (for this example) change:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Fixed KeyWord Query to Office 2010 (or whatever you want)&lt;/LI&gt;
&lt;LI&gt;Customized Display Properties (number of results and length)&lt;/LI&gt;
&lt;LI&gt;Add in the XSL Editor the classes required (in &lt;STRONG&gt;bold&lt;/STRONG&gt;):&lt;/LI&gt;
&lt;UL&gt;
&lt;LI&gt;MainTemplate&lt;/LI&gt;
&lt;UL&gt;
&lt;LI&gt;&amp;lt;div class="&lt;STRONG&gt;hslice&lt;/STRONG&gt; ms-searchsummarymain" id="LiveResults"&amp;gt;&lt;/LI&gt;
&lt;LI&gt;&amp;lt;div class="&lt;STRONG&gt;entry-title&lt;/STRONG&gt; ms-searchChannelTitle"&amp;gt;&lt;/LI&gt;&lt;/UL&gt;
&lt;LI&gt;MainTemplate.body&lt;/LI&gt;
&lt;UL&gt;
&lt;LI&gt;&amp;lt;div class="&lt;STRONG&gt;entry-content&lt;/STRONG&gt; {$BodyClass}"&amp;gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;
&lt;P&gt;A picture is worth a thousand words:&lt;/P&gt;
&lt;P mce_keep="true"&gt;&lt;A href="http://blogs.msdn.com/photos/carloshm/picture9555890.aspx"&gt;&lt;IMG style="WIDTH: 425px; HEIGHT: 331px" title="Web Slices SharePoint" border=0 alt="Web Slices SharePoint" src="http://blogs.msdn.com/photos/carloshm/images/9555890/425x331.aspx" width=425 height=331 mce_src="http://blogs.msdn.com/photos/carloshm/images/9555890/425x331.aspx"&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Other scenarios?&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;People Search showing collegues.&lt;/LI&gt;
&lt;LI&gt;ChangeLog viewer&lt;/LI&gt;
&lt;LI&gt;TFS bugs/tasks assigned to you&lt;/LI&gt;
&lt;LI&gt;...&lt;/LI&gt;&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;Finally, if we add code into the requirements, I would like to test a more dynamic solution:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;A title="Control Adapters Web Slices" href="http://blogs.microsoft.co.il/blogs/dorong/archive/2009/01/18/web-slice-control-adapter-for-moss-2007.aspx" mce_href="http://blogs.microsoft.co.il/blogs/dorong/archive/2009/01/18/web-slice-control-adapter-for-moss-2007.aspx"&gt;Control Adapters&lt;/A&gt; to include all my webparts&lt;/LI&gt;
&lt;LI&gt;EndPoints to get updates and notifications&lt;/LI&gt;&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;Ciao!&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9555905" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/carloshm/archive/tags/SharePoint/default.aspx">SharePoint</category><category domain="http://blogs.msdn.com/carloshm/archive/tags/MOSS/default.aspx">MOSS</category><category domain="http://blogs.msdn.com/carloshm/archive/tags/IE8/default.aspx">IE8</category><category domain="http://blogs.msdn.com/carloshm/archive/tags/Web+Slices/default.aspx">Web Slices</category></item></channel></rss>