Try Now
More in this section

Forums / General Discussions / Custom Fields in RSS Feed

Custom Fields in RSS Feed

2 posts, 0 answered
  1. Matthew
    Matthew avatar
    1 posts
    28 May 2014
    28 May 2014
    Link to this post

    I'm creating an RSS feed for a specific tag in news. This RSS is getting digested by another external program. I need to out a field in the feed called "campus" and give it a static value for all items.



    Is this possible in the UI?

  2. Ivan D. Dimitrov
    Ivan D. Dimitrov avatar
    310 posts
    26 Mar 2015
    29 May 2014
    Link to this post
    Hello Mathew,

    Thank you for contacting us.

    We do not offer such functionality out of the box. This means you will need to customize your RSS Outbound Pipe in order to achieve this. I can recommend you go through my blog post. In the code I am adding a custom blog post field to the feed, but the methodology for adding a static value is the same. Simply extend the Syndication item using the method SyndicationItem.ElementExtentions.Add() and pass your value there.

    I hope this helps. Feel free to get back to us if you need additional assistance.

    Ivan D. Dimitrov
    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 Sitefinity CMS Ideas&Feedback Portal and vote to affect the priority of the items
2 posts, 0 answered