crawler

package module
v0.0.0-...-a8a7bf1 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2016 License: MIT Imports: 16 Imported by: 0

README

paperboy-crawler

Crawls through a given RSS feed and emits the result

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HandleRequest

func HandleRequest(w http.ResponseWriter, r *http.Request)

Types

type Entry

type Entry struct {
	Id      string    `xml:"id" json:"id"`
	Title   string    `xml:"title" json:"title"`
	Updated time.Time `xml:"updated" json:"updated"`
	Content string    `xml:"content" json:"content"`
	Summary string    `xml:"summary" json:"summary"`
}

type StreamUpdate

type StreamUpdate struct {
	*feeds.Feed
	Entries []Entry
}

type WebFeed

type WebFeed struct {
	XMLName xml.Name `xml:"feed" json:"-"`

	Id      string    `xml:"id" json:"id"`
	Title   string    `xml:"title" json:"title"`
	Updated time.Time `xml:"updated" json:"updated"`

	Entries []Entry `xml:"entry" json:"entries"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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