Removes new Item notification
This commit is contained in:
		
							parent
							
								
									d75037c0ab
								
							
						
					
					
						commit
						e345751986
					
				
					 1 changed files with 0 additions and 5 deletions
				
			
		
							
								
								
									
										5
									
								
								atom.go
									
										
									
									
									
								
							
							
						
						
									
										5
									
								
								atom.go
									
										
									
									
									
								
							| 
						 | 
				
			
			@ -50,7 +50,6 @@ func (this *Feed) readAtom(doc *xmlx.Document) (err error) {
 | 
			
		|||
			ch.Author.Email = tn.S("", "email")
 | 
			
		||||
		}
 | 
			
		||||
 | 
			
		||||
		itemcount := len(ch.Items)
 | 
			
		||||
		list = node.SelectNodes(ns, "entry")
 | 
			
		||||
 | 
			
		||||
		for _, item := range list {
 | 
			
		||||
| 
						 | 
				
			
			@ -99,10 +98,6 @@ func (this *Feed) readAtom(doc *xmlx.Document) (err error) {
 | 
			
		|||
 | 
			
		||||
			ch.Items = append(ch.Items, i)
 | 
			
		||||
		}
 | 
			
		||||
 | 
			
		||||
		if itemcount != len(ch.Items) && this.itemhandler != nil {
 | 
			
		||||
			this.itemhandler(this, ch, ch.Items[itemcount:])
 | 
			
		||||
		}
 | 
			
		||||
	}
 | 
			
		||||
	this.Channels = foundChannels
 | 
			
		||||
	return
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue