Domanda

I use this code to get RSS from stackoverflow.com

SyndicationFeed feed = SyndicationFeed.Load(XmlReader.Create("http://stackoverflow.com/feeds"));
        foreach (SyndicationItem item in feed.Items)
        {
            Console.WriteLine(item.Title.Text);
            Console.WriteLine(item.Title.Type);
            Console.WriteLine(feed.Items.Count());
            Debug.Print(item.Title.Text);

        }

I get just 30 items but when I check in Google Reader I get more than this count.

Is there a limitation here?

È stato utile?

Soluzione

30 is what stackoverflow returns, it is not a limitation of the SyndicationFeed class.

Altri suggerimenti

Google Reader stores old articles from RSS feeds. So we are limited to what the RSS feed contains, but Google has an archive that'll let you keep scrolling.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top