What is this blogpost about?
It is about a central peice of SPRSS, which is a community project that provides enhanced RSS functionality in SharePoint. More details on SPRSS.
This blogpost presents a short 5 min tutorial on how you can use CleanRSS.aspx.
What does CleanRSS.aspx do?
It does your dishes. Not quite. It pumps out clean manageable RSS out of any SharePoint list. As an example, consider the announcements list. Below is an image of the out of the box RSS produced:

Now, as a comparison, here is the RSS produced by CleanRSS.aspx --
Note any difference? Well, there are 2 differences -
a) CleanRSS.aspx actually splits out each column as it's own XML element. This minor difference is incredibly valuable, because now you can attach any XSLT stylesheet, and render the above announcements in any way/shape or form you want.
b) See that IsEditable? That is True if the logged in user can edit that particular list item. This lets you create Editable UI .... RIGHT on the rendering surface. w00t!
How do you use CleanRSS.aspx?
The tenet I followed was, keep it damn easy to cook up a URL using CleanRSS.aspx. There are 2 ways to use CleanRSS.aspx:
a) Leverage a View on a list:
Here are the steps:
- On ANY list, ANY view, click on Modify View, and choose the appropriate columns/sort order/filter/whatever you want!! You must include the "Title (linked to edit item)" column.
- Then on that list, copy paste the RSS URL as shown below:
- Now, change the URL from --
http://moss2007/_layouts/listfeed.aspx?List=51511bf8%2Da6ae%2D4a51%2Dbeb4%2Dc23f30309633&View=5edce7de%2D1dd1%2D42e0%2Da786%2Def1e5cf2f4ff
.. to ..
http://moss2007/_layouts/SPRSS/CleanRSS.aspx?List=51511bf8%2Da6ae%2D4a51%2Dbeb4%2Dc23f30309633&View=5edce7de%2D1dd1%2D42e0%2Da786%2Def1e5cf2f4ff
The change is shown in red bold.
Thats it .. test in a browser. This should produce Valid RSS.
- Note: Omitting a View .. will make CleanRSS.aspx target the default view.
b) Leverage a list item:
Sometimes, you will want to have 1 list, with a number of common peices of text .. a.k.a. ReusableText functionality in a publishing site .. only this time, across sites and even farms. In order to do so, you can extract RSS with a single item.. without having to create a View for it. How do you do it? Easy.
- As before, create a URL that looks like this -
http://moss2007/_layouts/SPRSS/CleanRSS.aspx?List=51511bf8%2Da6ae%2D4a51%2Dbeb4%2Dc23f30309633
- Now, add an additional Query string .. as shown below:
http://moss2007/_layouts/SPRSS/CleanRSS.aspx?List=51511bf8%2Da6ae%2D4a51%2Dbeb4%2Dc23f30309633&Title=Some Random Announcement
- Thats it :). Test in a browser, to make sure it works.