diff --git a/formats/MrssFormat.php b/formats/MrssFormat.php index d0a74177..ddbd5d35 100644 --- a/formats/MrssFormat.php +++ b/formats/MrssFormat.php @@ -15,6 +15,7 @@ class MrssFormat extends FormatAbstract{ $extraInfos = $this->getExtraInfos(); $title = $this->xml_encode($extraInfos['name']); $uri = $this->xml_encode(!empty($extraInfos['uri']) ? $extraInfos['uri'] : 'https://github.com/sebsauvage/rss-bridge'); + $icon = $this->xml_encode('http://icons.better-idea.org/icon?url='. $uri .'&size=64'); $items = ''; foreach($this->getItems() as $item){ @@ -45,6 +46,7 @@ EOD; {$title} http{$https}://{$httpHost}{$httpInfo}/ {$title} + {$items}