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

package jsonfeed

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

Package jsonfeed provides a parser for the jsonfeed format.

See https://jsonfeed.org/version/1

Index

Package Files

jsonfeed.go

type Parser Uses

type Parser struct{}

Parser is capable of reading jsonfeed feeds.

func (Parser) CanRead Uses

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 JSON and contains the understood jsonfeed version of https://jsonfeed.org/version/1.

func (Parser) Read Uses

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

Package jsonfeed imports 3 packages (graph) and is imported by 2 packages. Updated 2019-06-04. Refresh now. Tools for package owners.