Merge pull request #8 from dersebi/master

Fixes issue #7
This commit is contained in:
jimt 2011-08-26 04:51:54 -07:00
commit 961ddaf378
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.Title = item.S(ns, "title")
i.Description = item.S(ns, "description") i.Description = item.S(ns, "description")
tl = node.SelectNodes(ns, "link") tl = item.SelectNodes(ns, "link")
for _, v := range tl { for _, v := range tl {
lnk := new(Link) lnk := new(Link)
lnk.Href = v.Value lnk.Href = v.Value