Sitecore.Syndication.PublicFeed

Current version: 10.2

The Sitecore.Syndication.PublicFeed class uses feed definition items to construct RSS feeds. The Sitecore.Syndication.PublicFeed class syndicates the items identified by a Sitecore query or by the children of a data source item specified in the feed definition item.

You can use the Sitecore.Syndication.PublicFeed class as a base class to develop custom feeds. Specify your class in the Type field in the Extensibility section of the feed definition item. If you do not specify a value for the Type field in the Extensibility section of the feed definition item, then Sitecore uses the Sitecore.Syndication.PublicFeed class to format the feed.

The Sitecore.Syndication.PublicFeed.FeedItem property exposes the feed definition item associated with the feed.

You can implement a feed that determines the items to syndicate using custom logic by overriding the Sitecore.Syndication.PublicFeed.GetSourceItems() method. For an example that overrides the Sitecore.Syndication.PublicFeed.GetSourceItems() method, see Example: Syndicate Children of Multiple Items.

Do you have some feedback for us?

If you have suggestions for improving this article,