Namespace
Methods
A
H
M
N
S
Included Modules
Class Public methods
new(version=nil, encoding=nil, standalone=nil)
# File ../ruby/lib/rss/atom.rb, line 241
def initialize(version=nil, encoding=nil, standalone=nil)
  super("1.0", version, encoding, standalone)
  @feed_type = "atom"
  @feed_subtype = "feed"
end
Instance Public methods
have_author?()
# File ../ruby/lib/rss/atom.rb, line 249
def have_author?
  authors.any? {|author| !author.to_s.empty?} or
    entries.any? {|entry| entry.have_author?(false)}
end
Instance Private methods
atom_validate(ignore_unknown_element, tags, uri)
# File ../ruby/lib/rss/atom.rb, line 255
def atom_validate(ignore_unknown_element, tags, uri)
  unless have_author?
    raise MissingTagError.new("author", tag_name)
  end
  validate_duplicate_links(links)
end
have_required_elements?()
# File ../ruby/lib/rss/atom.rb, line 262
def have_required_elements?
  super and have_author?
end
maker_target(maker)
# File ../ruby/lib/rss/atom.rb, line 266
def maker_target(maker)
  maker.channel
end
setup_maker_element(channel)
# File ../ruby/lib/rss/atom.rb, line 270
def setup_maker_element(channel)
  prev_dc_dates = channel.dc_dates.to_a.dup
  super
  channel.about = id.content if id
  channel.dc_dates.replace(prev_dc_dates)
end
setup_maker_elements(channel)
# File ../ruby/lib/rss/atom.rb, line 277
def setup_maker_elements(channel)
  super
  items = channel.maker.items
  entries.each do |entry|
    entry.setup_maker(items)
  end
end