jsonfeed

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: 4 Imported by: 0

Documentation

Overview

Package jsonfeed provides a parser for the jsonfeed format.

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

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 jsonfeed feeds.

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

func (Parser) Read

func (Parser) Read(r io.Reader, _ *url.URL, charset func(charset string, input 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