rss

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: May 1, 2025 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Source

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

Source implements an RSS/Atom feed source.

func New

func New() *Source

New creates a new RSS source with default settings.

func (*Source) Configure

func (s *Source) Configure(config map[string]interface{}) error

Configure sets up the source with the provided configuration.

func (*Source) Fetch

func (s *Source) Fetch(ctx context.Context, fetcher fetcher.Fetcher) ([]*models.Article, error)

Fetch retrieves articles from the RSS feed.

func (*Source) Name

func (s *Source) Name() string

Name returns the source name.

Jump to

Keyboard shortcuts

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