link_node

package
v0.0.0-...-a9b0586 Latest Latest
Warning

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

Go to latest
Published: May 20, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LinkNode

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

func NewLinkNode

func NewLinkNode(tag string) LinkNode

func (*LinkNode) FeedURL

func (f *LinkNode) FeedURL() string

func (*LinkNode) IsValidFeed

func (f *LinkNode) IsValidFeed() bool

IsValidFeed future work:

  1. In case of a soft error, such as rel or type error, try to validate the href contains a feed
  2. Log debug information FeedType, RelType and Tag Found feed without errors, Found feed with warnings, Could not find feed due to errors,

func (*LinkNode) ParseFields

func (f *LinkNode) ParseFields(z *html.Tokenizer)

Jump to

Keyboard shortcuts

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