diff --git a/namespace_podcast.go b/namespace_podcast.go
index fc20d1b..72ad4e9 100644
--- a/namespace_podcast.go
+++ b/namespace_podcast.go
@@ -379,3 +379,10 @@ type PodcastChat struct {
Space *string `xml:"space,attr"`
EmbedURL *string `xml:"embedUrl,attr"`
}
+
+// PodcastSingleItem denotes whether the feed contains a single item or multiple items.
+// It's a proposal described at https://github.com/Podcastindex-org/podcast-namespace/discussions/578
+type PodcastSingleItem struct {
+ XMLName xml.Name `xml:"podcast:singleItem"`
+ Value bool `xml:",chardata"`
+}
diff --git a/types.go b/types.go
index 19dcc51..55d1ec5 100644
--- a/types.go
+++ b/types.go
@@ -76,6 +76,7 @@ type Channel struct {
PodcastPersons []PodcastPerson
PodcastPodping *PodcastPodping
PodcastRemoteItems []PodcastRemoteItem
+ PodcastSingleItem *PodcastSingleItem
PodcastTXTs []PodcastTXT
PodcastTrailers []PodcastTrailer
PodcastValue *PodcastValue
diff --git a/types_test.go b/types_test.go
index b4e2481..4bd2c2b 100644
--- a/types_test.go
+++ b/types_test.go
@@ -71,6 +71,9 @@ func TestMarshal(t *testing.T) {
Caption: "Support “Bookworm Podcast”",
},
},
+ PodcastSingleItem: &types.PodcastSingleItem{
+ Value: false,
+ },
PodcastValue: &types.PodcastValue{
Type: "lightning",
Method: "keysend",
@@ -433,6 +436,7 @@ func TestMarshal(t *testing.T) {
podcast
John Smith
+ false
naj3eEZaWVVY9a38uhX8FekACyhtqP4JN
S6lpp-7ZCn8-dZfGc-OoyaG
Coming April 1st, 2021