Overview ▹
Overview ▾
Package rdf defines XML data structures for an RDF feed.
Index
Package files
type Channel
type Channel struct { Title string `xml:"title"` Description string `xml:"description"` Link string `xml:"link"` Date string `xml:"date"` }
type Item
type Item struct { About string `xml:"about,attr"` Format string `xml:"format"` Date string `xml:"date"` Source string `xml:"source"` Creator string `xml:"creator"` Title string `xml:"title"` Link string `xml:"link"` Description string `xml:"description"` Content string `xml:"encoded"` }
type RDF
type RDF struct { XMLName xml.Name `xml:"RDF"` Channel *Channel `xml:"channel"` Item []*Item `xml:"item"` }