Merge pull request #10566 from frederic34/patch-17

Update rssparser.class.php
This commit is contained in:
Laurent Destailleur 2019-02-13 16:24:45 +01:00 committed by GitHub
commit 534eac1a54
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -50,8 +50,8 @@ class RssParser
private $_rssarray=array();
// For parsing with xmlparser
var $stack = array(); // parser stack
var $_CONTENT_CONSTRUCTS = array('content', 'summary', 'info', 'title', 'tagline', 'copyright');
public $stack = array(); // parser stack
private $_CONTENT_CONSTRUCTS = array('content', 'summary', 'info', 'title', 'tagline', 'copyright');
/**
@ -246,7 +246,7 @@ class RssParser
$str = file_get_contents($this->_urlRSS, false, $context);
}
catch (Exception $e) {
print 'Error retrieving URL '.$this->urlRSS.' - '.$e->getMessage();
print 'Error retrieving URL '.$this->_urlRSS.' - '.$e->getMessage();
}
}