Subversion Repositories eFlore/Applications.cel

Rev

Rev 788 | Rev 1460 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 788 Rev 960
Line 79... Line 79...
79
	private function executerObservation() {
79
	private function executerObservation() {
80
		$widget = null;
80
		$widget = null;
81
		extract($this->parametres);
81
		extract($this->parametres);
82
		$max_obs = (isset($max_obs) && preg_match('/^[0-9]+,[0-9]+$/', $max_obs)) ? $max_obs : '10';
82
		$max_obs = (isset($max_obs) && preg_match('/^[0-9]+,[0-9]+$/', $max_obs)) ? $max_obs : '10';
83
		$this->flux_rss_url .= $this->traiterParametres();
83
		$this->flux_rss_url .= $this->traiterParametres();
84
		if (file_get_contents($this->flux_rss_url, false) != false) {
84
		if (@file_get_contents($this->flux_rss_url, false) != false) {
85
			$xml = file_get_contents($this->flux_rss_url);
85
			$xml = file_get_contents($this->flux_rss_url);
86
			if ($xml) {
86
			if ($xml) {
87
				try {
87
				try {
88
					$flux = new XmlFeedParser($xml);
88
					$flux = new XmlFeedParser($xml);