A regular backup of the RSS feed from the Engineering Kiosk Podcast.
This repository automatically backs up the RSS feed from Engineering Kiosk Podcast on a monthly basis. Each backup includes:
- The RSS feed content (XML format)
- Request and response headers (JSON format)
Run the backup manually using Make:
make rss-backupOr run the script directly:
./scripts/backup-rss.sh https://engineeringkiosk.dev/podcast/rssThe backup script accepts the RSS feed URL as a command-line argument:
./scripts/backup-rss.sh <RSS_FEED_URL>Features:
- Follows HTTP redirects
- Stores RSS content with date-based naming (
YYYY-MM-DD.xml) - Captures request and response headers in JSON format (
YYYY-MM-DD_headers.json) - Validates downloaded content is valid XML/RSS
- Proper exit codes for error handling
The repository uses GitHub Actions to automatically backup the RSS feed:
- Schedule: Monthly on the 1st day of each month at 00:00 UTC
- Manual trigger: Can be triggered manually via workflow_dispatch
Backups are automatically committed to the repository.
| Command | Description |
|---|---|
make help |
Show available commands |
make init |
Check pre-requisites (curl, python3) |
make init-ruff |
Check if ruff is installed |
make format |
Format Python scripts with ruff |
make rss-backup |
Backup the RSS feed |
Dependencies are managed by Renovate Bot/Mend: Dashboard.