rss tweaks
This commit is contained in:
parent
5c7626db66
commit
42ebff2c7c
@ -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)
|
||||
|
||||
@ -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>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user