Parent

Included Modules

FeedNormalizer::Feed

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

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

Constants

HTML_ELEMENTS

Elements that can contain HTML fragments.

SIMPLE_ELEMENTS

Elements that contain ‘plain’ Strings, with HTML escaped.

BLENDED_ELEMENTS

Elements that contain both HTML and escaped HTML.

ELEMENTS

Attributes

parser[RW]

Public Class Methods

new(wrapper) click to toggle source
     # File lib/structures.rb, line 224
224:     def initialize(wrapper)
225:       # set up associations (i.e. arrays where needed)
226:       @urls = []
227:       @authors = []
228:       @skip_hours = []
229:       @skip_days = []
230:       @items = []
231:       @parser = wrapper.parser.to_s
232:       @last_updated = nil
233:     end

Public Instance Methods

channel() click to toggle source
     # File lib/structures.rb, line 240
240:     def channel() self end
last_updated() click to toggle source
     # File lib/structures.rb, line 236
236:     def last_updated
237:       @last_updated = reparse(@last_updated)
238:     end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.