From 89d0dcc67ca799692ce32d9d44eed51f54fa26a6 Mon Sep 17 00:00:00 2001 From: Harwinder Sekhon Date: Fri, 16 Oct 2026 15:57:43 -0400 Subject: [PATCH] Add BBC News RSS feed (source bbc, BBC red accent) --- config/feeds.php | 7 +++++++ src/View.php | 3 +++ 2 files changed, 10 insertions(+) diff --git a/config/feeds.php b/config/feeds.php index 06c93bc..307a0bb 100644 --- a/config/feeds.php +++ b/config/feeds.php @@ -61,4 +61,11 @@ return [ 'label' => 'RT News', 'url' => 'https://www.rt.com/rss/', ], + + // BBC News (top stories). + [ + 'source' => 'bbc', + 'label' => 'BBC News', + 'url' => 'https://feeds.bbci.co.uk/news/rss.xml', + ], ]; diff --git a/src/View.php b/src/View.php index 4a3fce4..e12f1da 100644 --- a/src/View.php +++ b/src/View.php @@ -17,6 +17,7 @@ final class View 'youtube' => 'YouTube', 'reddit' => 'Reddit', 'rt' => 'RT', + 'bbc' => 'BBC', default => ucfirst($source), }; } @@ -27,6 +28,7 @@ final class View 'youtube' => 'text-bg-danger', 'reddit' => 'text-bg-warning', 'rt' => 'text-bg-dark', + 'bbc' => 'text-bg-danger', default => 'text-bg-secondary', }; } @@ -37,6 +39,7 @@ final class View 'youtube' => '#ff3b5c', 'reddit' => '#ff7a2f', 'rt' => '#1fcb93', + 'bbc' => '#bb1919', default => '#f1f3f7', }; }