Sha256: d49cfabd77ee98658c4d47fd11243d9392f6aed0f466b4ef277ceaa55356aafb
Contents?: true
Size: 584 Bytes
Versions: 5
Compression:
Stored size: 584 Bytes
Contents
xml.instruct! :xml, :version=>"1.0" xml.rss(:version=>"2.0", "xmlns:atom" => "http://www.w3.org/2005/Atom") do xml.channel do xml.title @feed_title xml.link actualities_url xml.description @feed_description xml.language @locale @actualities.each do |a| xml.item do xml.title a.title xml.description a.content xml.author "#{a.admin.email} (#{a.admin.fullname})" xml.pubDate a.created_at.strftime("%a, %d %b %Y %H:%M:%S %z") xml.link actualities_url(a) xml.guid actualities_url(a) end end end end
Version data entries
5 entries across 5 versions & 2 rubygems