aboutsummaryrefslogtreecommitdiffhomepage
path: root/reader/rdf/dublincore.go
diff options
context:
space:
mode:
Diffstat (limited to 'reader/rdf/dublincore.go')
-rw-r--r--reader/rdf/dublincore.go17
1 files changed, 17 insertions, 0 deletions
diff --git a/reader/rdf/dublincore.go b/reader/rdf/dublincore.go
new file mode 100644
index 0000000..f06456d
--- /dev/null
+++ b/reader/rdf/dublincore.go
@@ -0,0 +1,17 @@
+// Copyright 2019 Frédéric Guillot. All rights reserved.
+// Use of this source code is governed by the Apache 2.0
+// license that can be found in the LICENSE file.
+
+package rdf // import "miniflux.app/reader/rdf"
+
+// DublinCoreFeedElement represents Dublin Core feed XML elements.
+type DublinCoreFeedElement struct {
+ DublinCoreCreator string `xml:"http://purl.org/dc/elements/1.1/ channel>creator"`
+}
+
+// DublinCoreEntryElement represents Dublin Core entry XML elements.
+type DublinCoreEntryElement struct {
+ DublinCoreDate string `xml:"http://purl.org/dc/elements/1.1/ date"`
+ DublinCoreCreator string `xml:"http://purl.org/dc/elements/1.1/ creator"`
+ DublinCoreContent string `xml:"http://purl.org/rss/1.0/modules/content/ encoded"`
+}