Click here to Skip to main content
11,633,425 members (79,319 online)
Click here to Skip to main content

Microsoft Content Management Server Latest Postings RSS (C#)

, 17 May 2006 CPOL 31.1K 520 20
Rate this:
Please Sign up or sign in to vote.
An RSS feed to generate the latest postings for a Microsoft Content Management Server web site.


This is an RSS feed to generate the latest postings for a Microsoft Content Management Server web site.

A VB.NET version of the feed is available here.


  1. Update the title, link, and description fields in LatestPostingsRSS.ascx to fit your site.
  2. There are two properties in LatestPostingsRSS.ascx:
    • StartChannelPath: Shows new postings under this top channel path only.
    • NumDaysOfLatestNews: Shows new postings within the last n days.
  3. Create an ASPX page. Delete all the HTML tags. Insert LatestPostingsRSS.ascx. For example:
    <%@ Page ContentType="text/xml" %>
    <%@ Register TagPrefix="uc1" TagName="LatestPostingsRSS" 
                     Src="~/UserControls/LatestPostingsRSS.ascx" %>
    <uc1:LatestPostingsRSS id="LatestPostingsRSS" 
      NumDaysOfLatestNews="7" runat="server">


  1. The item description is fed from the posting Description field. You can modify it to use other posting properties like content from a common placeholder, for example.


  • V1.0 - 2004.08.07 - Base.
  • V1.1 - 2005.02.12 - Added option to restrict new postings under specific top channel. (Please note, the RSS page is now converted into a user control.)
  • V1.2 - 2006.05.14 - Added an ASP.NET 2.0 version.


This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


About the Author

Stephen Huen
Software Developer (Senior)
Canada Canada
A Microsoft Certified Professional Developer and Technology Specialist.

Experience and expertise in SharePoint 2013 / 2010 / 2007.

Role ranges from a developer in a multi-person team to a solution consultant with expert-level skills, leading a project to completion status.

Proven experience working effectively in a team environment and a self-managed environment.

You may also be interested in...

Comments and Discussions

General[Message Removed] Pin
stonber5-Oct-08 7:03
memberstonber5-Oct-08 7:03 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

| Advertise | Privacy | Terms of Use | Mobile
Web01 | 2.8.150728.1 | Last Updated 17 May 2006
Article Copyright 2004 by Stephen Huen
Everything else Copyright © CodeProject, 1999-2015
Layout: fixed | fluid