rss

package
v0.7.4 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2023 License: MIT Imports: 10 Imported by: 0

Documentation

Overview

Package rss @Description: 获取并解析rss

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Rss

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

func NewRss

func NewRss(url, name string) *Rss

func (*Rss) Parse

func (f *Rss) Parse(opts ...any) (items []*models.FeedItem)

Parse

@Description: 解析rss
@receiver *Rss
@param opts ...any
  [0] string 解析本地文件路径
@return items []*models.FeedItem

Jump to

Keyboard shortcuts

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