I've got this customer who asked if it is possible to create an rss feed for the 2sxc news app. I'm wondering if this is possible in some way, or if anyone has set something like this up... I can kind of set up an api, which will return xml like output, but it still says: Feeds should not be served with the "application/json" media type
Just found out .... add using System.Net.Http
and then create a standard httpresponse with returntypes etc.
var res = Request.CreateResponse(HttpStatusCode.Ok);
res.Content = new StringContent(sb.ToString(), System.Text.Encoding.UTF8, "text/xml");
return res;