more tweaks
This commit is contained in:
parent
c2577ad3dc
commit
223d62f2a3
@ -49,7 +49,7 @@ app:get("/latest.json", function(self)
|
||||
return handlers.Latesthandler(self)
|
||||
end)
|
||||
|
||||
app:get("/latest.xml", function(self)
|
||||
app:get("/latest.rss", function(self)
|
||||
self.titles = page_titles
|
||||
return handlers.RSShandler(self)
|
||||
end)
|
||||
|
||||
@ -4,14 +4,16 @@
|
||||
xmlns:content="http://purl.org/rss/1.0/modules/content/">
|
||||
|
||||
<channel>
|
||||
<atom:link href="https://<%= titles['url'] %>/latest.rss"
|
||||
rel="self" type="application/rss+xml" />
|
||||
<title><%= titles['name'] %></title>
|
||||
<link>https://<%= titles['url'] %></link>
|
||||
<language>en-us</language>
|
||||
<itunes:author>Intergalactic FM</itunes:author>
|
||||
<description>Latest uploads</description>
|
||||
<itunes:explicit>false</itunes:explicit>
|
||||
<itunes:category>Music</itunes:category>
|
||||
<itunes:image>https://intergalactic.fm/themes/custom/ifm/logo.svg</itunes:image>
|
||||
<itunes:category text="Music"/>
|
||||
<itunes:image href="https://intergalactic.fm/themes/custom/ifm/logo.svg"/>
|
||||
|
||||
<% for i, file in ipairs(latestpath) do %>
|
||||
<item>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user