Quantcast
Channel: SyndicationFeed: Content as CDATA? - Stack Overflow
Viewing all articles
Browse latest Browse all 10

Answer by Tsukuru for SyndicationFeed: Content as CDATA?

$
0
0

It might be too late but I leave my solution. I added it as a ElementExtension then it works for me. My environment is .NET 4.5.

XNamespace nsDefault = "http://www.w3.org/2005/Atom";var content = new XElement(nsDefault +"content");content.Add(new XCData("<b>Item Content</b>"));item.ElementExtensions.Add(new SyndicationElementExtension(content));

Viewing all articles
Browse latest Browse all 10

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>