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

package extract

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

Index

Package Files

extract.go goose.go readability.go

func Get Uses

func Get(
    article content.Article,
    repo repo.Extract,
    generator Generator,
    processors []processor.Article,
) (content.Extract, error)

Get retrieves the extract from the repository. If it doesn't exist, a new one is created and stored before returning.

type Generator Uses

type Generator interface {
    Generate(link string) (content.Extract, error)
}

func WithGoose Uses

func WithGoose(templateDir string, fs http.FileSystem) (Generator, error)

func WithReadability Uses

func WithReadability(key string) (Generator, error)

Package extract imports 14 packages (graph) and is imported by 3 packages. Updated 2017-10-16. Refresh now. Tools for package owners.