Class: FeedNormalizer::Entry

### Home Classes Methods

### In Files

- lib/structures.rb

### Parent

Object

### Methods

- ::new
- #content
- #date_published

### Included Modules

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

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

Represents a feed item entry. Available fields are:

    * content
    * description
    * title
    * date_published
    * urls / url
    * id
    * authors / author
    * copyright
    * categories

### Constants

BLENDED_ELEMENTS
ELEMENTS
HTML_ELEMENTS
SIMPLE_ELEMENTS

### Public Class Methods

new() click to toggle source

    # File lib/structures.rb, line 173
    def initialize
      @urls = []
      @authors = []
      @categories = []
      @enclosures = []
      @date_published, @content = nil
    end

### Public Instance Methods

content() click to toggle source

    # File lib/structures.rb, line 187
    def content
      @content = rewrite_relative_links(@content, url)
    end

date_published() click to toggle source

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

[Validate]

Generated with the Darkfish Rdoc Generator 2.