better handling of troublesome feeds.
This commit is contained in:
		
					parent
					
						
							
								178362e50b
							
						
					
				
			
			
				commit
				
					
						793967a1d3
					
				
			
		
					 7 changed files with 62 additions and 27 deletions
				
			
		| 
						 | 
				
			
			@ -203,7 +203,7 @@ function poller_run($argv, $argc){
 | 
			
		|||
				}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
				$res = simplexml_load_string($xml);
 | 
			
		||||
				$res = parse_xml_string($xml);
 | 
			
		||||
	
 | 
			
		||||
				if(intval($res->status) == 1) {
 | 
			
		||||
					logger("poller: $url replied status 1 - marking for death ");
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue