Add BBC News RSS feed (source bbc, BBC red accent)
This commit is contained in:
@@ -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',
|
||||||
|
],
|
||||||
];
|
];
|
||||||
|
|||||||
@@ -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',
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user