Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use <icon> over favicon as feed icon #4471

Open
vwkd opened this issue Jan 6, 2025 · 1 comment
Open

Use <icon> over favicon as feed icon #4471

vwkd opened this issue Jan 6, 2025 · 1 comment

Comments

@vwkd
Copy link

vwkd commented Jan 6, 2025

Problem

It seems the favicon of a domain is given precedence over a possible <icon> element in an Atom feed.

This breaks feed generator websites that allow users to create custom feeds with custom icons, since every user feed gets the same favicon instead of their custom icon.

For example, a kill-the-newsletter feed.

I didn't test it with other feed types like RSS or JSON.

Steps To Reproduce

Add feed https://kill-the-newsletter.com/feeds/iu8547vjdyb06za1lb1u.xml to NetNewsWire.

The feed's XML
<?xml version="1.0" encoding="utf-8"?>
    <feed xmlns="http://www.w3.org/2005/Atom">
      <id>urn:kill-the-newsletter:iu8547vjdyb06za1lb1u</id>
      <link
        rel="self"
        href="https://kill-the-newsletter.com/feeds/iu8547vjdyb06za1lb1u.xml"
      />
      <link
        rel="hub"
        href="https://kill-the-newsletter.com/feeds/iu8547vjdyb06za1lb1u/websub"
      />
      <icon
            >https://www.google.com/s2/favicons?domain=https://netnewswire.com&amp;sz=32</icon
          >
      <updated
        >2000-01-01T00:00:00.000Z</updated
      >
      <title>Test</title>
      
    </feed>

Expected Result

The feed icon is the URL in the <icon> element.

faviconV2

Actual Result

The feed icon is the /favicon.ico.

favicon

@brentsimmons
Copy link
Collaborator

The problem with icons specified in feeds is that they are often not square — and favicons are (pretty much always) square. The app really wants square icons!

(We will of course look into this in the future. There are things we can do. The above is just to explain why we went with favicons over icons specified in feeds in the first place.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants