Added pubDate to feed view
authorNeil Smith <neil.github@njae.me.uk>
Fri, 16 Oct 2009 07:15:59 +0000 (08:15 +0100)
committerNeil Smith <neil.github@njae.me.uk>
Fri, 16 Oct 2009 07:15:59 +0000 (08:15 +0100)
.gitignore [new file with mode: 0644]
app/views/feed/show.rss.builder

diff --git a/.gitignore b/.gitignore
new file mode 100644 (file)
index 0000000..a04c2d8
--- /dev/null
@@ -0,0 +1,6 @@
+*~
+*log
+database.yml
+*doc
+tmp/*
+
index dd8f41de987a565845f6abb9836d96ff8d74c1d4..88c0dd8137b3e8a51edcc4293ff44b2735f09cb1 100644 (file)
@@ -11,6 +11,7 @@ xml.rss :version => "2.0" do
         xml.title item.title
         xml.description item.description
         xml.guid item.id, :isPermaLink => 'false'
+        xml.pubDate(item.updated_at.to_s(:rfc822))
       end
     end
   end