Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configure number of entries? #56

Closed
julien51 opened this issue Jun 4, 2015 · 13 comments
Closed

Configure number of entries? #56

julien51 opened this issue Jun 4, 2015 · 13 comments

Comments

@julien51
Copy link

julien51 commented Jun 4, 2015

Would it be possible to add an option for more than 10 entries?

@benbalter
Copy link
Contributor

@julien51 can you explain your use case and reasoning a bit more?

@julien51
Copy link
Author

julien51 commented Jun 4, 2015

Well, for high frequency feeds, 10 entries might be a little short, because the polling interval may be a bit longer than the time the 10 entries are "in the feed". A marge window, like 20 or more entries would be helpful.

10 is a good default though, just adding a setting to increase this would be nice!

@benbalter
Copy link
Contributor

Have you run into an issue with a site updating more frequently than the polling rate (or is this a hypothetical)? Would a default of 20 solve that? 15?

@julien51
Copy link
Author

julien51 commented Jun 4, 2015 via email

@lancecarlson
Copy link

Perhaps this would be even more useful if you could override the feed.xml template completely? Then you could stick the feed.xml config at the root, point to that new path and completely customize the RSS feed the way you want if you want to.

BTW, I ran into this exact same issue. Wanted to export all of my blog posts to wordpress so the limit is annoying.

@lancecarlson
Copy link

Actually, after looking again.. this looks like this works already? If I have a feed.xml in my root of my project, it loads that instead?

@parkr
Copy link
Member

parkr commented Jan 12, 2016

If I have a feed.xml in my root of my project, it loads that instead?

I believe this is the case, yes. 👍

@pathawks
Copy link
Member

Just spitballing here: What if we included the most recent 10 posts, and all posts published in the past 48 hours? Would this solve the problem of feed readers missing posts because of infrequent polling?

@benbalter
Copy link
Contributor

@pathawks I like that idea. Not sure if it's possible in liquid or crazy complicated, but how about 10 posts OR everything in the past 24 hours, whichever is more?

@pathawks
Copy link
Member

@benbalter I will take a look tonight and see what is possible.

@pathawks
Copy link
Member

What if we included the most recent 10 posts, and all posts published in the past 48 hours?

This seems to not be currently possible. jekyll/jekyll#4860

@jekyllbot
Copy link
Contributor

This issue has been automatically marked as stale because it has not been commented on for at least
one month.

The resources of the Jekyll team are limited, and so we are asking for your help.

If you can still reproduce this error on the 3.1-stable or master branch,
please reply with all of the information you have about it in order to keep the issue open.

If this is a feature request, please consider building it first as a plugin. Jekyll 3 introduced
hooks which provide convenient access points throughout
the Jekyll build pipeline whereby most needs can be fulfilled. If this is something that cannot be
built as a plugin, then please provide more information about why in order to keep this issue open.

Thank you for all your contributions.

@joshgoebel
Copy link

In the hopes that it helps someone (it's easy to do this without a plugin at all):

http://runningblind.com/2018/12/22/jekyll-jekyll-feed-you-don-t-need-it/

That's the route I ended up going. And then tuning the number is just changing the number in your own template.

@jekyllbot jekyllbot removed the stale label Jan 4, 2019
@jekyll jekyll locked and limited conversation to collaborators Jan 4, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

7 participants