-
Notifications
You must be signed in to change notification settings - Fork 134
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
RSS Feed duplicates the newest post #213
Comments
Thanks for the report @macowie I'll see what we can do, but I'm not a rss heavy. |
@macowie I've checked with the folks that set up the rss feed for us and they think the reason you're seeing the "dupes" is a number of our recent posts have been what I call "post links". We add a small blog that shows up on the main page and then a very similar one that will show up in the page that comes up after you click on the "Blogs" button. When we have someone write an article directly on the site, then you'll see a discernible difference between the notifications. Hope that helps. |
Hey @TomSweeneyRedHat I looked into this a bit. It's unfortunately not as easy as adding a |
@mbbroberg thanks for digging into this. I'll be honest and will tell you that I have a very basic knowledge of the rss underpinnings. I'll try to take a look and see what can be adjusted though. |
Add cateegories to the Gemfile in hopes to allow users to pick which category they want to see in their rss feed. This way they hopefully won't get a double hit for a blog and it's new post. Might solve: containers#213 Signed-off-by: TomSweeneyRedHat <[email protected]>
Add categories so that (hopefully) the rss feed can be categoriezed readers will be able to select the type of post (new, blogs, talks, etc) that they'd like to see on their feed. This will hopefully help with containers#213 Signed-off-by: TomSweeneyRedHat <[email protected]>
Add categories so that (hopefully) the rss feed can be categoriezed readers will be able to select the type of post (new, blogs, talks, etc) that they'd like to see on their feed. This will hopefully help with #213 Signed-off-by: TomSweeneyRedHat <[email protected]>
Hey @macowie, the team did some things to mess with Jekyll categories. Did this help the double posting by chance? |
Unfortunately not. You can see in the Feed XML, two entries for each post. They do have different links. One entry has URL like https://podman.io/blogs/2020/07/18/speed-up-build-with-overlayfs.htm |
From containers/podman.io#256:
Unfortunately, this doesn't work. Firstly, very few RSS readers actually do anything with the Secondly, the Short of forking the plugin or re-creating a feed ad-hoc, it seems the most straight forward solution would be to phase out the "new" concept if that is possible. I've looked around a bit on the site and it seems like what you might want is for the homepage to iterate all posts regardless of category (like the feed does), instead of limiting itself to only the Alternatively, if there is still a use for posts that show only on the homepage and have no equivalant post on the site (e.g. a link to something external) then those could perhaps reside in the "blog" category or remain in the "new" category as today (perhaps rename to "link"), with use of that limited only to external links. That way the homepage can be simplified to ierating all posts by date, and not start showing things twice there as well. Another issue due to this "new" duplication right now is the sometimes odd styling we see on the Podman homepage, as there is a clash between the layout of the homepage (it inherits the same layout as for the blog index) and the oversized content in the "new" pages that gets included via
By not creating (duplicate) "new" entries at all, and letting the homepage iterate all posts automatically, I believe you would simplify maintenance, improve homepage UX issues (per above), fix the feed bug, and yet keep all URLs compatible. Having said, I imagine this came about for a reason, so perhaps it's not so simple :-). One thing that's also possible is reserving a tag like "hidden" in case we want to add a post to releases/talks/blogs without being promoted on the homepage, we'd then skip posts with that tag when iterating the homepage. Or alternatively, invert it and add someting like "featured" or "new" to all existing posts (there can be more than one tag on a post), and iterate that on the home page. |
Seems like whatever (Jekyll?) is generating the RSS feed renders the newest post twice -- followed by the next x entries. Which leads to everything getting double entries as a feed reader continually refreshes it.
Here's a sample of the first two entries on the feed currently:
The text was updated successfully, but these errors were encountered: