diff --git a/exchange/exchange.go b/exchange/exchange.go index 873cd84..a3d193b 100644 --- a/exchange/exchange.go +++ b/exchange/exchange.go @@ -4,6 +4,7 @@ import ( "bytes" "encoding/json" "errors" + "fmt" "local1/logger" "local3/rssmon2/monitor" "local3/rssmon2/rss" @@ -149,6 +150,7 @@ func (ex *Exchange) GetFeedTagRSS(tag string) (string, error) { sort.Slice(combinedItems, func(i, j int) bool { return !combinedItems[i].TS.Before(combinedItems[j].TS) }) + combinedFeed.Title = fmt.Sprintf("T: %v", tag) return rss.ToRSS(combinedFeed, combinedItems) }