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}} + +
+
+