Adding attributes to channel item elements

Apr 26, 2008 at 9:44 PM
I'm replacing a service that converted my Subversion check-in log with a custom program. I have most of it working thanks to Argotic. Thanks!

Here's my question... How do I add an attribute to the description element in the channel item? I would like to add the disable-output-escaping="yes" attribute to that element. Here's the link to the feed as it stands now:

http://www.wheelmud.net/Development/DevelopmentLog/tabid/62/Default.aspx
Coordinator
Apr 27, 2008 at 2:21 AM
Hector,

You will need to write a small custom syndication extension to write/read the attribute to/from the channel element. See the Argotic.Extensions assembly API documentation, as you will want to inherit from the SyndicationExtension abstract base class. I would also suggest a quick review of some of the extensions already implemented in the framework as a starting point.

Please let me know if you have an questions about the extensibility model.