Example: syndicate children of multiple items
You can implement a custom RSS feed based on the following example that syndicates the children of all of the items selected in the field named Sources in the feed definition item.
-
In the Visual Studio Web application project, compile a class based on the following example:
-
In the Template Manager or the Content Editor, in the System/Feeds/RSS Feed data template, in the Extensibility section, add a Treelist field named Sources, and set the Source property of this field to the /sitecore/content item.
-
In the Content Editor, in the feed definition item, in the Extensibility section, in the Type field, enter the signature of the class:
Sitecore.Sharedsource.Syndication.MultiParentFeed, Assembly -
In the Content Editor, in the feed definition item, in the Extensibility section, in the Sources field, select items with children to syndicate.