diff options
author | 2023-02-25 04:52:45 +0000 | |
---|---|---|
committer | 2023-02-24 20:52:45 -0800 | |
commit | 8f9ccc6540be9d637b812985936f064bada8fcf3 (patch) | |
tree | 7d098af52e1f8946c1cd26ee214307b276b5f273 /reader/json/json.go | |
parent | ff8d68c151645de62d48fba62d2f591eab8f7383 (diff) | |
download | v2-8f9ccc6540be9d637b812985936f064bada8fcf3.tar.gz v2-8f9ccc6540be9d637b812985936f064bada8fcf3.tar.zst v2-8f9ccc6540be9d637b812985936f064bada8fcf3.zip |
Parse `<category>` from Feeds (RSS, Atom and JSON)
Diffstat (limited to 'reader/json/json.go')
-rw-r--r-- | reader/json/json.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/reader/json/json.go b/reader/json/json.go index 589d7cb0..759b10c7 100644 --- a/reader/json/json.go +++ b/reader/json/json.go @@ -43,6 +43,7 @@ type jsonItem struct { Authors []jsonAuthor `json:"authors"` Author jsonAuthor `json:"author"` Attachments []jsonAttachment `json:"attachments"` + Tags []string `json:"tags"` } type jsonAttachment struct { @@ -181,6 +182,7 @@ func (j *jsonItem) Transform() *model.Entry { entry.Content = j.GetContent() entry.Title = strings.TrimSpace(j.GetTitle()) entry.Enclosures = j.GetEnclosures() + entry.Tags = j.Tags return entry } |