summaryrefslogtreecommitdiffstats
path: root/schema/schema.go
diff options
context:
space:
mode:
authorsiddharth <s@ricketyspace.net>2021-11-28 20:19:31 -0500
committersiddharth <s@ricketyspace.net>2021-11-28 20:19:31 -0500
commit97cb168a09cf4b9acab87ed4aa061be1c1904c61 (patch)
treed76b0c848f052211e2ed4c0fec21d5f75adfcf89 /schema/schema.go
parent03cf36f11d7f09ccccbe52b2793b2c3f322d656a (diff)
schema: update NPREntry
Add 'Title'.
Diffstat (limited to 'schema/schema.go')
-rw-r--r--schema/schema.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/schema/schema.go b/schema/schema.go
index 44161ce..4d46102 100644
--- a/schema/schema.go
+++ b/schema/schema.go
@@ -17,6 +17,7 @@ type NPRLink struct {
type NPREntry struct {
XMLName xml.Name `xml:"item"`
Id string `xml:"guid"`
+ Title string `xml:"title"`
Pub string `xml:"pubDate"` // RFC1123Z
PubTime time.Time
Link NPRLink `xml:"link"`