diff options
author | Frédéric Guillot <fred@miniflux.net> | 2019-12-23 13:29:53 -0800 |
---|---|---|
committer | Frédéric Guillot <fred@miniflux.net> | 2019-12-23 13:51:42 -0800 |
commit | 1b33bb3d1cc01067fa8091b0e73a389fc189958c (patch) | |
tree | 8e8ea61cc3bc4a2e4d784bebe6156df705fc41e1 /reader/rss/dublincore.go | |
parent | 33fdb2c489727f8af972d69506fef02c121c4fd0 (diff) |
Improve Podcast support (iTunes and Google Play feeds)
- Add support for Google Play XML namespace
- Improve existing iTunes namespace implementation
Diffstat (limited to 'reader/rss/dublincore.go')
-rw-r--r-- | reader/rss/dublincore.go | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/reader/rss/dublincore.go b/reader/rss/dublincore.go new file mode 100644 index 0000000..c461ece --- /dev/null +++ b/reader/rss/dublincore.go @@ -0,0 +1,12 @@ +// 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 rss // import "miniflux.app/reader/rss" + +// DublinCoreElement represents Dublin Core XML elements. +type DublinCoreElement 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"` +} |