OSDN Git Service

t#32025:comic rename
[pettanr/pettanr.git] / app / views / comics / show.atom.builder
diff --git a/app/views/comics/show.atom.builder b/app/views/comics/show.atom.builder
deleted file mode 100644 (file)
index 6f5c967..0000000
+++ /dev/null
@@ -1,25 +0,0 @@
-atom_feed(
-  :language => 'ja-JP',
-  :root_url => root_url,
-  :url => root_url(:format => :atom),
-  :id => root_url
-) do |feed|
-  feed.title MagicNumber['profile']['users']['caption']
-  feed.subtitle sanitize(MagicNumber['profile']['users']['description'], :tags => %w(a p img br))
-  feed.updated Time.now
-  feed.author {|author| author.name(MagicNumber['profile']['web_master'])}
-
-  @comic.stories.each do |story|
-    feed.entry(
-      story.panel,
-      :url => panel_url(story.panel),
-      :id => panel_url(story.panel),
-      :published => story.panel.updated_at,
-      :updated => story.panel.updated_at
-    ) do |item|
-      item.title(story.panel.caption)
-      item.content(story.panel.scenario, :type => 'html')
-      item.author {|author| author.name(story.panel.author.name)}
-    end
-  end
-end