| Class | Syndication::Atom::Feed |
| In: |
lib/syndication/google.rb
lib/syndication/atom.rb |
| Parent: | Syndication::Container |
Represents a parsed Atom feed, as returned by Syndication::Atom::Parser.
| author | [RW] | Author of feed as a Syndication::Person object. |
| categories | [R] | Array of Syndication::Category objects representing taxonomic categories for the feed. |
| contributors | [R] | Array of Syndication::Person objects representing contributors. |
| entries | [R] | Array of Syndication::Entry objects representing the entries in the feed. |
| generator | [RW] | Software which generated feed as a String. |
| icon | [RW] | URI of icon to represent channel as a String. |
| id | [RW] | Globally unique ID of feed as a String. |
| info | [RW] | Atom 0.3 info element (obsolete) |
| links | [R] | Array of Syndication::Link objects representing various types of link. |
| logo | [RW] | URI of logo for channel as a String. |
| rights | [RW] | Copyright or other rights information as a String. |
| subtitle | [RW] | Subtitle of feed as a Syndication::Data object. |
| title | [RW] | Title of feed as a Syndication::Data object. |
| updated | [W] | Last update time, accepts an ISO8601 date/time as per the Atom spec. |
Add a Syndication::Category value to the feed
# File lib/syndication/atom.rb, line 347 def category=(obj) if !defined? @categories @categories = Array.new end @categories.push(obj) end
Add a Syndication::Person contributor to the feed
# File lib/syndication/atom.rb, line 363 def contributor=(obj) if !defined? @contributors @contributors = Array.new end @contributors.push(obj) end
Add a Syndication::Entry to the feed
# File lib/syndication/atom.rb, line 355 def entry=(obj) if !defined? @entries @entries = Array.new end @entries.push(obj) end
Add a Syndication::Link to the feed
# File lib/syndication/atom.rb, line 371 def link=(obj) if !defined? @links @links = Array.new end @links.push(obj) end