jubiz

package module
v0.0.0-...-4d3b375 Latest Latest
Warning

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

Go to latest
Published: Feb 4, 2017 License: MIT Imports: 12 Imported by: 0

README

jubiz

Fubiz client for mac using Murlok.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FileMarshal

func FileMarshal(name string, v interface{}) error

func FileUnmarshal

func FileUnmarshal(name string, v interface{}) error

Types

type Article

type Article struct {
	ID         string
	Title      string
	URL        *url.URL
	PubDate    time.Time
	Author     Author
	Text       string
	Categories []string
	Images     []Image
	Videos     []Video
	Read       bool
}

type ArticleList

type ArticleList []Article

func MakeArticlesFromFeed

func MakeArticlesFromFeed(f Feed) (Articles ArticleList)

func MergeArticleLists

func MergeArticleLists(base, new ArticleList) (list ArticleList, newCount int)

func (ArticleList) Len

func (list ArticleList) Len() int

func (ArticleList) Less

func (list ArticleList) Less(i, j int) bool

func (ArticleList) Swap

func (list ArticleList) Swap(i, j int)

type Author

type Author struct {
	Name       string
	TwitterURL string
}

type Feed

type Feed struct {
	XMLName xml.Name `xml:"rss"`
	Channel channel  `xml:"channel"`
}

func GetFeed

func GetFeed() (f Feed, err error)

type Image

type Image struct {
	Name string
	URL  string
}

type Video

type Video struct {
	URL *url.URL
}

Directories

Path Synopsis
bin

Jump to

Keyboard shortcuts

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