Fix rss
This commit is contained in:
parent
f62d52f89a
commit
99c05f0923
@ -356,7 +356,9 @@ class RssParser
|
|||||||
if (!empty($rss->channel['title'])) $this->_title = (string) $rss->channel['title'];
|
if (!empty($rss->channel['title'])) $this->_title = (string) $rss->channel['title'];
|
||||||
//if (!empty($rss->channel['rss_description'])) $this->_description = (string) $rss->channel['rss_description'];
|
//if (!empty($rss->channel['rss_description'])) $this->_description = (string) $rss->channel['rss_description'];
|
||||||
|
|
||||||
$this->_imageurl = $this->getAtomImageUrl($rss->channel);
|
if (is_array($rss->channel)) {
|
||||||
|
$this->_imageurl = $this->getAtomImageUrl($rss->channel);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
if (!empty($conf->global->EXTERNALRSS_USE_SIMPLEXML)) {
|
if (!empty($conf->global->EXTERNALRSS_USE_SIMPLEXML)) {
|
||||||
$tmprss = xml2php($rss); $items = $tmprss['entry'];
|
$tmprss = xml2php($rss); $items = $tmprss['entry'];
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user