site

package
v0.0.0-...-eac7927 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2024 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ChrbParser

type ChrbParser struct{}

ChrbParser is a parser for 大管家房屋網 (https://www.chrb.com.tw/tenement.php).

func (ChrbParser) GetFeed

func (parser ChrbParser) GetFeed(query feedgen.QueryValues) (feed *feeds.Feed, err error)

GetFeed returns generated feed with the given query parameters.

type GamerForumParser

type GamerForumParser struct{}

GamerForumParser is a parser for Gamer Forum (https://forum.gamer.com.tw/).

func (GamerForumParser) GetFeed

func (parser GamerForumParser) GetFeed(query feedgen.QueryValues) (feed *feeds.Feed, err error)

GetFeed returns generated feed with the given query parameters.

type GamerForumRespBody

type GamerForumRespBody struct {
	Data GamerForumRespData `json:"data"`
}

type GamerForumRespData

type GamerForumRespData struct {
	OtherInfo GamerForumRespDataOtherInfo `json:"otherInfo"`
	List      []GamerForumRespDataList    `json:"list"`
}

type GamerForumRespDataList

type GamerForumRespDataList struct {
	Bsn            int    `json:"bsn"`
	SnA            int    `json:"snA"`
	Title          string `json:"title"`
	Summary        string `json:"summary"`
	Author         string `json:"author"`
	Nickname       string `json:"nickname"`
	Ctime          string `json:"ctime"`
	ReplyTimestamp int64  `json:"reply_timestamp"`
	SubboardTitle  string `json:"subboard_title"`
	Gp             int64  `json:"gp"`
	Locked         bool   `json:"locked"`
	Del            bool   `json:"del"`
}

type GamerForumRespDataOtherInfo

type GamerForumRespDataOtherInfo struct {
	Subscribed   bool   `json:"subscribed"`
	BoardName    string `json:"boardName"`
	BoardImage   string `json:"board_image"`
	BoardSummary string `json:"board_summary"`
}

type HackernewsParser

type HackernewsParser struct{}

HackernewsParser is a parser for Hacker News (https://news.ycombinator.com/).

func (HackernewsParser) GetBestFeed

func (parser HackernewsParser) GetBestFeed() (feed *feeds.Feed, err error)

GetBestFeed returns generated feed with best category.

func (HackernewsParser) GetFeed

func (parser HackernewsParser) GetFeed(query feedgen.QueryValues) (feed *feeds.Feed, err error)

GetFeed returns generated feed with the given query parameters.

type PttParser

type PttParser struct{}

PttParser is a parser for PTT Web (https://www.ptt.cc/bbs/index.html).

func (PttParser) GetFeed

func (parser PttParser) GetFeed(query feedgen.QueryValues) (feed *feeds.Feed, err error)

GetFeed returns generated feed with the given query parameters.

func (PttParser) GetFeedItem

func (parser PttParser) GetFeedItem(url string) (feedItem *feeds.Item, err error)

GetFeedItem returns feed item generated from item URL.

type UdnGameArticleAuthor

type UdnGameArticleAuthor struct {
	Title string `json:"title"`
}

type UdnGameArticleTime

type UdnGameArticleTime struct {
	DateTime  string `json:"dateTime"`
	Date      string `json:"date"`
	Timestamp int64  `json:"timestamp"`
}

type UdnGameArticles

type UdnGameArticles struct {
	Title     string               `json:"title"`
	Author    UdnGameArticleAuthor `json:"author"`
	Paragraph string               `json:"paragraph"`
	Url       string               `json:"url"`
	Time      UdnGameArticleTime   `json:"time"`
}

type UdnGameData

type UdnGameData struct {
	Articles []UdnGameArticles `json:"lists"`
}

type UdnGameParser

type UdnGameParser struct{}

UdnGameParser is a parser for 遊戲角落 (https://game.udn.com/rank/newest/2003).

func (UdnGameParser) GetFeed

func (parser UdnGameParser) GetFeed(query feedgen.QueryValues) (feed *feeds.Feed, err error)

GetFeed returns generated feed with the given query parameters.

Jump to

Keyboard shortcuts

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