Class: YouTubeIt::Parser::VideoFeedParser
- Inherits:
-
FeedParser
- Object
- FeedParser
- YouTubeIt::Parser::VideoFeedParser
- Defined in:
- lib/youtube_it/parser.rb
Overview
:nodoc:
Direct Known Subclasses
Instance Method Summary collapse
Methods inherited from FeedParser
#initialize, #parse, #parse_videos
Constructor Details
This class inherits a constructor from YouTubeIt::Parser::FeedParser
Instance Method Details
#parse_content(content) ⇒ Object
334 335 336 337 338 339 |
# File 'lib/youtube_it/parser.rb', line 334 def parse_content(content) doc = (content.is_a?(REXML::Element)) ? content : REXML::Document.new(content) entry = doc.elements["entry"] parse_entry(entry) end |