Pergunta

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?

Foi útil?

Solução

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

Outras dicas

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.

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top