Dwelling/homepage/views/rss.pug

22 lines
722 B
Plaintext

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