Documentation ¶
Overview ¶
cmd/create.go
cmd/opml.go
cmd/root.go
cmd/rss.go
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateOPML ¶
func GenerateOPML()
func GenerateRSS ¶
func GenerateRSS()
Types ¶
type Body ¶
type Body struct {
Outlines []Outline `xml:"outline"`
}
Body contains the main content of the OPML document.
type Channel ¶
type Channel struct { Title string `xml:"title"` Link string `xml:"link"` Description string `xml:"description"` LastBuildDate string `xml:"lastBuildDate"` Items []Item `xml:"item"` }
Channel represents an RSS channel.
type Item ¶
type Item struct { Title string `xml:"title"` Link string `xml:"link"` Description string `xml:"description"` Guid string `xml:"guid"` PubDate string `xml:"pubDate"` }
Item represents a single entry in an RSS feed.
type OPML ¶
type OPML struct { XMLName xml.Name `xml:"opml"` Version string `xml:"version,attr"` Head Head `xml:"head"` Body Body `xml:"body"` }
OPML represents the structure of an OPML document.
type Outline ¶
type Outline struct { Text string `xml:"text,attr"` Type string `xml:"type,attr,omitempty"` XMLURL string `xml:"xmlUrl,attr,omitempty"` HTMLURL string `xml:"htmlUrl,attr,omitempty"` }
Outline represents a single outline entry in an OPML document.
Click to show internal directories.
Click to hide internal directories.