1
0
Fork 0
forked from blallo/rss-bridge

[AtomFormat] Use default feed URI if non defined

This commit is contained in:
logmanoriginal 2016-08-09 16:45:33 +02:00
parent e3c578510b
commit 368fc66fbf

View file

@ -17,7 +17,7 @@ class AtomFormat extends FormatAbstract{
$extraInfos = $this->getExtraInfos(); $extraInfos = $this->getExtraInfos();
$title = $this->xml_encode($extraInfos['name']); $title = $this->xml_encode($extraInfos['name']);
$uri = $extraInfos['uri']; $uri = !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'); $icon = $this->xml_encode('http://icons.better-idea.org/icon?url='. $uri .'&size=64');
$uri = $this->xml_encode($uri); $uri = $this->xml_encode($uri);