Class: FeedNormalizer::Feed

### Home Classes Methods

### In Files

- lib/structures.rb

### Parent

Object

### Methods

- ::new
- #channel
- #last_updated

### Included Modules

- FeedNormalizer::Singular
- FeedNormalizer::ElementEquality
- FeedNormalizer::ElementCleaner
- FeedNormalizer::TimeFix

### Files

- History.txt
- License.txt
- Manifest.txt
- README.txt

### Class/Module Index

Quicksearch

- FeedNormalizer
- FeedNormalizer::ElementCleaner
- FeedNormalizer::ElementEquality
- FeedNormalizer::Entry
- FeedNormalizer::Feed
- FeedNormalizer::FeedNormalizer
- FeedNormalizer::HtmlCleaner
- FeedNormalizer::Parser
- FeedNormalizer::ParserRegistry
- FeedNormalizer::RewriteRelativeLinks
- FeedNormalizer::RubyRssParser
- FeedNormalizer::SimpleRssParser
- FeedNormalizer::Singular
- FeedNormalizer::TimeFix
- RSS
- RSS::Rss
- RSS::Rss::Channel
- RSS::Rss::Channel::Item
- RSS::Rss::Channel::Item::Enclosure
- SimpleRSS

No matching classes.

# 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

BLENDED_ELEMENTS

  Elements that contain both HTML and escaped HTML.

ELEMENTS
HTML_ELEMENTS

  Elements that can contain HTML fragments.

SIMPLE_ELEMENTS

  Elements that contain 'plain' Strings, with HTML escaped.

### Attributes

parser[RW]

### Public Class Methods

new(wrapper) click to toggle source

    # File lib/structures.rb, line 224
    def initialize(wrapper)
      # set up associations (i.e. arrays where needed)
      @urls = []
      @authors = []
      @skip_hours = []
      @skip_days = []
      @items = []
      @parser = wrapper.parser.to_s
      @last_updated = nil
    end

### Public Instance Methods

channel() click to toggle source

    # File lib/structures.rb, line 240
    def channel() self end

last_updated() click to toggle source

    # File lib/structures.rb, line 236
    def last_updated
      @last_updated = reparse(@last_updated)
    end

[Validate]

Generated with the Darkfish Rdoc Generator 2.