rss

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

Documentation

Overview

Package rss provides a parser for RSS v2.0 feeds.

Commentary taken from http://www.rssboard.org/rss-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 reader RSS 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 XML and contains a known RSS version.

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