class 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