diff --git a/AnantaBridge.php b/AnantaBridge.php index 0c4162a..58868a2 100644 --- a/AnantaBridge.php +++ b/AnantaBridge.php @@ -4,12 +4,9 @@ class AnantaBridge extends BridgeAbstract { const MAINTAINER = 'Akamaru'; const NAME = 'Ananta Game News'; const URI = 'https://www.anantagame.com/news/'; + const ICON = 'https://www.google.com/s2/favicons?domain=www.anantagame.com&sz=32'; const CACHE_TIMEOUT = 21600; // 21600 = 6h const DESCRIPTION = 'Get the latest news from Ananta Game'; - - public function getIcon(){ - return 'https://www.anantagame.com/images/20241204/1733327984739_d3f0254e11.jpg'; - } public function collectData() { // Retrieve webpage diff --git a/AnimationDigitalNetworkBridge.php b/AnimationDigitalNetworkBridge.php index 8b10666..9fa1af8 100644 --- a/AnimationDigitalNetworkBridge.php +++ b/AnimationDigitalNetworkBridge.php @@ -4,6 +4,7 @@ class AnimationDigitalNetworkBridge extends BridgeAbstract { const MAINTAINER = 'Akamaru'; const NAME = 'Animation Digital Network'; const URI = 'https://animationdigitalnetwork.com/'; + const ICON = 'https://www.google.com/s2/favicons?domain=animationdigitalnetwork.com&sz=32'; const CACHE_TIMEOUT = 3600; // 1h const DESCRIPTION = 'Holt die neuesten Episoden einer Serie von Animation Digital Network'; @@ -19,10 +20,6 @@ class AnimationDigitalNetworkBridge extends BridgeAbstract { ) ); - public function getIcon(){ - return 'https://animationdigitalnetwork.com/favicon.ico'; - } - public function collectData() { $show_id = $this->getInput('show_id'); diff --git a/BSICertBridge.php b/BSICertBridge.php index 7fd6451..541a658 100644 --- a/BSICertBridge.php +++ b/BSICertBridge.php @@ -4,14 +4,10 @@ class BSICertBridge extends BridgeAbstract const MAINTAINER = 'Brawl'; const NAME = 'BSI Bürger-CERT-Sicherheitshinweise'; const URI = 'https://www.bsi.bund.de/'; + const ICON = 'https://www.google.com/s2/favicons?domain=www.bsi.bund.de&sz=32'; const CACHE_TIMEOUT = 21600; // 21600 = 6h const DESCRIPTION = 'Sicherheitshinweise des Bürger-CERT vom Bundesministerium für Internetsicherheit'; - public function getIcon() - { - return self::URI . "SiteGlobals/Frontend/Images/favicons/android-chrome-256x256.png?__blob=normal&v=3"; - } - public function collectData() { // Retrieve webpage diff --git a/BlueArchiveNewsBridge.php b/BlueArchiveNewsBridge.php index ec3aa51..01081fe 100644 --- a/BlueArchiveNewsBridge.php +++ b/BlueArchiveNewsBridge.php @@ -3,13 +3,9 @@ class BlueArchiveNewsBridge extends BridgeAbstract { const MAINTAINER = 'Akamaru'; const NAME = 'Blue Archive News'; const URI = 'https://forum.nexon.com/bluearchive-en/'; + const ICON = 'https://www.google.com/s2/favicons?domain=forum.nexon.com&sz=32'; const CACHE_TIMEOUT = 21600; // 6h const DESCRIPTION = 'Get the latest Announcements, Updates, and Events from Blue Archive (EN) Forum.'; - - public function getIcon() { - return 'https://img.ponywave.de/images/2025/07/18/Shiroko_Icon.png'; - } - const PARAMETERS = [ [ 'category' => [ diff --git a/CUIIBridge.php b/CUIIBridge.php index 96db6cf..228c8f3 100644 --- a/CUIIBridge.php +++ b/CUIIBridge.php @@ -1,18 +1,13 @@ items[] = $item; } } - - public function getIcon() - { - return self::ICON; - } } diff --git a/DubesorBridge.php b/DubesorBridge.php index 9137067..6b1b79a 100644 --- a/DubesorBridge.php +++ b/DubesorBridge.php @@ -5,14 +5,10 @@ class DubesorBridge extends BridgeAbstract const MAINTAINER = 'Brawl, Claude'; const NAME = 'Dubesor LLM Benchmark First Impressions'; const URI = 'https://dubesor.de/first-impressions'; + const ICON = 'https://www.google.com/s2/favicons?domain=dubesor.de&sz=32'; const CACHE_TIMEOUT = 43200; // 12h const DESCRIPTION = 'First impressions blog from Dubesor'; - public function getIcon() - { - return 'https://dubesor.de/favicon.ico'; - } - public function collectData() { $pageUrl = $this->getURI(); diff --git a/EchoLederheckeBridge.php b/EchoLederheckeBridge.php index e179e12..2646d2d 100644 --- a/EchoLederheckeBridge.php +++ b/EchoLederheckeBridge.php @@ -2,6 +2,7 @@ class EchoLederheckeBridge extends BridgeAbstract { const NAME = 'Echo der Lederhecke'; const URI = 'https://www.sulzdorf-adl.de/unsere-gemeinde/gemeindeblatt'; + const ICON = 'https://www.google.com/s2/favicons?domain=www.sulzdorf-adl.de&sz=32'; const DESCRIPTION = 'Neue Ausgaben des Gemeindeblatts "Echo der Lederhecke" als RSS-Feed.'; const MAINTAINER = 'Akamaru'; const CACHE_TIMEOUT = 3600; // 1 Stunde Cache diff --git a/EverSDBridge.php b/EverSDBridge.php index 66e51af..d87dc98 100644 --- a/EverSDBridge.php +++ b/EverSDBridge.php @@ -2,14 +2,11 @@ class EverSDBridge extends BridgeAbstract { const NAME = 'EverSD News Bridge'; const URI = 'https://eversd.com/news'; + const ICON = 'https://www.google.com/s2/favicons?domain=eversd.com&sz=32'; const DESCRIPTION = 'EverSD News und Changelog.'; const MAINTAINER = 'Akamaru'; const CACHE_TIMEOUT = 3600; // 1 Stunde - public function getIcon() { - return 'https://eversd.com/____impro/1/onewebmedia/favico.png'; - } - public function collectData() { $html = getSimpleHTMLDOM(self::URI); if (!$html) { diff --git a/EvercadeBridge.php b/EvercadeBridge.php index 938fecd..b2cd3c3 100644 --- a/EvercadeBridge.php +++ b/EvercadeBridge.php @@ -4,12 +4,9 @@ class EvercadeBridge extends BridgeAbstract { const MAINTAINER = 'Akamaru'; const NAME = 'Evercade News'; const URI = 'https://evercade.co.uk/blog'; + const ICON = 'https://www.google.com/s2/favicons?domain=evercade.co.uk&sz=32'; const CACHE_TIMEOUT = 21600; // 21600 = 6h const DESCRIPTION = 'All the news from Evercade and our community'; - - public function getIcon(){ - return 'https://evercade.co.uk/wp-content/themes/evercade/img/icons/favicon.ico'; - } public function collectData() { // Retrieve webpage diff --git a/FloridaTVBridge.php b/FloridaTVBridge.php index 0ce5947..d62bd2a 100644 --- a/FloridaTVBridge.php +++ b/FloridaTVBridge.php @@ -3,13 +3,10 @@ class FloridaTVBridge extends BridgeAbstract { const MAINTAINER = 'Akamaru'; const NAME = 'FloridaTV Entertainment News'; const URI = 'https://www.floridatv-entertainment.de/news/'; + const ICON = 'https://www.google.com/s2/favicons?domain=www.floridatv-entertainment.de&sz=32'; const CACHE_TIMEOUT = 21600; // 6 Stunden const DESCRIPTION = 'Neueste News von FloridaTV Entertainment.'; - public function getIcon() { - return 'https://www.floridatv-entertainment.de/wp-content/uploads/2021/11/Favicon-florida-150x150.png'; - } - public function collectData() { $html = getSimpleHTMLDOM(self::URI); if (!$html) { diff --git a/FoodwatchBridge.php b/FoodwatchBridge.php index 9c5c7ed..ff36ee2 100644 --- a/FoodwatchBridge.php +++ b/FoodwatchBridge.php @@ -4,12 +4,9 @@ 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.foodwatch.org/typo3conf/ext/wwt3_sitepackage_base/Resources/Public/frontend/favicons/generated/apple-touch-icon-57x57.png'; - } public function collectData() { // Retrieve webpage diff --git a/FuturamaHitAndRunBridge.php b/FuturamaHitAndRunBridge.php index c224038..49b7c6d 100644 --- a/FuturamaHitAndRunBridge.php +++ b/FuturamaHitAndRunBridge.php @@ -2,14 +2,11 @@ class FuturamaHitAndRunBridge extends BridgeAbstract { const NAME = 'Futurama: Hit & Run Mod Releases'; const URI = 'https://modbakery.donutteam.com/projects/downloads/48/183'; + const ICON = 'https://www.google.com/s2/favicons?domain=modbakery.donutteam.com&sz=32'; const DESCRIPTION = 'Returns the latest releases for the Futurama: Hit & Run total conversion mod'; const MAINTAINER = 'Akamaru'; const CACHE_TIMEOUT = 3600; // 1 hour - public function getIcon() { - return 'https://nyc3.digitaloceanspaces.com/donut-team/files/2025/10/18/19-46-33/15c954b6-e49f-417c-8fc6-4090186b3aa7/icon.webp'; - } - public function collectData() { $html = getSimpleHTMLDOM(self::URI); if (!$html) return; diff --git a/GalleryEpicBridge.php b/GalleryEpicBridge.php index 763ceea..821f0dd 100644 --- a/GalleryEpicBridge.php +++ b/GalleryEpicBridge.php @@ -4,6 +4,7 @@ class GalleryEpicBridge extends BridgeAbstract const MAINTAINER = 'Brawl, Gemini'; const NAME = 'GalleryEpic Bridge'; const URI = 'https://galleryepic.com/'; + const ICON = 'https://www.google.com/s2/favicons?domain=galleryepic.com&sz=32'; const DESCRIPTION = 'Returns the latest albums for a cosplayer on GalleryEpic.'; const PARAMETERS = [ [ @@ -94,11 +95,6 @@ class GalleryEpicBridge extends BridgeAbstract } } - public function getIcon() - { - return 'https://galleryepic.com/icons/icon-192x192.png'; - } - public function getName() { if (!is_null($this->feedName)) { diff --git a/GenshinImpactNewsBridge.php b/GenshinImpactNewsBridge.php index e4b5ad3..0fe5984 100644 --- a/GenshinImpactNewsBridge.php +++ b/GenshinImpactNewsBridge.php @@ -5,6 +5,7 @@ class GenshinImpactNewsBridge extends BridgeAbstract const MAINTAINER = 'Brawl, Akamaru'; const NAME = 'Genshin Impact News'; const URI = 'https://sg-public-api-static.hoyoverse.com/content_v2_user/app/a1b1f9d3315447cc/getContentList'; + const ICON = 'https://www.google.com/s2/favicons?domain=genshin.hoyoverse.com&sz=32'; const CACHE_TIMEOUT = 3600; // 3600 = 1h const DESCRIPTION = 'Get the latest news from Genshin Impact!'; const PARAMETERS = array( diff --git a/HolonometriaMangaBridge.php b/HolonometriaMangaBridge.php index 6275188..df5abd6 100644 --- a/HolonometriaMangaBridge.php +++ b/HolonometriaMangaBridge.php @@ -4,6 +4,7 @@ class HolonometriaMangaBridge extends BridgeAbstract const MAINTAINER = 'Brawl, Akamaru'; const NAME = 'Holonometria Manga Series'; const URI = 'https://holoearth.com/en/alt/holonometria/manga/'; + const ICON = 'https://www.google.com/s2/favicons?domain=holoearth.com&sz=32'; const CACHE_TIMEOUT = 21600; // 6h const DESCRIPTION = 'Get the latest chapters of the Holonometria Manga series.'; @@ -21,11 +22,6 @@ class HolonometriaMangaBridge extends BridgeAbstract ], ]; - public function getIcon() - { - return 'https://holoearth.com/assets/img/favicon_holonometria.ico'; - } - public function collectData() { $manga = $this->getInput('manga'); diff --git a/HumbleBundlesBridge.php b/HumbleBundlesBridge.php index 68c332e..e48faf8 100644 --- a/HumbleBundlesBridge.php +++ b/HumbleBundlesBridge.php @@ -3,13 +3,9 @@ class HumbleBundlesBridge extends BridgeAbstract { const MAINTAINER = 'Akamaru'; const NAME = 'Humble Bundle'; const URI = 'https://www.humblebundle.com/'; + const ICON = 'https://www.google.com/s2/favicons?domain=www.humblebundle.com&sz=32'; const CACHE_TIMEOUT = 3600; // 1h const DESCRIPTION = 'Get the latest bundles from Humble Bundle.'; - - public function getIcon() { - return 'https://www.humblebundle.com/favicon.ico'; - } - const PARAMETERS = [ [ 'category' => [ diff --git a/IndiegalaFreebiesBridge.php b/IndiegalaFreebiesBridge.php index e8a01f4..c40733c 100644 --- a/IndiegalaFreebiesBridge.php +++ b/IndiegalaFreebiesBridge.php @@ -3,13 +3,10 @@ class IndiegalaFreebiesBridge extends BridgeAbstract { const MAINTAINER = 'Akamaru'; const NAME = 'Indiegala Freebies'; const URI = 'https://freebies.indiegala.com/'; + const ICON = 'https://www.google.com/s2/favicons?domain=freebies.indiegala.com&sz=32'; const CACHE_TIMEOUT = 21600; // 6h const DESCRIPTION = 'Get the latest free PC games from Indiegala Freebies.'; - public function getIcon() { - return 'https://freebies.indiegala.com/favicon.ico'; - } - public function collectData() { $html = getSimpleHTMLDOM(self::URI); if (!$html) return; diff --git a/JapanTimesFeaturesBridge.php b/JapanTimesFeaturesBridge.php index e133a0a..dd22158 100644 --- a/JapanTimesFeaturesBridge.php +++ b/JapanTimesFeaturesBridge.php @@ -1,42 +1,43 @@ find('div.esg-media-cover-wrapper') as $element) { + // Process articles + foreach($html->find('div.esg-media-cover-wrapper') as $element) { - if(count($this->items) >= 10) { - break; - } + if(count($this->items) >= 10) { + break; + } - $article_title = trim(strip_tags($element->find('div.eg-jt-features-grid-skin-element-0', 0)->innertext)); - $article_uri = $element->find('a.eg-invisiblebutton', 0)->href; - $article_thumbnail = $element->find('img', 0)->src; + $article_title = trim(strip_tags($element->find('div.eg-jt-features-grid-skin-element-0', 0)->innertext)); + $article_uri = $element->find('a.eg-invisiblebutton', 0)->href; + $article_thumbnail = $element->find('img', 0)->src; $article_content = '
'; - $article_content .= trim(strip_tags($element->find('div.eg-jt-features-grid-skin-element-6', 0)->innertext)); - $article_timestamp = strtotime($element->find('div.eg-jt-features-grid-skin-element-24', 0)->innertext); + $article_content .= trim(strip_tags($element->find('div.eg-jt-features-grid-skin-element-6', 0)->innertext)); + $article_timestamp = strtotime($element->find('div.eg-jt-features-grid-skin-element-24', 0)->innertext); - // Store article in items array - if (!empty($article_title)) { - $item = array(); - $item['uri'] = $article_uri; - $item['title'] = $article_title; - //$item['enclosures'] = array($article_thumbnail); - $item['content'] = $article_content; - $item['timestamp'] = $article_timestamp; - $this->items[] = $item; - } - } - } + // Store article in items array + if (!empty($article_title)) { + $item = array(); + $item['uri'] = $article_uri; + $item['title'] = $article_title; + //$item['enclosures'] = array($article_thumbnail); + $item['content'] = $article_content; + $item['timestamp'] = $article_timestamp; + $this->items[] = $item; + } + } + } } diff --git a/JoynBridge.php b/JoynBridge.php index 262a4a1..cefcf05 100644 --- a/JoynBridge.php +++ b/JoynBridge.php @@ -2,10 +2,10 @@ class JoynBridge extends BridgeAbstract { const NAME = 'Joyn.de Serien RSS'; const URI = 'https://www.joyn.de/'; + const ICON = 'https://www.google.com/s2/favicons?domain=www.joyn.de&sz=32'; const DESCRIPTION = 'RSS-Feed für Serien von Joyn.de'; const CACHE_TIMEOUT = 21600; // 6h const MAINTAINER = 'Akamaru, Claude'; - const ICON = 'https://www.joyn.de/favicon.ico'; const PARAMETERS = [ [ 'series_id' => [ diff --git a/KemonoFriendsMusicNewsBridge.php b/KemonoFriendsMusicNewsBridge.php index 0f3e3eb..0fd51b8 100644 --- a/KemonoFriendsMusicNewsBridge.php +++ b/KemonoFriendsMusicNewsBridge.php @@ -3,6 +3,7 @@ class KemonoFriendsMusicNewsBridge extends BridgeAbstract { const MAINTAINER = 'Akamaru'; const NAME = 'Kemono Friends Music News'; const URI = 'https://www.jvcmusic.co.jp/kemono-friends/'; + const ICON = 'https://www.google.com/s2/favicons?domain=www.jvcmusic.co.jp&sz=32'; const CACHE_TIMEOUT = 1; // 21600 = 6h const DESCRIPTION = 'Get the latest news for Kemono Friends Music.'; diff --git a/MainPostBridge.php b/MainPostBridge.php index 151c519..c26911e 100644 --- a/MainPostBridge.php +++ b/MainPostBridge.php @@ -2,6 +2,7 @@ class MainPostBridge extends BridgeAbstract { const NAME = 'Main-Post Nachrichten'; const URI = 'https://www.mainpost.de/'; + const ICON = 'https://www.google.com/s2/favicons?domain=www.mainpost.de&sz=32'; const DESCRIPTION = 'Nachrichten und Artikel von der Main-Post'; const MAINTAINER = 'Akamaru'; const PARAMETERS = [ @@ -298,10 +299,6 @@ class MainPostBridge extends BridgeAbstract { ] ]; - public function getIcon() { - return 'https://www.mainpost.de/favicon.ico'; - } - private function extractArticlesFromJSON($html) { $articles = []; $debugInfo = ''; diff --git a/MuchoHentaiBridge.php b/MuchoHentaiBridge.php index 5e2900b..db8b250 100644 --- a/MuchoHentaiBridge.php +++ b/MuchoHentaiBridge.php @@ -3,6 +3,7 @@ class MuchoHentaiBridge extends BridgeAbstract { const NAME = 'MuchoHentai ENG Subbed Releases'; const URI = 'https://muchohentai.com/'; + const ICON = 'https://www.google.com/s2/favicons?domain=muchohentai.com&sz=32'; const DESCRIPTION = 'Shows new english subbed releases from MuchoHentai'; const MAINTAINER = 'Akamaru'; const CACHE_TIMEOUT = 3600; // 1 Stunde Cache @@ -24,10 +25,6 @@ class MuchoHentaiBridge extends BridgeAbstract { ] ]; - public function getIcon() { - return 'https://static1.muchohentai.com/wp-content/uploads/xfavicon.png.pagespeed.ic.MKVCUqwTqw.png'; - } - public function collectData() { $limit = $this->getInput('limit'); $fullContent = $this->getInput('full'); diff --git a/PokemonGOBridge.php b/PokemonGOBridge.php index 3d892fa..57b01f8 100644 --- a/PokemonGOBridge.php +++ b/PokemonGOBridge.php @@ -4,6 +4,7 @@ class PokemonGOBridge extends BridgeAbstract { const MAINTAINER = 'Brawl, Akamaru'; const NAME = 'Pokémon GO News'; const URI = 'https://pokemongo.com/'; + const ICON = 'https://www.google.com/s2/favicons?domain=pokemongo.com&sz=32'; const CACHE_TIMEOUT = 21600; // 21600 = 6h const DESCRIPTION = 'Get the latest official "Pokémon GO" news.'; const PARAMETERS = array( @@ -33,10 +34,6 @@ class PokemonGOBridge extends BridgeAbstract { ) ) ); - - public function getIcon(){ - return 'https://pokemongo.com/img/icons/favicon.ico'; - } public function collectData() { $lang = $this->getInput('lang'); diff --git a/RTLPlusBridge.php b/RTLPlusBridge.php index 49d04c4..47194ed 100644 --- a/RTLPlusBridge.php +++ b/RTLPlusBridge.php @@ -4,10 +4,10 @@ class RTLPlusBridge extends BridgeAbstract { const NAME = 'RTL+ Serien RSS'; const URI = 'https://plus.rtl.de/'; + const ICON = 'https://www.google.com/s2/favicons?domain=plus.rtl.de&sz=32'; const DESCRIPTION = 'RSS-Feed für Serien von RTL+'; const CACHE_TIMEOUT = 21600; // 6h const MAINTAINER = 'Akamaru'; - const ICON = 'https://plus.rtl.de/favicon.ico'; const PARAMETERS = [ [ 'series_id' => [ diff --git a/SSBUNewsBridge.php b/SSBUNewsBridge.php index 73b3696..12ad009 100644 --- a/SSBUNewsBridge.php +++ b/SSBUNewsBridge.php @@ -5,6 +5,7 @@ class SSBUNewsBridge extends BridgeAbstract const MAINTAINER = 'Brawl'; const NAME = 'Super Smash Bros. Ultimate News'; const URI = 'https://www-aaaba-lp1-hac.cdn.nintendo.net/'; + const ICON = 'https://www.google.com/s2/favicons?domain=www.smashbros.com&sz=32'; const CACHE_TIMEOUT = 43200; // 43200 = 12h const DESCRIPTION = 'Returns the latest Super Smash Bros. Ultimate news.'; const PARAMETERS = array( @@ -42,11 +43,6 @@ class SSBUNewsBridge extends BridgeAbstract return parent::getName(); } - public function getIcon() - { - return 'https://www.smashbros.com/favicon.ico'; - } - public function getURI() { return $this->pageUrl; diff --git a/SnowbreakNewsBridge.php b/SnowbreakNewsBridge.php index bec82d0..4474fb0 100644 --- a/SnowbreakNewsBridge.php +++ b/SnowbreakNewsBridge.php @@ -2,6 +2,7 @@ class SnowbreakNewsBridge extends BridgeAbstract { const NAME = 'Snowbreak: Containment Zone News'; const URI = 'https://snowbreak.amazingseasun.com'; + const ICON = 'https://www.google.com/s2/favicons?domain=snowbreak.amazingseasun.com&sz=32'; const DESCRIPTION = 'Returns the latest news from Snowbreak: Containment Zone'; const MAINTAINER = 'Akamaru'; const CACHE_TIMEOUT = 21600; // 6 hours @@ -20,7 +21,6 @@ class SnowbreakNewsBridge extends BridgeAbstract { ] ] ]; - const FAVICON = 'https://snowbreak.amazingseasun.com/p/zt/2023/07/13/index/static/favicon.ico'; public function collectData() { $category = $this->getInput('category'); diff --git a/StellaSoraBridge.php b/StellaSoraBridge.php index db4433b..7589aac 100644 --- a/StellaSoraBridge.php +++ b/StellaSoraBridge.php @@ -3,13 +3,10 @@ class StellaSoraBridge extends BridgeAbstract { const MAINTAINER = 'Akamaru'; const NAME = 'Stella Sora News'; const URI = 'https://stellasora.global/news/'; + const ICON = 'https://www.google.com/s2/favicons?domain=stellasora.global&sz=32'; const CACHE_TIMEOUT = 21600; // 6h const DESCRIPTION = 'Get the latest news from Stella Sora (Global)'; - public function getIcon() { - return 'https://novaweb-usstatic.yo-star.com/h5/favicon.png'; - } - public function collectData() { $apiUrl = 'https://stellasora.global/api/resource/news?index=1&size=999&type=latest'; $json = getContents($apiUrl) diff --git a/ToggoBridge.php b/ToggoBridge.php index f89a4eb..5f28a19 100644 --- a/ToggoBridge.php +++ b/ToggoBridge.php @@ -2,6 +2,7 @@ class ToggoBridge extends BridgeAbstract { const NAME = 'Toggo.de Serien RSS'; const URI = 'https://www.toggo.de/'; + const ICON = 'https://www.google.com/s2/favicons?domain=www.toggo.de&sz=32'; const DESCRIPTION = 'RSS-Feed für Serien von Toggo.de'; const CACHE_TIMEOUT = 21600; // 6h const MAINTAINER = 'Akamaru'; diff --git a/WHODiseaseOutbreakBridge.php b/WHODiseaseOutbreakBridge.php index 1ef8ab2..26dad66 100644 --- a/WHODiseaseOutbreakBridge.php +++ b/WHODiseaseOutbreakBridge.php @@ -5,6 +5,7 @@ class WHODiseaseOutbreakBridge extends BridgeAbstract const MAINTAINER = 'Brawl'; const NAME = 'WHO Disease Outbreak News'; const URI = 'https://www.who.int/emergencies/disease-outbreak-news'; + const ICON = 'https://www.google.com/s2/favicons?domain=www.who.int&sz=32'; const CACHE_TIMEOUT = 21600; // 21600 = 6h const DESCRIPTION = 'Latest WHO Disease Outbreak News (DONs), providing information on confirmed acute public health events or potential events of concern.'; diff --git a/WeiboPicsBridge.php b/WeiboPicsBridge.php index 83bfcdd..e78554c 100644 --- a/WeiboPicsBridge.php +++ b/WeiboPicsBridge.php @@ -4,6 +4,7 @@ class WeiboPicsBridge extends BridgeAbstract const MAINTAINER = 'Akamaru, Brawl, Gemini 2.5 Pro'; const NAME = 'Weibo User Pictures'; const URI = 'https://weibo.com'; + const ICON = 'https://www.google.com/s2/favicons?domain=weibo.com&sz=32'; const CACHE_TIMEOUT = 3600; // 1 hour for feed data const DESCRIPTION = 'Get the latest pictures from a Weibo user.'; @@ -21,11 +22,6 @@ class WeiboPicsBridge extends BridgeAbstract private $feedTitleName = ''; - public function getIcon() - { - return 'https://weibo.com/favicon.ico'; - } - public function getName() { if (empty($this->feedTitleName)) { diff --git a/WutheringWavesNewsBridge.php b/WutheringWavesNewsBridge.php index 281ffed..c47a025 100644 --- a/WutheringWavesNewsBridge.php +++ b/WutheringWavesNewsBridge.php @@ -4,10 +4,10 @@ class WutheringWavesNewsBridge extends BridgeAbstract { const NAME = 'Wuthering Waves News'; const URI = 'https://wutheringwaves.kurogames.com/main/news'; + const ICON = 'https://www.google.com/s2/favicons?domain=wutheringwaves.kurogames.com&sz=32'; const DESCRIPTION = 'Returns news articles from Wuthering Waves'; const MAINTAINER = 'Akamaru'; const CACHE_TIMEOUT = 3600; // 1 hour - const ICON = 'https://www.google.com/s2/favicons?domain=wutheringwaves.kurogames.com&sz=32'; const PARAMETERS = [ [ diff --git a/Y2MateDownloaderBridge.php b/Y2MateDownloaderBridge.php index f48c0f7..3f14409 100644 --- a/Y2MateDownloaderBridge.php +++ b/Y2MateDownloaderBridge.php @@ -4,6 +4,7 @@ class Y2MateDownloaderBridge extends BridgeAbstract { const MAINTAINER = 'Akamaru'; const NAME = 'Y2Mate Downloader Changelog'; const URI = 'https://y2matedownloader.com/y2mate-downloader-changelog'; + const ICON = 'https://www.google.com/s2/favicons?domain=y2matedownloader.com&sz=32'; const CACHE_TIMEOUT = 21600; // 6 hours const DESCRIPTION = 'Changelog for Y2Mate Downloader'; const PARAMETERS = [ @@ -86,8 +87,4 @@ class Y2MateDownloaderBridge extends BridgeAbstract { } } } - - public function getIcon() { - return 'https://c1.y2matedownloader.com/favicon.ico'; - } } \ No newline at end of file