Class: Hootenanny::Feed::AtomFeed
Constant Summary
FEED_TYPE_MAPPINGS
Instance Method Summary
collapse
Methods inherited from RSSFeed
#content, #content=, #to_s
#+, #-, #empty?, from_content, infer, #to_digest_feed, #type
Instance Method Details
#content_type ⇒ Object
13
14
15
|
# File 'lib/hootenanny/feed/atom_feed.rb', line 13
def content_type
'application/atom+xml'
end
|
#items ⇒ Object
9
10
11
|
# File 'lib/hootenanny/feed/atom_feed.rb', line 9
def items
@items ||= content.entries.map { |i| Hootenanny::Feed::AtomFeedItem.new i }
end
|