code-snippets

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

commit d9b8d27cb78ef130a8360cfc0bfcc5c195ccbfac
parent 3f3e72b48d597e955541d2e931b1d9b91d28a061
Author: Thorsten Ortlepp <post@ortlepp.eu>
Date:   Wed, 15 Jan 2020 21:21:11 +0100

Added filter to script

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

diff --git a/php/heise-rss/feed.php b/php/heise-rss/feed.php @@ -38,6 +38,9 @@ function filter_title($title) { if (strpos($title, 'c\'t zockt') !== false) { return true; } + if (strpos($title, 'Kurz informiert') !== false) { + return true; + } return false; }