Class: FeedMe::Rss1ItemParser

Inherits:
ItemParser show all
Defined in:
lib/feed_me/item_parser.rb

Instance Attribute Summary

Attributes inherited from AbstractParser

#feed

Instance Method Summary collapse

Methods inherited from AbstractParser

has_many, has_one, #initialize, properties, property, #to_hash

Constructor Details

This class inherits a constructor from FeedMe::AbstractParser

Instance Method Details

#xmlObject



35
36
37
38
# File 'lib/feed_me/item_parser.rb', line 35

def xml
  resource = super.xpath('@rdf:resource').to_s
  super.xpath("//rss1:item[@rdf:about='#{resource}']").first
end