code-snippets

Some maybe useful snippets of code
git clone https://git.ortlepp.eu/code-snippets.git/
Log | Files | Refs | README

commit bf632d3b0972a4148f5f8dd27f3feb290b134abd
parent 1379278e12d755ffc063b8ae6fa8994cdf2f231a
Author: Thorsten Ortlepp <post@ortlepp.eu>
Date:   Sun, 24 May 2020 13:00:35 +0200

Added filter

Diffstat:
Mphp/rss-filter/tagesschau.php | 3+++
1 file changed, 3 insertions(+), 0 deletions(-)

diff --git a/php/rss-filter/tagesschau.php b/php/rss-filter/tagesschau.php @@ -29,6 +29,9 @@ function filter_title($title) { if (strpos($title, 'Liveblog') !== false) { return true; } + if (strpos($title, 'Bundesliga:') !== false) { + return true; + } return false; }