nodejs.org icon indicating copy to clipboard operation
nodejs.org copied to clipboard

releases rss feed filtering

Open shirbr510 opened this issue 6 years ago • 2 comments

I have a slack bot that responds to rss from this feed https://nodejs.org/en/feed/releases.xml

the problem with this feed is that the feed is becoming cluttered with minor and patch release posts

can I somehow filter only on major releases?

I assume it is impossible due to the fact it's an xml file, but maybe there's a server in the middle that can accept a query 😄

shirbr510 avatar Aug 20 '19 14:08 shirbr510

This is generated via 2 metalsmith plugins so you get what it is :)

XhmikosR avatar Sep 04 '19 14:09 XhmikosR

well, I can see how it is used but it still doesn't answer my question

assuming you add an additional type called majorReleases to all the major releases articles, you could create an additional feed that will be used only for major releases without damaging the existing feeds 💯

I hope you get what it is 😉

shirbr510 avatar Sep 05 '19 07:09 shirbr510

Extra keys such as majorReleases are not part of the RSS specification. You should be able to filter major/release versions by simply checking the version numbers and filtering on your side.

I'm closing this as not planned as we don't intend to break the RSS spec. Feel free to come with suggestions and reopen this issue. We use the feed npm package.

ovflowd avatar Mar 12 '23 13:03 ovflowd