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

package atom

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

Package atom provides a parser for Atom feeds.

Commentary taken from https://tools.ietf.org/html/rfc4287

Index

Package Files

atom.go

type Parser Uses

type Parser struct{}

Parser is capable of reading Atom 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 the expected namespace for an Atom feed.

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