Skip to content

Commit

Permalink
allow to have remote items at the channel level
Browse files Browse the repository at this point in the history
  • Loading branch information
joksas committed Nov 8, 2023
1 parent 48f0391 commit 6d7d671
Showing 1 changed file with 29 additions and 28 deletions.
57 changes: 29 additions & 28 deletions types.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,34 +51,35 @@ func (isPresent *NSBool) MarshalXMLAttr(name xml.Name) (xml.Attr, error) {

// Channel represents the podcast's feed.
type Channel struct {
XMLName xml.Name `xml:"channel"`
Copyright *string `xml:"copyright"`
Description *Description `xml:"description"`
Generator *string `xml:"generator"`
Language *string `xml:"language"`
LastBuildDate *Date `xml:"lastBuildDate"`
Link *string `xml:"link"`
Title *string `xml:"title"`
AtomLink *AtomLink `xml:"atom:link"`
ContentEncoded *ContentEncoded
ITunesAuthor *string `xml:"itunes:author"`
ITunesCategories []ITunesCategory
ITunesExplicit *bool `xml:"itunes:explicit"`
ITunesImage *ITunesImage
ITunesNewFeedURL *string `xml:"itunes:new-feed-url"`
ITunesOwner *ITunesOwner
ITunesType *string `xml:"itunes:type"`
PodcastFundings []PodcastFunding
PodcastGUID *PodcastGUID `xml:"podcast:guid"`
PodcastLocation *PodcastLocation
PodcastLocked *PodcastLocked
PodcastMedium *PodcastMedium `xml:"podcast:medium"`
PodcastPersons []PodcastPerson
PodcastPodping *PodcastPodping
PodcastTXTs []PodcastTXT
PodcastTrailers []PodcastTrailer
PodcastValue *PodcastValue
Items []Item
XMLName xml.Name `xml:"channel"`
Copyright *string `xml:"copyright"`
Description *Description `xml:"description"`
Generator *string `xml:"generator"`
Language *string `xml:"language"`
LastBuildDate *Date `xml:"lastBuildDate"`
Link *string `xml:"link"`
Title *string `xml:"title"`
AtomLink *AtomLink `xml:"atom:link"`
ContentEncoded *ContentEncoded
ITunesAuthor *string `xml:"itunes:author"`
ITunesCategories []ITunesCategory
ITunesExplicit *bool `xml:"itunes:explicit"`
ITunesImage *ITunesImage
ITunesNewFeedURL *string `xml:"itunes:new-feed-url"`
ITunesOwner *ITunesOwner
ITunesType *string `xml:"itunes:type"`
PodcastFundings []PodcastFunding
PodcastGUID *PodcastGUID `xml:"podcast:guid"`
PodcastLocation *PodcastLocation
PodcastLocked *PodcastLocked
PodcastMedium *PodcastMedium `xml:"podcast:medium"`
PodcastPersons []PodcastPerson
PodcastPodping *PodcastPodping
PodcastRemoteItems []PodcastRemoteItem
PodcastTXTs []PodcastTXT
PodcastTrailers []PodcastTrailer
PodcastValue *PodcastValue
Items []Item
}

// Item represents episode of a podcast.
Expand Down

0 comments on commit 6d7d671

Please sign in to comment.