1
0

Korrigiere Favicon

This commit is contained in:
Akamaru
2025-11-17 21:45:22 +01:00
parent 789c5391de
commit 864fb8d4e2
35 changed files with 177 additions and 35 deletions

View File

@@ -4,10 +4,14 @@ class FoodwatchBridge extends BridgeAbstract {
const MAINTAINER = 'Akamaru';
const NAME = 'Foodwatch.org News';
const URI = 'https://www.foodwatch.org';
const ICON = 'https://www.google.com/s2/favicons?domain=www.foodwatch.org&sz=32';
const CACHE_TIMEOUT = 21600; // 21600 = 6h
const DESCRIPTION = 'Get the latest news from Foodwatch.org.';
public function getIcon()
{
return 'https://www.google.com/s2/favicons?domain=www.foodwatch.org&sz=32';
}
public function collectData() {
// Retrieve webpage
$pageUrl = self::URI . '/de/informieren/aktuelle-nachrichten/';