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