miniflux.appminiflux.app/reader/rdf Index | Files

package rdf

import "miniflux.app/reader/rdf"

Index

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.

Source Files

dublincore.go parser.go rdf.go

Version
v1.0.46 (latest)
Published
Jul 22, 2023
Platform
linux/amd64
Imports
13 packages
Last checked
2 weeks ago

Tools for package owners.