riviera: hawx.me/code/riviera/feed/rdf Index | Files

package rdf

import "hawx.me/code/riviera/feed/rdf"

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

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

It also supports three modules:

- Dublin Core: http://web.resource.org/rss/1.0/modules/dc/
- Syndication: http://web.resource.org/rss/1.0/modules/syndication/
- Content: http://web.resource.org/rss/1.0/modules/content/


Package Files


type Parser Uses

type Parser struct{}

func (Parser) CanRead Uses

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

func (Parser) Read Uses

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

Package rdf imports 4 packages (graph) and is imported by 2 packages. Updated 2018-02-19. Refresh now. Tools for package owners.