From 0b8e09b3b365f6a80af03b66c5b7ba538482151c Mon Sep 17 00:00:00 2001 From: Sebastian Schlingmann Date: Fri, 26 Aug 2011 09:50:14 +0200 Subject: [PATCH] fixed item.Links == channel.Links --- rss.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rss.go b/rss.go index 37a9221..fd73b5d 100644 --- a/rss.go +++ b/rss.go @@ -148,7 +148,7 @@ func (this *Feed) readRss2(doc *xmlx.Document) (err os.Error) { i.Title = item.S(ns, "title") i.Description = item.S(ns, "description") - tl = node.SelectNodes(ns, "link") + tl = item.SelectNodes(ns, "link") for _, v := range tl { lnk := new(Link) lnk.Href = v.Value