rss

package
v0.0.0-...-c55a1d0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 22, 2023 License: AGPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Open

func Open(ctx context.Context, name string, _ feed.Search) (feed.Feed, error)

Open opens the RSS feed at `name`, trying to find it automatically using `rel=alternate` links.

Types

type RSS

type RSS struct {
	// contains filtered or unexported fields
}

RSS is a Feed implementation for RSS (and ATOM) feeds.

func (*RSS) Close

func (rss *RSS) Close() error

Close implements Feed.Close.

func (*RSS) Description

func (rss *RSS) Description() string

Description implements Feed.Description.

func (*RSS) FeedItem

func (rss *RSS) FeedItem() *gofeed.Item

FeedItem returns the current gofeed.Item, as navigated to using `Next`.

func (*RSS) Name

func (rss *RSS) Name() string

Name implements Feed.Name.

func (*RSS) Next

func (rss *RSS) Next() (*feed.Post, error)

Next implements Feed.Next.

func (*RSS) URL

func (rss *RSS) URL() string

URL implements Feed.URL.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL