More in this section
Forums / Developing with Sitefinity / RSS Feed Changes

RSS Feed Changes

The forums are in read-only mode. In case that you want to directly contact the Progress Sitefinity team use the support center. In our Google Plus group you can find more than one thousand Sitefinity developers discussing different topics. For the Stack Overflow threads don’t forget to use the “Sitefinity” tag.
2 posts, 0 answered
  1. Brad
    Brad avatar
    28 posts
    20 Sep 2010
    15 Aug 2011
    Link to this post
    Hey all,

    A client of ours has asked us if it would be possible to update the way that the RSS feed is generated, in that our forum posts get "updated" (by someone posting a reply) on the RSS feed, showing them at the top. The problem is that the date on the RSS feed doesn't seem to change, and we don't really want to update it based on a simple replay, rather than a new post in general. Is this possible?

  2. Radoslav Georgiev
    Radoslav Georgiev avatar
    3370 posts
    01 Feb 2016
    18 Aug 2011
    Link to this post
    Hi Brad,

    You should create a custom RSS provider for the blogs feed as described here. You should override the GetRssItems method and sort the items by their modified date. Bellow is the default implementation:
    /// <summary>
    /// Gets a list of all Rss Items
    /// </summary>
    /// <param name="query">A query</param>
    /// <returns>A list of Rss items</returns>
    public virtual IList<RssItem> GetRssItems(NameValueCollection query)
        IList source = this.CreateDataSource();
        List<RssItem> items = new List<RssItem>(source.Count);
        foreach (IContent content in source)
            RssItem item = new RssItem();
            this.SetGeneralProps(item, content);
            this.SetAuthor(item, content);
            this.SetTitle(item, content);
            this.SetPubDate(item, content);
            this.SetDescription(item, content);
        return items;
    /// <summary>
    /// Retrieves content items from the data store with the specified filter, sorting, current page and maximum number of items.
    /// </summary>
    /// <returns>A collection of IContent items</returns>
    protected virtual IList CreateDataSource()
        return this.manager.GetContent(0, this.itemCount, this.sortExpr, ContentStatus.Published, this.parentIDs, this.FilterBuilder.ParseMetaFieldsFilter());

    All the best,
    Radoslav Georgiev
    the Telerik team
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
2 posts, 0 answered