Class: YouTubeG::Parser::VideoFeedParser

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

Overview

:nodoc:

Direct Known Subclasses

VideosFeedParser

Instance Attribute Summary

Attributes inherited from FeedParser

#url_based

Instance Method Summary collapse

Methods inherited from FeedParser

#initialize, #parse

Constructor Details

This class inherits a constructor from YouTubeG::Parser::FeedParser

Instance Method Details

#parse_content(content) ⇒ Object



54
55
56
57
58
# File 'lib/youtube_g/parser.rb', line 54

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