diff options
author | 2024-05-02 16:15:47 +0200 | |
---|---|---|
committer | 2024-05-06 15:40:36 -0700 | |
commit | a33b1adf138efbaf442129d501dda198af18390d (patch) | |
tree | 6dd24c0af76c1a926286d5e0255e10590a23067e /internal/reader/opml/parser_test.go | |
parent | a631bd527d73b5b8d8e85343a1d5fe438e89dad7 (diff) | |
download | v2-a33b1adf138efbaf442129d501dda198af18390d.tar.gz v2-a33b1adf138efbaf442129d501dda198af18390d.tar.zst v2-a33b1adf138efbaf442129d501dda198af18390d.zip |
Add description field to feed settings
This adds a new "description" field to the feed settings. This allows to
save custom description regarding a feed. It is also exported and
imported as "description" in OPML.
Diffstat (limited to 'internal/reader/opml/parser_test.go')
-rw-r--r-- | internal/reader/opml/parser_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/reader/opml/parser_test.go b/internal/reader/opml/parser_test.go index 4dc855e6..9210c178 100644 --- a/internal/reader/opml/parser_test.go +++ b/internal/reader/opml/parser_test.go @@ -33,7 +33,7 @@ func TestParseOpmlWithoutCategories(t *testing.T) { ` var expected SubcriptionList - expected = append(expected, &Subcription{Title: "CNET News.com", FeedURL: "http://news.com.com/2547-1_3-0-5.xml", SiteURL: "http://news.com.com/"}) + expected = append(expected, &Subcription{Title: "CNET News.com", FeedURL: "http://news.com.com/2547-1_3-0-5.xml", SiteURL: "http://news.com.com/", Description: "Tech news and business reports by CNET News.com. Focused on information technology, core topics include computers, hardware, software, networking, and Internet media."}) subscriptions, err := Parse(bytes.NewBufferString(data)) if err != nil { |