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
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 |
items | -> | entries |
parser | [RW] |