class RSS::Atom::Feed::Entry
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
Constants
- Author
- Category
- Contributor
- Id
- Link
- Rights
- Title
- Updated
Public Instance Methods
Private Instance Methods
atom_validate(ignore_unknown_element, tags, uri)
click to toggle source
# File rss-0.3.1/lib/rss/atom.rb, line 581 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?()
click to toggle source
Calls superclass method
RSS::Element#have_required_elements?
# File rss-0.3.1/lib/rss/atom.rb, line 588 def have_required_elements? super and have_author? end
maker_target(items)
click to toggle source
# File rss-0.3.1/lib/rss/atom.rb, line 592 def maker_target(items) if items.respond_to?("items") # For backward compatibility items = items.items end items.new_item end