rdf

package
v0.0.0-...-44d4e1f Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2022 License: MIT, CC0-1.0 Imports: 5 Imported by: 0

Documentation

Overview

Package rdf provides a parser for RDF Site Summary (RSS) 1.0.

See http://web.resource.org/rss/1.0/spec for the specification.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Parser

type Parser struct{}

Parser is capable of reading RDF Site Summary (RSS) 1.0 feeds.

It also supports three modules:

func (Parser) CanRead

func (Parser) CanRead(r io.Reader, charset func(charset string, input io.Reader) (io.Reader, error)) bool

CanRead returns true if the reader provides data that is XML and contains the expected namespace for an RDF Site Summary feed.

func (Parser) Read

func (Parser) Read(r io.Reader, _ *url.URL, charset func(string, io.Reader) (io.Reader, error)) (foundChannels []*common.Channel, err error)

Jump to

Keyboard shortcuts

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