From 32139317099bb4bfa5392686042db91baac71afd Mon Sep 17 00:00:00 2001 From: Hikmat Jafarli Date: Sun, 20 Nov 2022 01:41:28 +0400 Subject: [PATCH] Add stuff --- feed.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/feed.go b/feed.go index 5fa9de9..fd70367 100644 --- a/feed.go +++ b/feed.go @@ -36,7 +36,7 @@ func UpdateFeed(name string) { continue } defer file.Close() - _, err = file.WriteString(item.Content) + _, err = file.WriteString(item.Description + "\n" + item.Link + "\n" + item.Published + "\n" + item.Content) if err != nil { log.Error("Failed to write content to a file for article titled '" + item.Title + "'") continue