From e345751986fed2f336d2b257de997077e27295af Mon Sep 17 00:00:00 2001 From: Harm Aarts Date: Thu, 5 Dec 2013 14:21:32 +0100 Subject: [PATCH] Removes new Item notification --- atom.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/atom.go b/atom.go index 4982030..cab3935 100644 --- a/atom.go +++ b/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