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

package rss

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

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

Commentary taken from http://www.rssboard.org/rss-specification

Index

Package Files

rss.go

type Parser Uses

type Parser struct{}

Parser is capable of reader RSS 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 XML and contains a known RSS version.

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 rss imports 5 packages (graph) and is imported by 2 packages. Updated 2019-04-25. Refresh now. Tools for package owners.