diff options
| author | erdgeist <erdgeist@erdgeist.org> | 2026-08-27 02:14:38 +0200 |
|---|---|---|
| committer | erdgeist <erdgeist@erdgeist.org> | 2026-08-27 02:14:38 +0200 |
| commit | a0b182a7bbea636e6f51c8a55df10d9d6956947b (patch) | |
| tree | 5a0d37e2e4a02cb8b44112672d66b0d8f50e0caf /app/views/rss/updates.xml.builder | |
| parent | 03ebed0c04f5df2d3b23ae57836f79c6aacaa1e3 (diff) | |
Clean up rss and rdf feed. The items list was missing and host names were hard coded
Diffstat (limited to 'app/views/rss/updates.xml.builder')
| -rw-r--r-- | app/views/rss/updates.xml.builder | 4 |
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 | ||
| 3 | xml.feed(:xmlns => "http://www.w3.org/2005/Atom", "xml:base" => @host) do | 3 | xml.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 |
