Using the XML Web Part to show your Twitter feed in SharePoint

I have put together a quick and dirty example of using the XML Web Part to display and style your Twitter RSS feed in a SharePoint page. 100% of the work is done in XSLT, all you have to do is:

  • Add an XML Web Part to your page:

 

twitter1 

  • Then for the XML Link add the RSS feed for your Twitter updates, the link for this can be found on the bottom right of your Twitter home page:

 

twitter3

 

  • Next, click the XSL Editor button and paste in the following XSLT code:

 


     version=”1.0″
     xmlns:xsl=”http://www.w3.org/1999/XSL/Transform”>
    
    

       
    

   

           

           

       

   

  • After you click OK and Apply your changes you should see your tweets styled in the XML Web Part:

 

twitter2

  • You can adjust the CSS in the XSLT to change the way the tweets look. Also, if this blows up your site, don’t say I didn’t warn you. I haven’t really tested it in production. Have fun!