Documentation ¶
Index ¶
- type ArticlesUpdater
- func (c *ArticlesUpdater) GetAbsolutePath(base *url.URL, path string) string
- func (c *ArticlesUpdater) GetArticles(rootNode *xmlpath.Node, source *models.Source, url string) []*models.Article
- func (c *ArticlesUpdater) GetDomRoot(url string) *xmlpath.Node
- func (c *ArticlesUpdater) ProcessArticleNode(rootNode *xmlpath.Node, source *models.Source, url string)
- func (c *ArticlesUpdater) ProcessSource(source *models.Source)
- func (c *ArticlesUpdater) Run()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ArticlesUpdater ¶
type ArticlesUpdater struct{}
func (*ArticlesUpdater) GetAbsolutePath ¶
func (c *ArticlesUpdater) GetAbsolutePath(base *url.URL, path string) string
func (*ArticlesUpdater) GetArticles ¶
func (*ArticlesUpdater) GetDomRoot ¶
func (c *ArticlesUpdater) GetDomRoot(url string) *xmlpath.Node
func (*ArticlesUpdater) ProcessArticleNode ¶
func (c *ArticlesUpdater) ProcessArticleNode(rootNode *xmlpath.Node, source *models.Source, url string)
func (*ArticlesUpdater) ProcessSource ¶
func (c *ArticlesUpdater) ProcessSource(source *models.Source)
func (*ArticlesUpdater) Run ¶
func (c *ArticlesUpdater) Run()
Click to show internal directories.
Click to hide internal directories.