Skip to content
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

USWDS-Site - Updates: Add configurable RSS/Atom feed option #2924

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

peterbenoit
Copy link

Summary

Added a configurable RSS or Atom feed option to allow users to subscribe to site updates. This enables users to receive updates in their preferred feed format.

Related issue

Closes #754

Preview link

Preview link: Run locally at http://localhost:4000/rss.xml or http://localhost:4000/feed.xml to view the generated feed.

Problem statement

The USWDS site lacked a feed to allow users to subscribe to updates. Users had no way to receive automated updates, which could reduce engagement with new releases or information.

Solution

This PR introduces a configurable feed option using the jekyll-feed plugin. Users can now choose between RSS and Atom formats by configuring _config.yml with the feed.format option.

Major changes

  • Added jekyll-feed to the Gemfile
  • Updated _config.yml to allow RSS or Atom format selection
  • Added documentation for configuring feed options

Testing and review

  1. Run bundle exec jekyll serve.
  2. Open http://localhost:4000/rss.xml or http://localhost:4000/feed.xml to view the feed.
  3. Use a feed validator (e.g., W3C Feed Validator) to ensure the feed meets standard requirements.

Feedback requested: Ensure the feed configuration works as expected and validate compatibility with common feed readers.

feed output configurable through _config.yml

feed [path, format]
@mejiaj mejiaj added the Status: Triage We're triaging this issue and grooming if necessary label Dec 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Triage We're triaging this issue and grooming if necessary
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Provide an RSS feed for updates
2 participants