OSDN Git Service

t#32025:comic rename
[pettanr/pettanr.git] / app / views / comics / show.rss.builder
diff --git a/app/views/comics/show.rss.builder b/app/views/comics/show.rss.builder
deleted file mode 100644 (file)
index 553f344..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
-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