Update rssparser.class.php

This commit is contained in:
Frédéric FRANCE 2019-02-12 23:31:21 +01:00 committed by GitHub
parent 42bb96dc27
commit fa31f95356
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();
}
}