diff --git a/rss.template b/rss.template new file mode 100644 index 0000000..3da5438 --- /dev/null +++ b/rss.template @@ -0,0 +1,29 @@ + + + +Mastodon +https://mastodon.social +Mastodon + +{{range $index, $status := .}} + +{{$status.Account.Username}} ({{$status.ID}}) +
+{{replaceAll $status.Content "\n" "
"}} +{{range $idxMedia, $media := $status.MediaAttachments}} +
{{$media.Description}} +{{end}} +]]>
+ +{{$status.URL}} +{{$status.URL}} +{{$status.CreatedAt.Format "Mon, 02 Jan 2006 15:04:05 -0700"}} +
+{{- end}} + +
+
+