Documentation ¶
Index ¶
- func GetFeedID(url string) string
- func GetFeedTags(tags *string) []string
- func NewArticle(feed *app.Feed, item *gofeed.Item) *model.Article
- func NewArticles(feed *app.Feed, items []*gofeed.Item) []*model.Article
- func NewFeed(url string, tags *string) (*app.Feed, error)
- type CustomAtomTranslator
- type CustomRSSTranslator
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetFeedTags ¶
GetFeedTags extracts tags from a comma separated list of tags
func NewArticle ¶
NewArticle creates a new article from a feed item
func NewArticles ¶
NewArticles creates a new array of articles from an array of feed item
Types ¶
type CustomAtomTranslator ¶
type CustomAtomTranslator struct {
// contains filtered or unexported fields
}
CustomAtomTranslator is a custom GoFeed Atom translator created to extract Hub link.
func NewCustomAtomTranslator ¶
func NewCustomAtomTranslator() *CustomAtomTranslator
NewCustomAtomTranslator creates nes custom GoFeed Atom translator.
type CustomRSSTranslator ¶
type CustomRSSTranslator struct {
// contains filtered or unexported fields
}
CustomRSSTranslator is a custom GoFeed RSS translator created to extract Hub link.
func NewCustomRSSTranslator ¶
func NewCustomRSSTranslator() *CustomRSSTranslator
NewCustomRSSTranslator creates nes custom GoFeed RSS translator.
Click to show internal directories.
Click to hide internal directories.