server: add RSS feed support

Signed-off-by: Naman Sood <mail@nsood.in>
This commit is contained in:
Naman Sood 2022-06-22 23:25:25 -05:00
parent 8f90a0a4d4
commit a1ad26124c
5 changed files with 96 additions and 19 deletions

7
templates/rss-item.xml Normal file
View file

@ -0,0 +1,7 @@
<item>
<title>{{metadata.title}}</title>
<link>{{getFullUrl slug}}</link>
<description>{{metadata.summary}}</description>
<author>mail@nsood.in</author>
<pubDate>{{rssDatetime metadata.time}}</pubDate>
</item>