rss tweaks

This commit is contained in:
dreamer 2026-03-26 14:36:26 +01:00
parent 5c7626db66
commit 42ebff2c7c
2 changed files with 3 additions and 3 deletions

View File

@ -49,7 +49,7 @@ app:get("/latest.json", function(self)
return handlers.Latesthandler(self)
end)
app:get("/latest.rss", function(self)
app:get("/latest.xml", function(self)
self.titles = page_titles
return handlers.RSShandler(self)
end)

View File

@ -3,8 +3,8 @@
<channel>
<atom:link href="https://<%= titles['url'] %>/latest.xml" rel="self" type="application/rss+xml" />
<title>Hotmixes</title>
<link><%= titles['url'] %></link>
<title><%= titles['name'] %></title>
<link>https://<%= titles['url'] %></link>
<description>Latest uploads</description>
<% for i, file in ipairs(latestpath) do %>
<item>