Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type RDF ¶ added in v2.1.2
type RDF struct { XMLName xml.Name `xml:"http://www.w3.org/1999/02/22-rdf-syntax-ns# RDF"` Channel RDFChannel `xml:"channel"` Items []RDFItem `xml:"item"` }
RDF sepcs: https://web.resource.org/rss/1.0/spec
type RDFAdapter ¶ added in v2.1.2
type RDFAdapter struct {
// contains filtered or unexported fields
}
func NewRDFAdapter ¶ added in v2.1.2
func NewRDFAdapter(rdf *RDF) *RDFAdapter
type RDFChannel ¶ added in v2.1.2
type RDFChannel struct { Title string `xml:"title"` Link string `xml:"link"` Description string `xml:"description"` dublincore.DublinCoreChannelElement }
type RDFItem ¶ added in v2.1.2
type RDFItem struct { Title string `xml:"http://purl.org/rss/1.0/ title"` Link string `xml:"link"` Description string `xml:"description"` dublincore.DublinCoreItemElement }
Click to show internal directories.
Click to hide internal directories.