From a0b182a7bbea636e6f51c8a55df10d9d6956947b Mon Sep 17 00:00:00 2001 From: erdgeist Date: Thu, 27 Aug 2026 02:14:38 +0200 Subject: Clean up rss and rdf feed. The items list was missing and host names were hard coded --- app/views/rss/updates.xml.builder | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'app/views/rss/updates.xml.builder') 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! xml.feed(:xmlns => "http://www.w3.org/2005/Atom", "xml:base" => @host) do xml.title("Chaos Computer Club Updates") - xml.link(:href => "https://www.ccc.de/") + xml.link(:href => "#{@host}") xml.link(:rel => "self", :href => "#{@host}/rss/updates.xml") xml.updated((@items.map(&:updated_at).compact.max || Time.now).xmlschema) xml.author do xml.name("Chaos Computer Club e.V.") end - xml.id("https://www.ccc.de/rss/updates") + xml.id("#{@host}/rss/updates") @items.each do |item| xml.entry do -- cgit v1.3