feed

package
v0.0.0-...-914d8c5 Latest Latest
Warning

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

Go to latest
Published: Jan 1, 2016 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MANGA_FEEDER_URL = "http://mangafeeder.herokuapp.com/latest.json"
	MANGA_READER_URL = "http://www.mangareader.net/"
)

Variables

This section is empty.

Functions

func FillNotifications

func FillNotifications()

func GetNewMangaNotifications

func GetNewMangaNotifications() []*notification.Notification

func NewCronRss

func NewCronRss() *cron.Cron

Cron to fetch all the rss content

Types

type Chapter

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

func (*Chapter) GetChapNumber

func (c *Chapter) GetChapNumber() int

Build the chap number

func (Chapter) String

func (c Chapter) String() string

type Feed

type Feed struct {
	Completed bool      `json:"completed"`
	Title     string    `json:"title"`
	Slug      string    `json:"slug"`
	Url       string    `json:"url"`
	ImageUrl  string    `json:"image_url"`
	New       bool      `json:"new"`
	Hot       bool      `json:"hot"`
	Chapters  []Chapter `json:"chapters"`
}

func (Feed) String

func (f Feed) String() string

type Feeds

type Feeds []Feed

func GetFeeds

func GetFeeds() Feeds

Get the feeds from ${MANGA_FEEDER_URL}

Jump to

Keyboard shortcuts

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