Skip to content

[FR]: Fallback to "favicon.ico" when an icon is not found #363

@guihkx

Description

@guihkx

Brief description of the feature request.

I'm not familiar with how RSS Guard fetches icons of feeds, but it seems to work great in general, i.e. all of my feeds have the proper icon for them. The only site I'm having an issue at the moment is Github.

For instance, when you add the following ATOM feed to RSS Guard:

https://github.com/martinrotter/rssguard/commits/master.atom

RSS Guard won't get an icon for that feed:

image

So I thought about this fallback solution:

  1. RSS Guard extracts the domain from that URL: github.com
  2. RSS Guard adds /favicon.icon at the end of that URL
  3. RSS Guard will then make a request to: github.com/favicon.ico
  4. If the request successfully returns an image, then RSS Guard uses that. Otherwise, it sets an empty icon.

Thoughts?


Version: 3.8.4 (built on Linux/x86_64)
Revision: -nowebengine
Build date: 1/22/21 8:19 PM
Qt: 5.15.2 (compiled against 5.15.2)

Metadata

Metadata

Assignees

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions