Use Nokogiri to parse both RSS and Atom feeds
Performance is approximately same as for the current version