loader

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: May 9, 2015 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetPHFeed

func GetPHFeed(ph chan ResultData)

func GetRdfFeed added in v0.3.0

func GetRdfFeed(name string, url string, rdf chan ResultData)

func GetRdfFeedWithDesc added in v0.3.0

func GetRdfFeedWithDesc(name string, url string, rdf chan ResultData)

func GetRedditFeed

func GetRedditFeed(re chan ResultData)

func GetRssFeed added in v0.3.0

func GetRssFeed(name string, url string, rss chan ResultData)

func GetRssFeedWithDesc added in v0.3.0

func GetRssFeedWithDesc(name string, url string, rss chan ResultData)

func GetUnitRssFeed added in v0.3.0

func GetUnitRssFeed(uri string)

func GetUnitRssFeedWithDesc added in v0.3.0

func GetUnitRssFeedWithDesc(uri string)

Types

type Channel added in v0.3.0

type Channel struct {
	Title       string `xml:"title"`
	Description string `xml:"description"`
	Link        string `xml:"link"`
	Date        string `xml:"date"`
}

type Feed

type Feed interface {
	Display()
	Setter(name string, title []string, url []string)
}

type Item added in v0.3.0

type Item struct {
	Title       string `xml:"title"`
	Link        string `xml:"link"`
	Description string `xml:"description"`
}

type Items added in v0.3.0

type Items struct {
	XMLName  xml.Name `xml:"channel"`
	ItemList []Item   `xml:"item"`
}

type JsonData

type JsonData struct {
	Title string `json:"title"`
	Url   string `json:"url"`
}

type RDF added in v0.3.0

type RDF struct {
	XMLName xml.Name `xml:"RDF"`
	Channel *Channel `xml:"channel"`
	Item    []*Item  `xml:"item"`
}

type RSS added in v0.3.0

type RSS struct {
	XMLName xml.Name `xml:"rss"`
	Items   Items    `xml:"channel"`
}

type ResultData

type ResultData struct {
	Name  string
	Title []string
	Url   []string
}

func (*ResultData) Display

func (r *ResultData) Display()

func (*ResultData) Setter

func (r *ResultData) Setter(name string, title []string, url []string)

Jump to

Keyboard shortcuts

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