|
@@ -105,6 +105,13 @@ function clean_str($str) {
|
|
|
*/
|
|
|
foreach ($feed->get_items() as $item):
|
|
|
$item_title = clean_str($item->get_title());
|
|
|
+
|
|
|
+ if (str_contains(strtoupper($item_title), strtoupper("sports")))
|
|
|
+ {
|
|
|
+ echo '<h3>🏟 🏆 ⚽ 🏀 🏈 ⚾️ 🎾 🏐 🏉 🎱 ⛹️</h3>'; // 🧒 👦 👦 👨👦👦
|
|
|
+ continue;
|
|
|
+ }
|
|
|
+
|
|
|
$item_link = "article.php?loc=" . $loc . '&a=' . $item->get_permalink();
|
|
|
$subheadlines = clean_str($item->get_description());
|
|
|
|