3 xml.rss("version" => "2.0",
4 "xmlns:dc" => "http://purl.org/dc/elements/1.1/",
5 "xmlns:atom" => "http://www.w3.org/2005/Atom") do
7 xml.title MagicNumber['profile']['users']['caption']
9 xml.pubDate Time.now.rfc822
10 xml.description sanitize(MagicNumber['profile']['users']['description'], :tags => %w(a p img br))
11 xml.atom :link, "href" => @rss_url, "rel" => "self", "type" => "application/rss+xml"
13 @panels.each do |panel|
15 xml.title panel.caption
16 xml.link panel_url(panel)
17 xml.guid panel_url(panel)
18 xml.description panel.plain_scenario
19 xml.pubDate panel.updated_at.to_formatted_s(:rfc822)
20 xml.dc :creator, panel.author.name