Atom - categories parsing approach incorrect?
cpwood opened this issue · 1 comments
cpwood commented
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();
arminreiter commented
thanks for the providing the fix and the links to all documentation. its fixed in last version 1.2.4.