parser

package
v0.0.0-...-b39a70c Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2019 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Parser

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

Meta parser, contains all parser types

func New

func New() *Parser

Create new meta parser

func (*Parser) ParseFeed

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

Parse RSS/Atom feed

func (*Parser) ParseItem

func (p *Parser) ParseItem(item *gofeed.Item, rules config.FeedRules) *export.Item

Parse feed item and return exportable item

Jump to

Keyboard shortcuts

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