System.ServiceModel.Syndication.SyndicationFeed determine feed type (RSS vs Atom)?
- by Josh
Is it possible to determine from the syndicationfeed class what type of syndicationfeed is being read? If all I have is the url (blahblah.com/feed) it might be rss or atom, and depending on the type I want to do one thing or the other.
Is there a simple way to tell without parsing the document and looking for specific characters?