Dwelling/homepage/views/rss.pug

22 lines
722 B
Plaintext
Raw Permalink Normal View History

2021-02-10 01:01:50 +04:00
doctype xml
rss(version='2.0')
channel
title Arav's dwelling
description Updates on my websites and infrastructure.
language en-gb
link= schemahost
2021-02-10 01:01:50 +04:00
each item in items
item
title= item.title
category= item.category
guid!= `${item.category.toLowerCase()}-${date_id(item.date, "UTC")}`
2022-01-22 23:20:26 +04:00
pubDate= date_rss(item.date)
link!= rssLink(schemahost, item.date, item.category.toLowerCase())
2021-02-10 01:01:50 +04:00
author!= author
description
| <![CDATA[
each line in item.body.split("\n")
p!= line
| ]]>