Comments (13)
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.
from jekyll-feed.
@julien51 can you explain your use case and reasoning a bit more?
from jekyll-feed.
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!
from jekyll-feed.
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?
from jekyll-feed.
from jekyll-feed.
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.
from jekyll-feed.
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?
from jekyll-feed.
If I have a feed.xml in my root of my project, it loads that instead?
I believe this is the case, yes. 👍
from jekyll-feed.
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?
from jekyll-feed.
@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?
from jekyll-feed.
@benbalter I will take a look tonight and see what is possible.
from jekyll-feed.
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
from jekyll-feed.
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.
from jekyll-feed.
Related Issues (20)
- exclude posts from feed HOT 12
- doesn't handle tags with spaces or hyphens HOT 13
- Time for a new release HOT 3
- Disable notification 'A new version of content is available.' HOT 6
- Time for a new release HOT 1
- Option to only include unique categories in the feed HOT 6
- Probable issue in feed generation HOT 2
- Option to skip generating feed if no site content changed HOT 3
- Page title incorrect when containing symbols like '>' HOT 9
- Combining multiple collections into the main feed HOT 3
- Time for a new release HOT 1
- Time for a new release HOT 1
- Duplicating feed?
- Feed name missing HOT 6
- Add option to convert all relative URLs in post content to absolute
- Feed icon supported? HOT 1
- Extension .atom in README.md is bad advise; will be served with wrong media type by web servers HOT 1
- Doesn't generate feeds for tags that include spaces HOT 1
- Tag feeds don't include tag name in title
- Append information to post URL (e.g. UTM source)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jekyll-feed.