Back to godoc.org

Package processor

v0.0.0-...-ffd16d0
Latest Go to latest

The latest major version is .

Published: Jul 8, 2020 | License: LGPL-3.0 | Module: github.com/urandom/readeef

Index

type AbsolutizeURLs

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

func NewAbsolutizeURLs

func NewAbsolutizeURLs(l log.Log) AbsolutizeURLs

func (AbsolutizeURLs) ProcessFeed

func (p AbsolutizeURLs) ProcessFeed(f parser.Feed) parser.Feed

type Article

type Article interface {
	ProcessArticles([]content.Article) []content.Article
}

type Articles

type Articles []Article

func (Articles) Process

func (processors Articles) Process(articles []content.Article) []content.Article

type Cleanup

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

func NewCleanup

func NewCleanup(l log.Log) Cleanup

func (Cleanup) ProcessFeed

func (p Cleanup) ProcessFeed(f parser.Feed) parser.Feed

type Feed

type Feed interface {
	ProcessFeed(parser.Feed) parser.Feed
}

type InsertThumbnailTarget

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

func NewInsertThumbnailTarget

func NewInsertThumbnailTarget(l log.Log) InsertThumbnailTarget

func (InsertThumbnailTarget) ProcessArticles

func (p InsertThumbnailTarget) ProcessArticles(articles []content.Article) []content.Article

type ProxyHTTP

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

func NewProxyHTTP

func NewProxyHTTP(urlTemplate string, log log.Log) (ProxyHTTP, error)

func (ProxyHTTP) ProcessArticles

func (p ProxyHTTP) ProcessArticles(articles []content.Article) []content.Article

func (ProxyHTTP) ProcessFeed

func (p ProxyHTTP) ProcessFeed(f parser.Feed) parser.Feed

type RelativeURL

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

func NewRelativeURL

func NewRelativeURL(log log.Log) RelativeURL

func (RelativeURL) ProcessArticles

func (p RelativeURL) ProcessArticles(articles []content.Article) []content.Article

func (RelativeURL) ProcessFeed

func (p RelativeURL) ProcessFeed(f parser.Feed) parser.Feed

type TopImageMarker

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

func NewTopImageMarker

func NewTopImageMarker(l log.Log) TopImageMarker

func (TopImageMarker) ProcessFeed

func (p TopImageMarker) ProcessFeed(f parser.Feed) parser.Feed

type Unescape

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

func NewUnescape

func NewUnescape(l log.Log) Unescape

func (Unescape) ProcessArticles

func (p Unescape) ProcessArticles(articles []content.Article) []content.Article

func (Unescape) ProcessFeed

func (p Unescape) ProcessFeed(f parser.Feed) parser.Feed

Package Files

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier