feed

package
v0.3.5 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2023 License: Unlicense Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeleteInvalidFeed

func DeleteInvalidFeed(url string, db *sql.DB)

func FeedToSetMetadata

func FeedToSetMetadata(pubkey string, feed *gofeed.Feed, originalUrl string, enableAutoRegistration bool, defaultProfilePictureUrl string) nostr.Event

func GetFeedURL

func GetFeedURL(url string) string

func ItemToTextNote

func ItemToTextNote(pubkey string, item *gofeed.Item, feed *gofeed.Feed, defaultCreatedAt time.Time, originalUrl string) nostr.Event

func ParseFeed

func ParseFeed(url string) (*gofeed.Feed, error)

func PrivateKeyFromFeed

func PrivateKeyFromFeed(url string, secret string) string

Types

type Entity

type Entity struct {
	PublicKey  string
	PrivateKey string
	URL        string
}

Jump to

Keyboard shortcuts

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