Class: YouTubeIt::Parser::VideoFeedParser

Inherits:
FeedParser
  • Object
show all
Defined in:
lib/youtube_it/parser.rb

Overview

:nodoc:

Direct Known Subclasses

VideosFeedParser

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



68
69
70
71
72
# File 'lib/youtube_it/parser.rb', line 68

def parse_content(content)
  doc = REXML::Document.new(content)
  entry = doc.elements["entry"]
  parse_entry(entry)
end