camlistore.org: camlistore.org/pkg/importer/feed/rdf Index | Files

package rdf

import "camlistore.org/pkg/importer/feed/rdf"

Package rdf defines XML data structures for an RDF feed.

Index

Package Files

rdf.go

type Channel Uses

type Channel struct {
    Title       string `xml:"title"`
    Description string `xml:"description"`
    Link        string `xml:"link"`
    Date        string `xml:"date"`
}

type Item Uses

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 Uses

type RDF struct {
    XMLName xml.Name `xml:"RDF"`
    Channel *Channel `xml:"channel"`
    Item    []*Item  `xml:"item"`
}

Package rdf imports 1 packages (graph) and is imported by 16 packages. Updated 2018-04-14. Refresh now. Tools for package owners.