[Phpslash-commit] CVS: phpslash-ft/class Block_render_rss.class,1.2,1.3
Brought to you by:
joestewart,
nhruby
From: Joe S. <joe...@us...> - 2002-01-23 20:17:49
|
Update of /cvsroot/phpslash/phpslash-ft/class In directory usw-pr-cvs1:/tmp/cvs-serv21081/phpslash-ft/class Modified Files: Block_render_rss.class Log Message: rss block error msg tweaks Index: Block_render_rss.class =================================================================== RCS file: /cvsroot/phpslash/phpslash-ft/class/Block_render_rss.class,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** Block_render_rss.class 2002/01/23 17:26:37 1.2 --- Block_render_rss.class 2002/01/23 20:17:46 1.3 *************** *** 167,171 **** xml_set_character_data_handler($this->xml, "character_data"); ! $fpread = fopen($url, "r"); if ( !($fpread) ) { // error in opening url --- 167,171 ---- xml_set_character_data_handler($this->xml, "character_data"); ! $fpread = @fopen($url, "r"); if ( !($fpread) ) { // error in opening url *************** *** 305,310 **** } else { ! debug("Block_render_rss::parse", "Error: $this->rdf->error_str"); ! $this->output = $this->rdf->error_str; return false; --- 305,311 ---- } else { ! debug("Block_render_rss::parse error", $this->rdf->error_str); ! $this->output = "Error in source file:".$this->rdf->error_str; ! // $this->output = ""; return false; |