Defines a child Atom Entry element of an Atom Feed element. It has the following attributes:

  • author

  • category

  • categories

  • content

  • contributor

  • id

  • link

  • published

  • rights

  • source

  • summary

  • title

  • updated

Reference: validator.w3.org/feed/docs/rfc4287.html#element.entry

Namespace
Methods
H
Included Modules
Constants
Author = Feed::Author
 

Feed::Author

Category = Feed::Category
 

Feed::Category

Contributor = Feed::Contributor
 

Feed::Contributor

Id = Feed::Id
 

Feed::Id

Link = Feed::Link
 

Feed::Link

Rights = Feed::Rights
 

Feed::Rights

Title = Feed::Title
 

Feed::Title

Updated = Feed::Updated
 

Feed::Updated

Instance Public methods
have_author?(check_parent=true)

Returns whether any of the following are true:

  • There are any authors in the feed

  • If the parent element has an author and the check_parent parameter was given.

  • There is a source element that has an author

# File lib/rss/atom.rb, line 574
def have_author?(check_parent=true)
  authors.any? {|author| !author.to_s.empty?} or
    (check_parent and @parent and @parent.have_author?) or
    (source and source.have_author?)
end