Skip to content

Commit

Permalink
Add stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
jafarlihi committed Nov 19, 2022
1 parent e7266a1 commit 3213931
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion feed.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3213931

Please sign in to comment.