SyndicationFeed: ¿Contenido como CDATA?
Estoy usando SyndicationFeed de .NET para crear feeds RSS y ATOM. Desafortunadamente, necesito contenido HTML en el elemento de descripción (la propiedad de Contenido de SyndicationItem) y el formateador codifica automáticamente el HTML, pero prefiero tener todo el elemento de descripción envuelto en CDATA sin codificar el HTML.
Mi código (simple):
var feed = new SyndicationFeed("Title", "Description",
new Uri("http://someuri.com"));
var items = new List<SyndicationItem>();
var item = new SyndicationItem("Item Title", (string)null,
new Uri("http://someitemuri.com"));
item.Content = SyndicationContent.CreateHtmlContent("<b>Item Content</b>");
items.Add(item);
feed.Items = items;
¿Alguien tiene una idea de cómo puedo hacer esto usando SyndicationFeed? Mi último recurso es crear "manualmente" el XML para los feeds, pero prefiero usar el SyndicationFeed incorporado.