More in this section
Forums / General Discussions / Custom Fields in RSS Feed

Custom Fields in RSS Feed

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. Matthew
    Matthew avatar
    1 posts
    Registered:
    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.

    eg.

    <entry>
    <title>Whatever</title>
    <campus>68<campus>
    <content>stuff</content>
    </entry>

    Is this possible in the UI?

  2. Ivan D. Dimitrov
    Ivan D. Dimitrov avatar
    310 posts
    Registered:
    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.

    Regards,
    Ivan D. Dimitrov
    Telerik
     
    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