An open API service indexing awesome lists of open source software.

https://github.com/me-and/petition-rss

RSS feed for petitions.parliament.uk
https://github.com/me-and/petition-rss

petitions rss rss-feed rss-generator uk-government uk-politics

Last synced: 4 months ago
JSON representation

RSS feed for petitions.parliament.uk

Awesome Lists containing this project

README

          

# UK Government petitions RSS feed

It annoyed me that there was no RSS feed for the UK Government petitions
website at . I decided to fix that.

You should be able to access the RSS feed at
. Just point your preferred RSS feed
reader to that address and it should work everything else out for you. Don't
have an RSS feed reader? Try putting "RSS client" into your favourite search
engine.

## Implementation

This was a quick hack; I've aimed for "good enough", not "good".

Every hour, a GitHub Action runs, which fetches the first page of a
JSON-formatted list of most recently published petitions, as published at
. This is
reformatted into RSS XML using `jq`, which GitHub Actions then publishes as a
static file.