Class: FeedMe::AtomFeedParser

Inherits:
FeedParser show all
Defined in:
lib/feed_me/feed_parser.rb

Instance Attribute Summary

Attributes inherited from AbstractParser

#format, #properties, #xml

Instance Method Summary collapse

Methods inherited from FeedParser

open, parse

Methods inherited from AbstractParser

build, #initialize, #to_hash

Constructor Details

This class inherits a constructor from FeedMe::AbstractParser

Instance Method Details

#entriesObject



39
40
41
42
43
# File 'lib/feed_me/feed_parser.rb', line 39

def entries
  xml.search('entry').map do |el|
    ItemParser.build(el, self.format, self)
  end
end