feed

package
v0.0.0-...-32b1798 Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2025 License: BSD-3-Clause Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Entry

type Entry struct {
	Id        string
	Url       *url.URL
	Links     []*url.URL
	Published time.Time
}

func Fetch

func Fetch(url string, lastFetch *time.Time) ([]Entry, error)

Retrieve and parse an Atom feed from url and return all entries added after lastFetch. It makes a conditional request and returns nil if the feed has not been updated since lastFetch

func ParseAtomFeed

func ParseAtomFeed(data []byte) ([]Entry, error)

Jump to

Keyboard shortcuts

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