summaryrefslogtreecommitdiff
path: root/app/views/rss/updates.xml.builder
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/rss/updates.xml.builder')
-rw-r--r--app/views/rss/updates.xml.builder4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/rss/updates.xml.builder b/app/views/rss/updates.xml.builder
index f09d6a74..f5cad621 100644
--- a/app/views/rss/updates.xml.builder
+++ b/app/views/rss/updates.xml.builder
@@ -2,13 +2,13 @@ xml.instruct!
2 2
3xml.feed(:xmlns => "http://www.w3.org/2005/Atom", "xml:base" => @host) do 3xml.feed(:xmlns => "http://www.w3.org/2005/Atom", "xml:base" => @host) do
4 xml.title("Chaos Computer Club Updates") 4 xml.title("Chaos Computer Club Updates")
5 xml.link(:href => "https://www.ccc.de/") 5 xml.link(:href => "#{@host}")
6 xml.link(:rel => "self", :href => "#{@host}/rss/updates.xml") 6 xml.link(:rel => "self", :href => "#{@host}/rss/updates.xml")
7 xml.updated((@items.map(&:updated_at).compact.max || Time.now).xmlschema) 7 xml.updated((@items.map(&:updated_at).compact.max || Time.now).xmlschema)
8 xml.author do 8 xml.author do
9 xml.name("Chaos Computer Club e.V.") 9 xml.name("Chaos Computer Club e.V.")
10 end 10 end
11 xml.id("https://www.ccc.de/rss/updates") 11 xml.id("#{@host}/rss/updates")
12 12
13 @items.each do |item| 13 @items.each do |item|
14 xml.entry do 14 xml.entry do