diff options
| author | erdgeist <erdgeist@erdgeist.org> | 2026-06-29 21:32:32 +0200 |
|---|---|---|
| committer | erdgeist <erdgeist@erdgeist.org> | 2026-06-30 19:21:09 +0200 |
| commit | 3bb2271850bab577f35291a174b1985aea2b2b55 (patch) | |
| tree | 986ebaad5824505d7e997002a0729956f1bb87a6 /app/views/rss | |
| parent | 3e81d3fabc663aafb942b3cac0a4cbfb5853e58b (diff) | |
Remove recent_changes RSS feed. It leaks unpublished drafts and the basic auth was only symbolic
Diffstat (limited to 'app/views/rss')
| -rw-r--r-- | app/views/rss/recent_changes.xml.builder | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/app/views/rss/recent_changes.xml.builder b/app/views/rss/recent_changes.xml.builder deleted file mode 100644 index cce3b5d..0000000 --- a/app/views/rss/recent_changes.xml.builder +++ /dev/null | |||
| @@ -1,29 +0,0 @@ | |||
| 1 | xml.instruct! | ||
| 2 | |||
| 3 | xml.feed(:xmlns => "http://www.w3.org/2005/Atom", "xml:base" => @host) do | ||
| 4 | xml.title("CCC.de Recent Change") | ||
| 5 | xml.link(:href => "https://www.ccc.de/") | ||
| 6 | xml.link(:rel => "self", :href => "/rss/updates.xml") | ||
| 7 | xml.updated(@items.first.updated_at.xmlschema) | ||
| 8 | xml.author do | ||
| 9 | xml.name("Chaos Computer Club e.V.") | ||
| 10 | end | ||
| 11 | xml.id("https://www.ccc.de/") | ||
| 12 | |||
| 13 | @items.each do |item| | ||
| 14 | xml.entry do | ||
| 15 | xml.title(item.title) | ||
| 16 | xml.link( | ||
| 17 | :href => "https://www.ccc.de/#{item.node.unique_path}", | ||
| 18 | :rel => "alternate" | ||
| 19 | ) | ||
| 20 | xml.id(content_url_helper(item.node.unique_path)) | ||
| 21 | xml.updated(item.updated_at.xmlschema) | ||
| 22 | xml.content(:type => "text") do | ||
| 23 | xml.div("changed by #{item.user.login}") | ||
| 24 | end | ||
| 25 | end | ||
| 26 | |||
| 27 | end | ||
| 28 | |||
| 29 | end | ||
