require 'htmlentities'
module Feed2Mail
class Item
attr_reader :uri, :title, :description
def initialize(entry)
@uri = entry[:guid] || entry[:link]
coder = HTMLEntities.new
@title = coder.decode entry[:title]
@description = coder.decode entry[:description]
end
end
end