Class: FeedNormalizer::ParserRegistry

### Home Classes Methods

### In Files

- lib/feed-normalizer.rb

### Parent

Object

### Methods

- ::parsers
- ::register

### 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::ParserRegistry

The parser registry keeps a list of current parsers that are available.

### Public Class Methods

parsers() click to toggle source

Returns a list of currently registered parsers, in order of priority.

    # File lib/feed-normalizer.rb, line 81
    def self.parsers
      @@parsers.sort_by { |parser| parser.priority }
    end

register(parser) click to toggle source

    # File lib/feed-normalizer.rb, line 76
    def self.register(parser)
      @@parsers << parser
    end

[Validate]

Generated with the Darkfish Rdoc Generator 2.