+++ /dev/null
-xml.instruct!
-
-xml.rss("version" => "2.0",
- "xmlns:dc" => "http://purl.org/dc/elements/1.1/",
- "xmlns:atom" => "http://www.w3.org/2005/Atom") do
- xml.channel do
- xml.title MagicNumber['profile']['users']['caption']
- xml.link root_url
- xml.pubDate Time.now.rfc822
- xml.description sanitize(MagicNumber['profile']['users']['description'], :tags => %w(a p img br))
- xml.atom :link, "href" => @rss_url, "rel" => "self", "type" => "application/rss+xml"
-
- @comic.stories.each do |story|
- xml.item do
- xml.title story.panel.caption
- xml.link panel_url(story.panel)
- xml.guid panel_url(story.panel)
- xml.description story.panel.plain_scenario
- xml.pubDate story.panel.updated_at.to_formatted_s(:rfc822)
- xml.dc :creator, story.panel.author.name
- end
- end
- end
-end