nextcloud / news

📰 RSS/Atom feed reader
https://apps.nextcloud.com/apps/news
GNU Affero General Public License v3.0
870 stars 186 forks source link

Many RSS feeds missing icons #2378

Open peterwright1986 opened 1 year ago

peterwright1986 commented 1 year ago

IMPORTANT

Read and tick the following checkbox after you have created the issue or place an x inside the brackets ;)

Explain the Problem

This is more of a cosmetic issue but I noticed a number of my feeds are missing the website icon when I add them. For me this makes it easier to immediately identify a source when I'm scrolling throw News. I notice the same feed's icons appear when testing with other RSS readers. Is this a work in progress, or is it possible to manually add the icon to a feed, somehow?

Steps to Reproduce

As an example, if I subscribe to BBC news (http://feeds.bbci.co.uk/news/uk/rss.xml) the feed will be added correctly but an icon does not appear either in the web view or the 'News' Android App.

System Information

This aside, thanks for an awesome RSS reader!

Grotax commented 1 year ago

Yea that bbc one is tricky.

The codes debugging messages are not that nice, I will improve that a bit but I think the following happens with that feed.

  1. feed has image which is downloaded and checked but it is not square so it is rejected
  2. news asks lib to check for favicon instead but that subpage by the bbc apparently has none, technical site not needed I guess
  3. feed has no icon

In this case its 120*60 and a gif :)

I don't have a strong opinion about the square requirement. Maybe we could just remove it and let the frontend/clients handle it.

Opinions? @nextcloud/news

peterwright1986 commented 1 year ago

Thanks for looking into this and apologies for the delayed reply. Relaxing the icon requirements would be nice, provided it doesn't break anything of course.

Grotax commented 1 year ago

The backend doesn't care about it, clients might handle it differently.

Maybe we can look at this after the new UI lands in the master branch.