Hi!
I started a thread over here: http://forums.asp.net/p/2091101/6039931.aspx?Re+Serializing+RSS+Feed+Getting+Element+Names+Correct
But maybe this question is better placed here as I'm trying to do this using Web API.
My application has Web API setup and I'm using it to return certain data asynchronously to my app as JSON.
It seems like Web API would also be the simplest way to render an RSS feed for our Podcast. Each Podcast episode is contained in our database and an episode has a defined model, so using Web API to create / format the XML required for the RSS feed seems pretty straight forward.
My problem comes when trying to render namespaces properly with the Web API Serializer.
Apple requires some custom elements to have the namespace prefix "itunes:" and I can't seem to get the Serializer to properly render these.
Maybe I'm going about this all wrong. Maybe I just need to "manually" create the feed using MVC Views, but I thought this would be cleaner.
If someone could help or offer advice, I'd be very appreciative.
Thanks!
-Eric