arminreiter/FeedReader

Atom - categories parsing approach incorrect?

cpwood opened this issue · 1 comments

The approach for parsing Atom categories appears to be incorrect. I believe that this:

var categories = item.GetElements("category");
this.Categories = categories.Select(x => x.GetValue()).ToList();

should in fact be this:

var categories = item.GetElements("category");
this.Categories = categories.Select(x => (string)x.Attribute("term")).ToList();

thanks for the providing the fix and the links to all documentation. its fixed in last version 1.2.4.