Removes new Item notification

This commit is contained in:
Harm Aarts 2013-12-05 14:21:32 +01:00
parent d75037c0ab
commit e345751986
1 changed files with 0 additions and 5 deletions

View File

@ -50,7 +50,6 @@ func (this *Feed) readAtom(doc *xmlx.Document) (err error) {
ch.Author.Email = tn.S("", "email") ch.Author.Email = tn.S("", "email")
} }
itemcount := len(ch.Items)
list = node.SelectNodes(ns, "entry") list = node.SelectNodes(ns, "entry")
for _, item := range list { for _, item := range list {
@ -99,10 +98,6 @@ func (this *Feed) readAtom(doc *xmlx.Document) (err error) {
ch.Items = append(ch.Items, i) ch.Items = append(ch.Items, i)
} }
if itemcount != len(ch.Items) && this.itemhandler != nil {
this.itemhandler(this, ch, ch.Items[itemcount:])
}
} }
this.Channels = foundChannels this.Channels = foundChannels
return return