Class: Tubeclip::Parser::VideoFeedParser
- Inherits:
-
FeedParser
- Object
- FeedParser
- Tubeclip::Parser::VideoFeedParser
- Defined in:
- lib/tubeclip/parser.rb
Overview
:nodoc:
Direct Known Subclasses
Instance Method Summary collapse
Methods inherited from FeedParser
#initialize, #parse, #parse_single_entry, #parse_videos, #remove_bom
Constructor Details
This class inherits a constructor from Tubeclip::Parser::FeedParser
Instance Method Details
#parse_content(content) ⇒ Object
396 397 398 399 400 401 |
# File 'lib/tubeclip/parser.rb', line 396 def parse_content(content) doc = (content.is_a?(Nokogiri::XML::Document)) ? content : Nokogiri::XML(content) entry = doc.at "entry" parse_entry(entry) end |