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

Add RSS feeds #6

Open
captainbrosset opened this issue Jun 7, 2024 · 6 comments
Open

Add RSS feeds #6

captainbrosset opened this issue Jun 7, 2024 · 6 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@captainbrosset
Copy link
Contributor

captainbrosset commented Jun 7, 2024

The web-features-explorer has pages that would be pretty useful for developers to consume via a set of RSS feeds.

In particular:

Subscribers would receive updates from these pages in their favorite RSS clients.

@captainbrosset captainbrosset added the enhancement New feature or request label Jun 7, 2024
@captainbrosset
Copy link
Contributor Author

captainbrosset commented Sep 6, 2024

Couple of requests for an RSS feed here:

@captainbrosset captainbrosset added the help wanted Extra attention is needed label Sep 12, 2024
@captainbrosset
Copy link
Contributor Author

To anyone interested in this: if you have some time on your hands that you'd like to offer to a good cause, and if you know a little bit of eleventy and how RSS feeds work, then your help is more than welcome!
Let me know here and I can help with context and setup.

@th0rgall
Copy link

th0rgall commented Sep 12, 2024

As a temporary workaround, I used web scraping in my RSS aggregator FreshRSS, producing this workable feed of https://web-platform-dx.github.io/web-features-explorer/recent/:

Screenshot

If you also use FreshRSS, you can import the feed definition using this file: f_155 Baseline Newly Available.opml.xml.txt (remove .txt, GH didn't allow uploading .xml)

opml.xml source
<?xml version="1.0" encoding="UTF-8"?>
<opml xmlns:frss="https://freshrss.org/opml" version="2.0">
  <head>
    <title>FreshRSS</title>
    <dateCreated>Thu, 12 Sep 2024 11:58:22 +0300</dateCreated>
  </head>
  <body>
    <outline text="Baseline Newly Available" type="HTML+XPath" xmlUrl="https://web-platform-dx.github.io/web-features-explorer/recent/" htmlUrl="https://web-platform-dx.github.io/web-features-explorer/recent/" description="RSS feed of Web Features: Baseline Newly Available" frss:xPathItem="//div[contains(@class, 'baseline-low')]" frss:xPathItemTitle="descendant::h2" frss:xPathItemContent="descendant::p" frss:xPathItemUri="descendant::a/@href" frss:xPathItemTimestamp="normalize-space(descendant::div[contains(@class, 'availability')]/text())" frss:xPathItemCategories="descendant::div[contains(@class,'tags')]//span/text()" frss:xPathItemUid="@id"/>
  </body>
</opml>

If your RSS reader supports manual scraping, you can check out these definitions; and insert/refactor the XPaths/CSS selectors.

@azu
Copy link
Contributor

azu commented Sep 15, 2024

I thought the release notes page should have RSS, so I created a PR.

📝 Baseline has no concept of date, so it is a little difficult to handle as RSS.

@captainbrosset
Copy link
Contributor Author

This is awesome. Thank you so much for working on this. I'll take a look at the PR in a bit.

As for the Baseline newly available and widely available pages, they do have a concept of date:

  • Newly available means "all browsers that are part of the baseline core browser set" now support this feature. So the date for this is the release date of whichever browser implemented the feature last. For example, the mutually exclusive details element feature got implemented in Firefox recently, when version 130 came out, on 2024-09-03.
  • Widely available means 30 months after that. So in 30 months from now, the above feature will be considered Baseline Widely Available.

But, let's start with the release notes pages, as it's probably the most useful and go from there.

@captainbrosset
Copy link
Contributor Author

One more idea posted in #23: having a RSS feed per feature as well. This way you can subscribe to a feature you're interested in and get interesting updates as things move forward.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants