From 77da673c5dbc1c4d20565833dc34352a23bb272c Mon Sep 17 00:00:00 2001 From: gutmet Date: Thu, 29 Oct 2020 18:00:06 +0100 Subject: [PATCH] rss template --- rss.template | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 rss.template diff --git a/rss.template b/rss.template new file mode 100644 index 0000000..9b9939c --- /dev/null +++ b/rss.template @@ -0,0 +1,41 @@ + + + +$$USERNAME$$ +https://twitter.com/$$USERNAME$$ +$$USERNAME$$ + +{{range $index, $post := .}} + +{{$post.Id_str}} +
{{$status.Text}} +{{range $idxMedia, $media := $status.Extended_entities.Media}} + +{{end}} + +{{if $status.Quoted_status}} +

Quotes +@{{$status.Quoted_status.User.Screen_name}}:

{{$status.Quoted_status.Text}} +{{range $idxMedia, $media := $status.Quoted_status.Extended_entities.Media}} + +{{end}} +{{end}} + +]]>
+ +https://twitter.com/$$USERNAME$$/status/{{$post.Id_str}} +https://twitter.com/$$USERNAME$$/status/{{$post.Id_str}} +{{$post.Created_at.Time.Format "Mon, 02 Jan 2006 15:04:05 -0700"}} +
+{{- end}} + +
+
+