From 17e98a002e8b665db280301cf7cc751b2aafa420 Mon Sep 17 00:00:00 2001 From: gutmet Date: Thu, 29 Oct 2020 19:33:56 +0100 Subject: [PATCH] just a single rss --- rssHome.template => rss.template | 8 +++---- rssTimeline.template | 41 -------------------------------- 2 files changed, 4 insertions(+), 45 deletions(-) rename rssHome.template => rss.template (88%) delete mode 100644 rssTimeline.template diff --git a/rssHome.template b/rss.template similarity index 88% rename from rssHome.template rename to rss.template index ad35748..86a0700 100644 --- a/rssHome.template +++ b/rss.template @@ -2,17 +2,17 @@ Home -https://twitter.com/home -Twitter Home +https://twitter.com +Twitter {{range $index, $post := .}} -{{$post.Id_str}} +{{$post.User.Screen_name}} ({{$post.Id_str}}) - - -$$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}} - -
-
-