Skip to content

Commit

Permalink
Merge pull request #14 from planetary-social/fix-long-form-content
Browse files Browse the repository at this point in the history
Fix a merge error which caused item content to be removed
  • Loading branch information
boreq authored Jul 11, 2023
2 parents a9459b8 + ef3ff6e commit 29eec6b
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions pkg/feed/feed.go
Original file line number Diff line number Diff line change
Expand Up @@ -108,11 +108,6 @@ func ParseFeed(url string) (*gofeed.Feed, error) {
return nil, err
}

// cleanup a little so we don't store too much junk
for i := range feed.Items {
feed.Items[i].Content = ""
}

marshal, err := json.Marshal(feed)
if err == nil {
err = custom_cache.Set(url, string(marshal))
Expand Down

0 comments on commit 29eec6b

Please sign in to comment.