Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Podcast ¶
type Podcast struct { XMLName xml.Name `xml:"rss"` Text string `xml:",chardata"` Version string `xml:"version,attr"` Itunes string `xml:"itunes,attr"` Atom string `xml:"atom,attr"` Googleplay string `xml:"googleplay,attr"` Channel struct { Text string `xml:",chardata"` Title string `xml:"title"` Link struct { Text string `xml:",chardata"` Href string `xml:"href,attr"` Rel string `xml:"rel,attr"` Type string `xml:"type,attr"` } `xml:"link"` Description string `xml:"description"` Owner struct { Text string `xml:",chardata"` Name string `xml:"name"` Email string `xml:"email"` } `xml:"owner"` Author string `xml:"author"` Image struct { Text string `xml:",chardata"` Href string `xml:"href,attr"` // change here when generating a custom feed URL string `xml:"url"` Title string `xml:"title"` Link string `xml:"link"` } `xml:"image"` Block string `xml:"block"` Language string `xml:"language"` PubDate string `xml:"pubDate"` LastBuildDate string `xml:"lastBuildDate"` Item []struct { Text string `xml:",chardata"` Title string `xml:"title"` Link string `xml:"link"` Description string `xml:"description"` Enclosure struct { Text string `xml:",chardata"` URL string `xml:"url,attr"` // change here when generating a custom feed Length string `xml:"length,attr"` Type string `xml:"type,attr"` } `xml:"enclosure"` Guid struct { Text string `xml:",chardata"` IsPermaLink string `xml:"isPermaLink,attr"` } `xml:"guid"` PubDate string `xml:"pubDate"` } `xml:"item"` } `xml:"channel"` }
func (*Podcast) GenerateLocalFeed ¶
Click to show internal directories.
Click to hide internal directories.