Add BBC News RSS feed (source bbc, BBC red accent)

This commit is contained in:
Harwinder Sekhon
2026-10-16 15:57:43 -04:00
parent 3c2d90fb7e
commit 89d0dcc67c
2 changed files with 10 additions and 0 deletions
+7
View File
@@ -61,4 +61,11 @@ return [
'label' => 'RT News', 'label' => 'RT News',
'url' => 'https://www.rt.com/rss/', 'url' => 'https://www.rt.com/rss/',
], ],
// BBC News (top stories).
[
'source' => 'bbc',
'label' => 'BBC News',
'url' => 'https://feeds.bbci.co.uk/news/rss.xml',
],
]; ];
+3
View File
@@ -17,6 +17,7 @@ final class View
'youtube' => 'YouTube', 'youtube' => 'YouTube',
'reddit' => 'Reddit', 'reddit' => 'Reddit',
'rt' => 'RT', 'rt' => 'RT',
'bbc' => 'BBC',
default => ucfirst($source), default => ucfirst($source),
}; };
} }
@@ -27,6 +28,7 @@ final class View
'youtube' => 'text-bg-danger', 'youtube' => 'text-bg-danger',
'reddit' => 'text-bg-warning', 'reddit' => 'text-bg-warning',
'rt' => 'text-bg-dark', 'rt' => 'text-bg-dark',
'bbc' => 'text-bg-danger',
default => 'text-bg-secondary', default => 'text-bg-secondary',
}; };
} }
@@ -37,6 +39,7 @@ final class View
'youtube' => '#ff3b5c', 'youtube' => '#ff3b5c',
'reddit' => '#ff7a2f', 'reddit' => '#ff7a2f',
'rt' => '#1fcb93', 'rt' => '#1fcb93',
'bbc' => '#bb1919',
default => '#f1f3f7', default => '#f1f3f7',
}; };
} }