class RSS::Atom::Feed
Defines the top-level element of an Atom
Feed
Document. It consists of a number of children Entry
elements, and has the following attributes:
-
author
-
categories
-
category
-
content
-
contributor
-
entries (aliased as items)
-
entry
-
generator
-
icon
-
id
-
link
-
logo
-
rights
-
subtitle
-
title
-
updated
Reference: validator.w3.org/feed/docs/rfc4287.html#element.feed
Public Class Methods
new(version=nil, encoding=nil, standalone=nil)
click to toggle source
Creates a new Atom
feed
Calls superclass method
RSS::RootElementMixin::new
# File rss-0.2.9/lib/rss/atom.rb, line 313 def initialize(version=nil, encoding=nil, standalone=nil) super("1.0", version, encoding, standalone) @feed_type = "atom" @feed_subtype = "feed" end