Comments (12)
@ashmaroli thanks for the workaround, it works fine!
from jekyll-feed.
@arielelkin As of now, there's no option to disable generation of the posts' feed.xml
. The workaround would be overwriting the default feed with your feed by using the path: "feed.xml"
setting instead of the feed.atom
as in your suggestion. But yes, that is a brittle solution.
from jekyll-feed.
Thanks for the response @ashmaroli
I can't get your suggestion to work, i'm afraid... I've tried following it thus:
feed:
collections:
authors:
path: "/feed.xml"
But the generated feed.xml
file still contains posts instead of items from the authors
collection.
from jekyll-feed.
This issue has been automatically marked as stale because it has not been commented on for at least two months.
The resources of the Jekyll team are limited, and so we are asking for your help.
If this is a bug and you can still reproduce this error on the master
/main
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 whether it can be accomplished in another way. If it cannot, please elaborate on why it is core to this project and why you feel more than 80% of users would find this beneficial.
This issue will automatically be closed in two months if no further activity occurs. Thank you for all your contributions.
from jekyll-feed.
any updates on this? @parkr
from jekyll-feed.
No updates! Want to submit a PR?
I think the right approach here is that we release a major version update that respects the config exactly rather than auto-injecting the posts collection even if other collections are configured.
from jekyll-feed.
I would like to submit a PR but I lack the required background in Ruby..
from jekyll-feed.
This issue has been automatically marked as stale because it has not been commented on for at least two months.
The resources of the Jekyll team are limited, and so we are asking for your help.
If this is a bug and you can still reproduce this error on the master
/main
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 whether it can be accomplished in another way. If it cannot, please elaborate on why it is core to this project and why you feel more than 80% of users would find this beneficial.
This issue will automatically be closed in two months if no further activity occurs. Thank you for all your contributions.
from jekyll-feed.
@arielelkin It looks like the code will actually use a configured posts path, so put it elsewhere?
feed:
collections:
authors:
path: "/feed.xml"
posts:
path: "/feed/posts.xml"
Try that and maybe /feed.xml
will contain the authors feed?
from jekyll-feed.
@parkr Thank you for your suggestion!
With your code, /feed.xml
now contains the authors feed, but a feed of all posts is still produced in /feed/posts.xml
.
It makes things slightly tidier, but it doesn't address the original issue. It'd be nice to have the option to entirely suppress generation of the posts feed.
from jekyll-feed.
but a feed of all posts is still produced in
/feed/posts.xml
.
@arielelkin Perhaps not an intuitive solution, but you have control over the "file" marked as feed for posts. It can be any existing file in your source dir. If you have, say a 404.html
file at the root of your site to render custom Error 404! Not Found!
page, point to that.
feed:
collections:
authors:
path: "/feed.xml"
posts:
path: "404.html"
The feed generator will only generate a feed file if the given file doesn't exist at source directory.
from jekyll-feed.
This issue has been automatically marked as stale because it has not been commented on for at least two months.
The resources of the Jekyll team are limited, and so we are asking for your help.
If this is a bug and you can still reproduce this error on the master
/main
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 whether it can be accomplished in another way. If it cannot, please elaborate on why it is core to this project and why you feel more than 80% of users would find this beneficial.
This issue will automatically be closed in two months if no further activity occurs. Thank you for all your contributions.
from jekyll-feed.
Related Issues (20)
- Support variables in _config.yml path name and absolute file path HOT 1
- Generate feeds for all categories, instead of only configured categories HOT 2
- Plugin isn't "building" feed, just copying template HOT 2
- why the chrome request for null layout? HOT 4
- Time for a new release HOT 3
- feeds from directory based categories are empty HOT 2
- Use subtitle frontmatter variable if it exists HOT 3
- append rss-only content to beginning or end of posts HOT 2
- Why is my configuration no longer producing feed.xml? HOT 4
- 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
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.