more todo
This commit is contained in:
parent
36e359c881
commit
883214a740
2 changed files with 2 additions and 0 deletions
|
|
@ -144,6 +144,7 @@ func (s *Server) handleFeedErrors(c *router.Context) {
|
|||
}
|
||||
|
||||
func (s *Server) handleFeedIcon(c *router.Context) {
|
||||
// TODO: caching
|
||||
id, err := c.VarInt64("id")
|
||||
if err != nil {
|
||||
c.Out.WriteHeader(http.StatusBadRequest)
|
||||
|
|
|
|||
|
|
@ -48,6 +48,7 @@ func (w *Worker) FindFavicons() {
|
|||
}
|
||||
|
||||
func (w *Worker) FindFeedFavicon(feed storage.Feed) {
|
||||
// TODO: give up search attempts if the host is reachable but has no icon
|
||||
icon, err := findFavicon(feed.Link, feed.FeedLink)
|
||||
if err != nil {
|
||||
log.Printf("Failed to find favicon for %s (%s): %s", feed.FeedLink, feed.Link, err)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue