2023-02-05 04:43:34 +04:00
|
|
|
:go:func RSS(host, author string, posts []mindflow.Post, r *http.Request)
|
|
|
|
doctype xml
|
|
|
|
|
|
|
|
rss(version='2.0')
|
|
|
|
channel
|
|
|
|
title Arav's dwelling
|
|
|
|
description Updates on my websites and infrastructure.
|
|
|
|
language en-gb
|
2023-09-23 19:56:12 +04:00
|
|
|
| <link>#{host}</link>
|
2023-02-05 04:43:34 +04:00
|
|
|
|
|
|
|
each post in posts
|
|
|
|
item
|
|
|
|
title= post.Title
|
2023-05-10 03:19:44 +04:00
|
|
|
category= post.Category.Name
|
|
|
|
guid!= `${post.PostID()}`
|
2023-02-05 04:43:34 +04:00
|
|
|
pubDate= util.ToClientTimezone(post.Date, r).Format("20060102-150405")
|
2023-09-23 19:56:12 +04:00
|
|
|
| <link>#{host}/mindflow##{post.PostID()}</link>
|
2023-02-05 04:43:34 +04:00
|
|
|
author!= author
|
|
|
|
description
|
|
|
|
| <![CDATA[
|
|
|
|
each line in strings.Split(post.Body, "\n")
|
|
|
|
p!= line
|
|
|
|
| ]]>
|