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)
|
return handlers.Latesthandler(self)
|
||||||
end)
|
end)
|
||||||
|
|
||||||
app:get("/latest.rss", function(self)
|
app:get("/latest.xml", function(self)
|
||||||
self.titles = page_titles
|
self.titles = page_titles
|
||||||
return handlers.RSShandler(self)
|
return handlers.RSShandler(self)
|
||||||
end)
|
end)
|
||||||
|
|||||||
@ -3,8 +3,8 @@
|
|||||||
|
|
||||||
<channel>
|
<channel>
|
||||||
<atom:link href="https://<%= titles['url'] %>/latest.xml" rel="self" type="application/rss+xml" />
|
<atom:link href="https://<%= titles['url'] %>/latest.xml" rel="self" type="application/rss+xml" />
|
||||||
<title>Hotmixes</title>
|
<title><%= titles['name'] %></title>
|
||||||
<link><%= titles['url'] %></link>
|
<link>https://<%= titles['url'] %></link>
|
||||||
<description>Latest uploads</description>
|
<description>Latest uploads</description>
|
||||||
<% for i, file in ipairs(latestpath) do %>
|
<% for i, file in ipairs(latestpath) do %>
|
||||||
<item>
|
<item>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user