1
0

Nutze Google Favicon API für ICON

This commit is contained in:
Akamaru
2025-11-17 21:05:13 +01:00
parent a55d1abb80
commit 789c5391de
35 changed files with 67 additions and 145 deletions

View File

@@ -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');