Home Download Docs Code Community
import "perkeep/pkg/importer/feed/rdf"
Overview
Index

Overview ▾

Package rdf defines XML data structures for an RDF feed.

Index

type Channel
type Item
type RDF

Package files

rdf.go

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"`
}
Website layout inspired by memcached.
Content by the authors.