Closed ryanoconnor7 closed 7 years ago
Hi @ryanoconnor7,
FeedKit will fetch as many items as the feed provides. If the contents of a URL has 26 entries or items, then it will parse those 26 entries or items. If 10, then only 10 will be parsed.
However, if the feed in question provides pagination capabilities, then they probably should be specified in the URL of the feed.
Like so:
http://images.apple.com/main/rss/hotnews/hotnews.rss?page=2
The above doesn't work btw, it's just an example of what it would look like if it did.
I don't believe there is a standard for pagination in RSS. And most feed providers don't offer this kind of capability unless it's a specific need and requires implementation of an edge case not within the standard.
Is this a custom feed you're using? Can you share the link if it's public?
Cheers
Ah, I see. It may be a limitation of Wordpress as that is what I am getting from.
Here’s the link:
On Sep 22, 2017, at 3:42 PM, Nuno Dias notifications@github.com wrote:
Hi @ryanoconnor7,
FeedKit will fetch as many items as the feed provides. If the contents of a URL has 26 entries or items, then it will parse those 26 entries or items. If 10, then only 10 will be parsed.
However, if the feed in question provides pagination capabilities, then they probably should be specified in the URL of the feed.
Like so:
http://images.apple.com/main/rss/hotnews/hotnews.rss?page=2 I don't believe there is a standard for pagination in RSS. And most feed providers don't offer this kind of capability unless it's a specific need and requires implementation of an edge case not within the standard.
Is this a custom feed you're using? Can you share the link if it's public?
Cheers
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.
Yep. Wordpress has a limit of 10 posts, and I can get more posts by calling:
https://chstarmac.com/rss?page=2
Sorry I didn’t look into that first! Thanks!
On Sep 22, 2017, at 3:42 PM, Nuno Dias notifications@github.com wrote:
Hi @ryanoconnor7,
FeedKit will fetch as many items as the feed provides. If the contents of a URL has 26 entries or items, then it will parse those 26 entries or items. If 10, then only 10 will be parsed.
However, if the feed in question provides pagination capabilities, then they probably should be specified in the URL of the feed.
Like so:
http://images.apple.com/main/rss/hotnews/hotnews.rss?page=2 I don't believe there is a standard for pagination in RSS. And most feed providers don't offer this kind of capability unless it's a specific need and requires implementation of an edge case not within the standard.
Is this a custom feed you're using? Can you share the link if it's public?
Cheers
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.
Just for future reference — I made a typo in the link, but it should be:
https://chstarmac.com/rss?paged=2
For anyone who wants to access greater than 10 posts using Wordpress.
Glad you sorted it out.
Happy parsing 😃
As far as I can tell, FeedKit only fetches the last 10 RSS items in a feed.
Is it possible/would you consider adding an index to access, for example, posts 11-20? I think an index would be the best way to solve this because having just a number of items to load option would make the first load slower. I’d rather load more items as needed.