Do not use an external service in order to fetch the favicon.
This commit is contained in:
parent
79ebdc4b39
commit
9b34b68180
2 changed files with 4 additions and 4 deletions
|
@ -15,8 +15,8 @@ class AtomFormat extends FormatAbstract{
|
||||||
|
|
||||||
$extraInfos = $this->getExtraInfos();
|
$extraInfos = $this->getExtraInfos();
|
||||||
$title = $this->xml_encode($extraInfos['name']);
|
$title = $this->xml_encode($extraInfos['name']);
|
||||||
$uri = !empty($extraInfos['uri']) ? $extraInfos['uri'] : 'https://github.com/sebsauvage/rss-bridge';
|
$uri = !empty($extraInfos['uri']) ? $extraInfos['uri'] : 'https://github.com/RSS-Bridge/rss-bridge';
|
||||||
$icon = $this->xml_encode('http://icons.better-idea.org/icon?url='. $uri .'&size=64');
|
$icon = $this->xml_encode($uri .'/favicon.ico');
|
||||||
$uri = $this->xml_encode($uri);
|
$uri = $this->xml_encode($uri);
|
||||||
|
|
||||||
$entries = '';
|
$entries = '';
|
||||||
|
|
|
@ -18,10 +18,10 @@ class MrssFormat extends FormatAbstract {
|
||||||
if(!empty($extraInfos['uri'])) {
|
if(!empty($extraInfos['uri'])) {
|
||||||
$uri = $this->xml_encode($extraInfos['uri']);
|
$uri = $this->xml_encode($extraInfos['uri']);
|
||||||
} else {
|
} else {
|
||||||
$uri = 'https://github.com/sebsauvage/rss-bridge';
|
$uri = 'https://github.com/RSS-Bridge/rss-bridge';
|
||||||
}
|
}
|
||||||
|
|
||||||
$icon = $this->xml_encode('http://icons.better-idea.org/icon?url='. $uri .'&size=64');
|
$icon = $this->xml_encode($uri .'/favicon.ico');
|
||||||
|
|
||||||
$items = '';
|
$items = '';
|
||||||
foreach($this->getItems() as $item) {
|
foreach($this->getItems() as $item) {
|
||||||
|
|
Loading…
Reference in a new issue