Here’s a handy tip for any Windows Sharepoint Services (WSS) aficionados out there… how to add a simple Blog web part into your team site.
Firstly, look at the top right of your WSS site – you should see a “Modify My Page” or “Modify Shared Page” link – click on the drop-down and you should be able to select ‘Add Web Parts’ then ‘Browse’. If you navigate to the end of the list of the team web site gallery, you should see the basic ‘XML Web Part’ which is part of the standard installation of WSS.
Drag & Drop the XML Web Part into one of your zones (the right one makes sense since it is typically narrower and used for links etc). Now, in the web part you’ve just dropped, click on the ‘open the tool pane’ link, and it will replace the list of parts at the right hand side with properties of the part you’ve just dropped.
Now you need to add the RSS feed URL for the Blog you’re interested in - http://blogs.msdn.com/exchange/Rss.aspx would be a good place to start – into the field under the ‘XML Link’ heading… this instructs the web part to fetch some raw XML which describes the content you’re ultimately going to be displaying. The next step is to add some XSL which will describe to the browser how to format the content being provided by the URL you’ve given already.
Click on the ‘XSL Editor’ and copy & paste the following XSL into the pane (don’t worry about the formatting).
<?xml version="1.0" encoding="UTF-8" ?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:value-of select="../link" />
<span style="color:navy; font-family:Tahoma; font-size:8pt; font-style:normal;">
<span style="font-family:Tahoma; font-size:8pt;font-style:italic;">
Now, all you need to do is go to Appearance and set a title for the web part… “You had me at EHLO!” for example. Now, you’re done – hit OK and you’ll go back to the main page; you should see the list of current posts and the date/time the post occurred. One thing which might catch you out is the fact that the WSS server may be behind a proxy – if so, you might see a timeout error on the XML Web Part. You may need to either install the Microsoft Firewall client or else edit the Web.config settings to tell the server which proxy to use – more details are in Q823375.