rdf

package
v1.0.46 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 22, 2023 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Parse

func Parse(baseURL string, data io.Reader) (*model.Feed, *errors.LocalizedError)

Parse returns a normalized feed struct from a RDF feed.

Types

type DublinCoreEntryElement

type DublinCoreEntryElement struct {
	DublinCoreDate    string `xml:"http://purl.org/dc/elements/1.1/ date"`
	DublinCoreCreator string `xml:"http://purl.org/dc/elements/1.1/ creator"`
	DublinCoreContent string `xml:"http://purl.org/rss/1.0/modules/content/ encoded"`
}

DublinCoreEntryElement represents Dublin Core entry XML elements.

type DublinCoreFeedElement

type DublinCoreFeedElement struct {
	DublinCoreCreator string `xml:"http://purl.org/dc/elements/1.1/ channel>creator"`
}

DublinCoreFeedElement represents Dublin Core feed XML elements.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL