From 8dea44f5719961b7bd24f4b1373f48c5006e695f Mon Sep 17 00:00:00 2001 From: hukl Date: Sat, 31 Oct 2009 20:32:56 +0100 Subject: temporary xml feed fix --- app/views/rss/updates.xml.builder | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/rss/updates.xml.builder b/app/views/rss/updates.xml.builder index 3cca944..f9b5ef8 100644 --- a/app/views/rss/updates.xml.builder +++ b/app/views/rss/updates.xml.builder @@ -4,7 +4,7 @@ xml.feed(:xmlns => "http://www.w3.org/2005/Atom", "xml:base" => @host) do xml.title("Chaos Computer Club Updates") xml.link(:href => "http://www.ccc.de/") xml.link(:rel => "self", :href => "/rss/updates.xml") - xml.updated(@items.first.published_at.xmlschema) + xml.updated((@items.first.published_at || @items.first.updated_at).xmlschema) xml.author do xml.name("Chaos Computer Club e.V.") end -- cgit v1.3