Class: FeedMe::Rss1ItemParser
- Inherits:
-
ItemParser
- Object
- AbstractParser
- ItemParser
- FeedMe::Rss1ItemParser
- Defined in:
- lib/feed_me/item_parser.rb
Instance Attribute Summary
Attributes inherited from AbstractParser
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
#xml ⇒ Object
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 |