Class: FeedParser::HyEntry

Inherits:
Object
  • Object
show all
Defined in:
lib/feedparser/builder/microformats.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeHyEntry

Returns a new instance of HyEntry.



122
123
124
# File 'lib/feedparser/builder/microformats.rb', line 122

def initialize
  @authors = []
end

Instance Attribute Details

#authorsObject

note: allow multiple authors



112
113
114
# File 'lib/feedparser/builder/microformats.rb', line 112

def authors
  @authors
end

#contentObject Also known as: content_html

Returns the value of attribute content.



104
105
106
# File 'lib/feedparser/builder/microformats.rb', line 104

def content
  @content
end

#content_textObject

Returns the value of attribute content_text.



105
106
107
# File 'lib/feedparser/builder/microformats.rb', line 105

def content_text
  @content_text
end

#nameObject Also known as: title

Returns the value of attribute name.



103
104
105
# File 'lib/feedparser/builder/microformats.rb', line 103

def name
  @name
end

#publishedObject

utc time



108
109
110
# File 'lib/feedparser/builder/microformats.rb', line 108

def published
  @published
end

#published_localObject

local time (with timezone/offset)



109
110
111
# File 'lib/feedparser/builder/microformats.rb', line 109

def published_local
  @published_local
end

#summaryObject

Returns the value of attribute summary.



106
107
108
# File 'lib/feedparser/builder/microformats.rb', line 106

def summary
  @summary
end

#urlObject

Returns the value of attribute url.



110
111
112
# File 'lib/feedparser/builder/microformats.rb', line 110

def url
  @url
end