readeef: github.com/urandom/readeef/content/processor Index | Files

package processor

import "github.com/urandom/readeef/content/processor"

Index

Package Files

absolutize_urls.go cleanup.go insert_thumbnail_target.go processor.go proxy_http.go relative_url.go top_image_marker.go unescape.go

type AbsolutizeURLs Uses

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

func NewAbsolutizeURLs Uses

func NewAbsolutizeURLs(l log.Log) AbsolutizeURLs

func (AbsolutizeURLs) ProcessFeed Uses

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

type Article Uses

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

type Articles Uses

type Articles []Article

func (Articles) Process Uses

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

type Cleanup Uses

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

func NewCleanup Uses

func NewCleanup(l log.Log) Cleanup

func (Cleanup) ProcessFeed Uses

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

type Feed Uses

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

type InsertThumbnailTarget Uses

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

func NewInsertThumbnailTarget Uses

func NewInsertThumbnailTarget(l log.Log) InsertThumbnailTarget

func (InsertThumbnailTarget) ProcessArticles Uses

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

type ProxyHTTP Uses

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

func NewProxyHTTP Uses

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

func (ProxyHTTP) ProcessArticles Uses

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

func (ProxyHTTP) ProcessFeed Uses

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

type RelativeURL Uses

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

func NewRelativeURL Uses

func NewRelativeURL(log log.Log) RelativeURL

func (RelativeURL) ProcessArticles Uses

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

func (RelativeURL) ProcessFeed Uses

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

type TopImageMarker Uses

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

func NewTopImageMarker Uses

func NewTopImageMarker(l log.Log) TopImageMarker

func (TopImageMarker) ProcessFeed Uses

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

type Unescape Uses

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

func NewUnescape Uses

func NewUnescape(l log.Log) Unescape

func (Unescape) ProcessArticles Uses

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

func (Unescape) ProcessFeed Uses

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

Package processor imports 17 packages (graph) and is imported by 7 packages. Updated 2019-08-11. Refresh now. Tools for package owners.