forked from blallo/rss-bridge
[AtomFormat] Use default feed URI if non defined
This commit is contained in:
parent
e3c578510b
commit
368fc66fbf
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue