문제

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?

도움이 되었습니까?

해결책

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

다른 팁

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top