Home Sign In

Steven Van de Craen's Blog

Bloggings about SharePoint, .NET and more.

MVP SharePoint Server

RSS Feed
  • Contact Me

Archives

July 2007 (19)
August 2007 (5)
April 2008 (4)
September 2007 (3)
November 2007 (12)
October 2007 (4)
December 2007 (8)
January 2008 (6)
February 2008 (3)
March 2008 (4)
June 2008 (1)

Categories

  • SharePoint 2003
  • SharePoint 2007
  • General
  • Office 2003
  • Office 2007
  • Excel Services
  • Dynamics NAV
  • SOAP
  • Search
  • Search Server 2008
  • .NET
  • CKS
  • IIS

Recent Posts

  • Working with the AssetUrlSelector
  • Rooms and Equipment Reservations v2 (UNOFFICIAL)
  • Being a SharePoint MVP...
  • New MVP on the block
  • Aggregating MySite Blogs

Other Blogs

//BLOG: naked programmer
JOPX
Jan Tielens' Bloggings [MVP]
Serge van den Oever [Macaw]
Carlos Segura Sanz
-->Patrick Tisseghem's Blog [MVP SharePoint] -->
Remco Ploeg's Blog
SharePoint Blogs
Romeo Pruno
[email protected]
Andrew Connell [MVP MOSS]
Mark Harrison
Pedro Serrano
Clemens Vasters and the Indigettes
Kevin Boske
SharePoint Team Blog
Brian Jones: Office XML Formats
Mart Muller's Sharepoint Weblog
Joel Oleson's SharePoint Land
Kris' blog
STSADM Custom Extensions
Microsoft Enterprise Search Blog
Michaël's coding thoughts
Chris O'Brien's blog
John Holliday's SharePoint Reflections
Koen's blog
PDT IT Services Blog Posts

Aggregating MySite Blogs

Introduction

I was recently tasked with writing a handler to display the combined RSS feed of all MySite blogs on a SharePoint Intranet.

The handler takes into account the current user permissions (no rights to see the blog or post means you don't see it in the feed).

Deployment

  • Add the SharePoint Solution (*.wsp) to the solution store

    C:\>stsadm -o addsolution -filename Vandest.SharePoint.MySiteBlogAggregator

  • Deploy the solution using Central Administration > Operations > Solution management
  • Open the web.config in 12/TEMPLATES/LAYOUTS/MySiteBlogAggregator and specify the MySite URL

Use

The handler can be accessed as follows: http://mysitehosturl/_layouts/mysiteblogaggregator/rss.ashx

I use the mysitehosturl because paths to images in blog posts are stored relative and they don't appear when you use http://intranet/_layouts/mysiteblogaggregator/rss.ashx (unless you have your MySites on that url of course).

Feel free to use or modify this code.

Downloads

  • Vandest.SharePoint.MySiteBlogAggregator.wsp
  • CODE

Requirements

  • Microsoft Office SharePoint Server 2007 Standard or Enterprise
 
Categories: .NET, SharePoint 2007

Trackback Url

 

Comments

Leave a comment

Name

Url

Email

Comments

CAPTCHA Image Validation

© 2007 Steven Van de Craen — Powered by Community Kit for SharePoint: Enhanced Blog Edition.