diff --git a/rssHome.template b/rssHome.template new file mode 100644 index 0000000..ad35748 --- /dev/null +++ b/rssHome.template @@ -0,0 +1,43 @@ + + + +Home +https://twitter.com/home +Twitter Home + +{{range $index, $post := .}} + +{{$post.Id_str}} +
{{$status.Text}} +{{range $idxMedia, $media := $status.Extended_entities.Media}} +
+{{end}} + +{{if $status.Quoted_status}} +{{$quotedUser := $status.Quoted_status.User.Screen_name}} +

Quotes +@{{$quotedUser}}:

{{$status.Quoted_status.Text}} +{{range $idxMedia, $media := $status.Quoted_status.Extended_entities.Media}} +
+{{end}} +{{end}} + +]]>
+ +https://twitter.com/{{$user}}/status/{{$status.Id_str}} +https://twitter.com/{{$user}}/status/{{$status.Id_str}} +{{$post.Created_at.Time.Format "Mon, 02 Jan 2006 15:04:05 -0700"}} +
+{{- end}} + +
+
+ diff --git a/rss.template b/rssTimeline.template similarity index 100% rename from rss.template rename to rssTimeline.template