RssCategory.parse constructor

RssCategory.parse(
  1. XmlElement element
)

Parse constructor for the RssCategory class, used when 'parsing' a feed

Implementation

factory RssCategory.parse(XmlElement element) =>
    RssCategory(element.getAttribute('domain'), element.text);