-
-
Notifications
You must be signed in to change notification settings - Fork 91
Switch to new RSS feed #1264
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
base: develop
Are you sure you want to change the base?
Switch to new RSS feed #1264
Conversation
application/src/main/java/org/togetherjava/tjbot/features/Features.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Did some digging and this looks good.
Here's some context for the non-informed on the OpenJDK and Oracle feeds:
OpenJDK Feed
It's focus is:
- Covering all activity within the "JDK Updates"
- Low-level JDK update work including patches and JDK discussions
As OP stated, it's not updated as frequently as we'd like.
Oracle Java Blog Feed
It's focus is:
- Covering Java at Oracles POV such as product news, major releases, events etc.
- It's more "marketing friendly".
The latest OpenJDK update is Java 11.0.26+4 (GA) which was released in Jan 2025. While it's old, there was an update to the page a few days ago hence why it's showing on the feed.
The latest Oracle feed shows rando blogs but some of them are SUPER interesting. Some follow up work should be done to push those onto the server e.g. "Announcing Oracle GraalVM for JDK 24" - this is sick.
Anyways, good change, thanks!
@christolis - I've resolved your comments since you've approved but make sure you do that before approving as it'll block merge. |
Forgot to do that, thanks for the reminder! |
This PR switches to oracle's java rss feed which appears to be more active (Last post was April) compared to the previous feed we were using. It also refractors the package handling rss feeds from
javamail
(which was the previous feed we used) torss
.Merging this requires somebody with VPS access to add this to this feeds array:
For the test I just added a new entry to the xml file (being served over a local http server) after starting the bot (system caches the latest posted date if its the first time reading this rss feed).