fixed item.Links == channel.Links

This commit is contained in:
Sebastian Schlingmann 2011-08-26 09:50:14 +02:00
parent 0f58a6b395
commit 0b8e09b3b3
1 changed files with 1 additions and 1 deletions

2
rss.go
View File

@ -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