diff --git a/feed.go b/feed.go index 4a68c9a..6b9fe33 100644 --- a/feed.go +++ b/feed.go @@ -150,16 +150,10 @@ func (this *Feed) makeFeed(doc *xmlx.Document) (err error) { return } - chancount := len(this.Channels) if err = this.buildFeed(doc); err != nil || len(this.Channels) == 0 { return } - // Notify host of new channels - if chancount != len(this.Channels) && this.chanhandler != nil { - this.chanhandler(this, this.Channels[chancount:]) - } - // reset cache timeout values according to feed specified values (TTL) if this.EnforceCacheLimit && this.CacheTimeout < this.Channels[0].TTL { this.CacheTimeout = this.Channels[0].TTL