class FeedzirraPodcast::Parser::RSS2

Attributes

feed_url[RW]

Public Instance Methods

feedburner?() click to toggle source
# File lib/feedzirra-podcast/parser/rss2.rb, line 73
def feedburner?
  !!feedburner_info_xmlns || !!feedburner_info_uri
end
image() click to toggle source
# File lib/feedzirra-podcast/parser/rss2.rb, line 47
def image
  _url = image_object ? image_object.url : nil
  _title = image_object ? image_object.title : nil
  _link = image_object ? image_object.link : nil
  _width = image_object ? image_object.width : nil
  _height = image_object ? image_object.height : nil
  _description = image_object ? image_object.description : nil

  Struct.new(:url, :title, :link, :width, :height, :description).new(_url, _title, _link, _width, _height, _description)
end
lastBuildDate() click to toggle source
# File lib/feedzirra-podcast/parser/rss2.rb, line 66
def lastBuildDate
  Time.parse(last_build_date_string).utc if last_build_date_string.present?
rescue ArgumentError
  nil
end
Also aliased as: last_build_date
last_build_date()
Alias for: lastBuildDate
managing_editor() click to toggle source
# File lib/feedzirra-podcast/parser/rss2.rb, line 77
def managing_editor
  managingEditor
end
Also aliased as: managingeditor
managingeditor()
Alias for: managing_editor
pubDate() click to toggle source
# File lib/feedzirra-podcast/parser/rss2.rb, line 58
def pubDate
  Time.parse(pub_date_string).utc if pub_date_string.present?
rescue ArgumentError
  nil
end
Also aliased as: pub_date, pubdate
pub_date()
Alias for: pubDate
pubdate()
Alias for: pubDate
web_master() click to toggle source
# File lib/feedzirra-podcast/parser/rss2.rb, line 82
def web_master
  webMaster
end
Also aliased as: webmaster
webmaster()
Alias for: web_master