Add testdata

RSS author parsing
This commit is contained in:
Chris Grindstaff 2013-03-27 23:05:27 -04:00
parent 87efb1906c
commit 9a77aeb2f6
5 changed files with 1559 additions and 5 deletions

1
rss.go
View file

@ -156,6 +156,7 @@ func (this *Feed) readRss2(doc *xmlx.Document) (err error) {
i.Author = Author{}
i.Author.Name = n.Value
}
i.Author.Name = item.S(ns, "creator")
i.Comments = item.S(ns, "comments")
i.Guid = item.S(ns, "guid")