aboutsummaryrefslogtreecommitdiff
path: root/reader/json/json.go
diff options
context:
space:
mode:
Diffstat (limited to 'reader/json/json.go')
-rw-r--r--reader/json/json.go2
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
}