Class FeedNormalizer::Feed
In: lib/structures.rb
Parent: Object

Represents the root element of a feed. Available fields are:

 * title
 * description
 * id
 * last_updated
 * copyright
 * authors / author
 * urls / url
 * image
 * generator
 * items / channel

Methods

channel   last_updated   new  

Included Modules

Singular ElementEquality ElementCleaner TimeFix

Constants

HTML_ELEMENTS = [:title, :description]   Elements that can contain HTML fragments.
SIMPLE_ELEMENTS = [:id, :last_updated, :copyright, :authors, :urls, :image, :generator, :ttl, :skip_hours, :skip_days]   Elements that contain ‘plain’ Strings, with HTML escaped.
BLENDED_ELEMENTS = [:items]   Elements that contain both HTML and escaped HTML.
ELEMENTS = HTML_ELEMENTS + SIMPLE_ELEMENTS + BLENDED_ELEMENTS

External Aliases

items -> entries

Attributes

parser  [RW] 

Public Class methods

Public Instance methods

[Validate]