Quantcast
Channel: Can't take more than 30 entries from atom feed (GitHub private feed) - Stack Overflow
Viewing all articles
Browse latest Browse all 2

Can't take more than 30 entries from atom feed (GitHub private feed)

$
0
0

I am taking atom feed with this code:

var client = new HttpClient(new NativeMessageHandler());            var feed = await client.GetStringAsync(_session.GetPrivateFeedUrl());            if ( string.IsNullOrEmpty(feed) ) return new List<XElement>();            var parsedFeed = XElement.Parse(feed);            var entries = from entry in parsedFeed.Elements("{"+ ConstantsService.AtomNamespace +"}entry") select entry;            return entries;

But this takes only 30 entries (reads). And I think it is because if you open private feed token url, that you will see only 30 elements of feed. And if you go on https://github.com/ , it is still 30, but there you can press "More" button, but you can't do this with page from url. How to take more than 30 elements (all) ?


Viewing all articles
Browse latest Browse all 2

Latest Images

Trending Articles





Latest Images