Argot structure of syndication

Does anyone know any tutorials for this structure? What is the opinion of using this to retrieve data from an RSS feed? Good or bad?

+4
source share
2 answers

You might want to use the System.ServiceModel.Syndication namespace. Inside you will find a class called SyndicationFeed with a static Load method that can do whatever you need.

I already posted this for another question, but it might be useful for you too:

System.ServiceModel.Sydication

  • about 9 times faster than Argotic
  • does not support rdf
  • does not support versions for atom <1
  • does not support rss versions <1
  • doesn’t work with XmlException on about 30% of the feeds that I give in "out of the wild" (for me this breaks the deal)

Argotic

  • not updated since July 2, 2008
  • slow (see above)
  • has very good support for all types of channels: the whole version of atom, rss, rdf (as far as I can tell)
  • slightly more difficult to use than System.ServiceModel.Sydication; you need to determine what type of feed you have before allowing Argotic to parse it, and then you need custom logic to work with each of 3 different classes depending on the type of feed. In other words, you need to wrap Argotic before it is useful.
+6
source

Many links to the CodePlex wiki lead to several tutorials. Also check out DimeCasts.net . Derick Whittaker also has a simple example here .

0
source

Source: https://habr.com/ru/post/1286625/


All Articles