From 311a28436d223903811c4b85744feb50b77b1ccd Mon Sep 17 00:00:00 2001 From: gutmet Date: Fri, 30 Oct 2020 07:46:07 +0100 Subject: [PATCH] rss template: more status IDs --- rss.template | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/rss.template b/rss.template index 86a0700..b07b582 100644 --- a/rss.template +++ b/rss.template @@ -12,11 +12,11 @@ {{$status := $post}} {{if $status.Retweeted_status}} {{$status = $post.Retweeted_status}} -{{$post.User.Screen_name}} retweeted +@{{$post.User.Screen_name}} ({{$post.Id_str}}) retweeted {{end}} {{$user := $status.User.Screen_name}} -@{{$user}}{{if $status.In_reply_to_status_id_str}} in reply to {{$status.In_reply_to_status_id_str}}{{end}}:

{{$status.Text}} +@{{$user}} ({{$status.Id_str}}){{if $status.In_reply_to_status_id_str}} in reply to {{$status.In_reply_to_screen_name}} ({{$status.In_reply_to_status_id_str}}){{end}}:

{{$status.Text}} {{range $idxMedia, $media := $status.Extended_entities.Media}}
{{end}} @@ -24,7 +24,7 @@ {{if $status.Quoted_status}} {{$quotedUser := $status.Quoted_status.User.Screen_name}}

Quotes -@{{$quotedUser}}:

{{$status.Quoted_status.Text}} +@{{$quotedUser}} ({{$status.Quoted_status.Id_str}}):

{{$status.Quoted_status.Text}} {{range $idxMedia, $media := $status.Quoted_status.Extended_entities.Media}}
{{end}}