Documentation
¶
Overview ¶
Package atom generates Atom feed output from aggregated entries.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Author ¶
type Author struct {
Name string `xml:"name"`
Email string `xml:"email,omitempty"`
URI string `xml:"uri,omitempty"`
}
Author represents an Atom author element.
type Category ¶
type Category struct {
Term string `xml:"term,attr"`
}
Category represents an Atom category element.
type Entry ¶
type Entry struct {
Title string `xml:"title"`
Link []Link `xml:"link"`
ID string `xml:"id"`
Updated string `xml:"updated"`
Published string `xml:"published,omitempty"`
Author *Author `xml:"author,omitempty"`
Summary *Content `xml:"summary,omitempty"`
Content *Content `xml:"content,omitempty"`
Category []Category `xml:"category,omitempty"`
}
Entry represents an Atom entry element.
type Feed ¶
type Feed struct {
XMLName xml.Name `xml:"feed"`
XMLNS string `xml:"xmlns,attr"`
Title string `xml:"title"`
Link []Link `xml:"link"`
Updated string `xml:"updated"`
ID string `xml:"id"`
Author *Author `xml:"author,omitempty"`
Entries []Entry `xml:"entry"`
}
Feed represents an Atom feed.
Click to show internal directories.
Click to hide internal directories.