Custom Fields in RSS Feed
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?
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