Ranchero-Software / NetNewsWire

RSS reader for macOS and iOS.
https://netnewswire.com/
MIT License
8.21k stars 523 forks source link

Avatars from the Mastodon accounts are not displayed in the NNW post heading #3764

Open mmmayer opened 1 year ago

mmmayer commented 1 year ago

I am viewing Mastodon postings in NNW by adding .rss to the link to the Mastodon account. That part works great. However, the avatars associated with the Mastodon account is not being displayed in the post heading, just the generic Mastodon one. This feels broken since I can't differentiate in the list of posts which one comes from which "tooter".

brentsimmons commented 1 year ago

What kind of account are you using? iCloud, Feedbin, On My Mac, or…?

Would you provide the URLs of a couple feeds that have this issue?

Are you seeing this on Mac or iOS (or both)?

mmmayer commented 1 year ago

I created the feeds in my iCloud account. It happens on both iOS and Mac. Some example feeds are: https://mastodon.social/@twostraws.rss https://mastodon.social/@neilhimself.rss https://mastodon.social/@feliciaday.rss

stuartbreckenridge commented 1 year ago

Here's the raw feed for my account:

<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:webfeeds="http://webfeeds.org/rss/1.0" xmlns:media="http://search.yahoo.com/mrss/">
  <channel>
    <title>Stuart Breckenridge :mastodon:</title>
    <description>Public posts from @stuarticus@mastodon.social</description>
    <link>https://mastodon.social/@stuarticus</link>
    <image>
      <url>https://files.mastodon.social/accounts/avatars/000/423/383/original/c05813ea53d9df8d.png</url>
      <title>Stuart Breckenridge :mastodon:</title>
      <link>https://mastodon.social/@stuarticus</link>
    </image>
    <lastBuildDate>Sat, 26 Nov 2022 13:43:53 +0000</lastBuildDate>
    <webfeeds:icon>https://files.mastodon.social/accounts/avatars/000/423/383/original/c05813ea53d9df8d.png</webfeeds:icon>
    <generator>Mastodon v4.0.2</generator>
    <item>
      <guid isPermaLink="true">https://mastodon.social/@stuarticus/109410401251147564</guid>
      <link>https://mastodon.social/@stuarticus/109410401251147564</link>
      <pubDate>Sat, 26 Nov 2022 13:43:53 +0000</pubDate>
      <description>&lt;p&gt;It&amp;#39;s quite tasteless having footballers appear in first person shooters.&lt;/p&gt;</description>
      <media:content url="https://files.mastodon.social/media_attachments/files/109/410/400/962/421/214/original/3b1829124604a422.jpeg" type="image/jpeg" fileSize="213994" medium="image">
        <media:rating scheme="urn:simple">nonadult</media:rating>
      </media:content>
    </item>
    <item>
      <guid isPermaLink="true">https://mastodon.social/@stuarticus/109404121229750450</guid>
      <link>https://mastodon.social/@stuarticus/109404121229750450</link>
      <pubDate>Fri, 25 Nov 2022 11:06:48 +0000</pubDate>
      <description>&lt;p&gt;A wet &lt;a href="https://mastodon.social/tags/cycling" class="mention hashtag" rel="tag"&gt;#&lt;span&gt;cycling&lt;/span&gt;&lt;/a&gt; route today took us through Orchard Road, &lt;a href="https://mastodon.social/tags/Singapore" class="mention hashtag" rel="tag"&gt;#&lt;span&gt;Singapore&lt;/span&gt;&lt;/a&gt;. Christmas decorations are up. &lt;a href="https://mastodon.social/tags/RCCSGP" class="mention hashtag" rel="tag"&gt;#&lt;span&gt;RCCSGP&lt;/span&gt;&lt;/a&gt; &lt;a href="https://mastodon.social/tags/Rapha" class="mention hashtag" rel="tag"&gt;#&lt;span&gt;Rapha&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;</description>
      <media:content url="https://files.mastodon.social/media_attachments/files/109/404/114/997/002/178/original/cdd870801774286f.jpg" type="image/jpeg" fileSize="570328" medium="image">
        <media:rating scheme="urn:simple">nonadult</media:rating>
      </media:content>
      <media:content url="https://files.mastodon.social/media_attachments/files/109/404/115/152/315/467/original/c8298ba7771a1600.jpg" type="image/jpeg" fileSize="699064" medium="image">
        <media:rating scheme="urn:simple">nonadult</media:rating>
      </media:content>
      <media:content url="https://files.mastodon.social/media_attachments/files/109/404/115/349/376/979/original/4be7e41990e7d613.jpg" type="image/jpeg" fileSize="542690" medium="image">
        <media:rating scheme="urn:simple">nonadult</media:rating>
      </media:content>
      <category>cycling</category>
      <category>singapore</category>
      <category>RCCSGP</category>
      <category>Rapha</category>
    </item>
    <item>
      <guid isPermaLink="true">https://mastodon.social/@stuarticus/109403692372672490</guid>
      <link>https://mastodon.social/@stuarticus/109403692372672490</link>
      <pubDate>Fri, 25 Nov 2022 09:17:44 +0000</pubDate>
      <description>&lt;p&gt;It’s that time of year in Singapore where shopping centres are playing Walking in a Winter Wonderland but you go outside and it’s 35°C and sunny.&lt;/p&gt;</description>
      <media:content url="https://files.mastodon.social/media_attachments/files/109/403/690/722/873/062/original/24c658ae2e40de6c.jpg" type="image/jpeg" fileSize="485881" medium="image">
        <media:rating scheme="urn:simple">nonadult</media:rating>
        <media:description type="plain">A super sunny and hot day. Not wintry at all. </media:description>
      </media:content>
    </item>
    <item>
      <guid isPermaLink="true">https://mastodon.social/@stuarticus/109397945763684759</guid>
      <link>https://mastodon.social/@stuarticus/109397945763684759</link>
      <pubDate>Thu, 24 Nov 2022 08:56:18 +0000</pubDate>
      <description>&lt;p&gt;&lt;strong&gt;Content warning:&lt;/strong&gt; Apple Developer Documentation Rant&lt;/p&gt;&lt;hr /&gt;&lt;p&gt;The documentation for App Intents (&lt;a href="https://developer.apple.com/documentation/AppIntents" target="_blank" rel="nofollow noopener noreferrer"&gt;&lt;span class="invisible"&gt;https://&lt;/span&gt;&lt;span class="ellipsis"&gt;developer.apple.com/documentat&lt;/span&gt;&lt;span class="invisible"&gt;ion/AppIntents&lt;/span&gt;&lt;/a&gt;) is lacking. &lt;br /&gt;For example: how do you use &lt;a href="https://mastodon.social/tags/predictionConfiguration" class="mention hashtag" rel="tag"&gt;#&lt;span&gt;predictionConfiguration&lt;/span&gt;&lt;/a&gt;: &lt;a href="https://developer.apple.com/documentation/appintents/predictableintent/predictionconfiguration" target="_blank" rel="nofollow noopener noreferrer"&gt;&lt;span class="invisible"&gt;https://&lt;/span&gt;&lt;span class="ellipsis"&gt;developer.apple.com/documentat&lt;/span&gt;&lt;span class="invisible"&gt;ion/appintents/predictableintent/predictionconfiguration&lt;/span&gt;&lt;/a&gt; ??&lt;/p&gt;</description>
      <category>predictionConfiguration</category>
    </item>
    <item>
      <guid isPermaLink="true">https://mastodon.social/@stuarticus/109391336499218271</guid>
      <link>https://mastodon.social/@stuarticus/109391336499218271</link>
      <pubDate>Wed, 23 Nov 2022 04:55:28 +0000</pubDate>
      <description>&lt;p&gt;This is not what you want to see on the horizon. &lt;a href="https://mastodon.social/tags/storm" class="mention hashtag" rel="tag"&gt;#&lt;span&gt;storm&lt;/span&gt;&lt;/a&gt; &lt;a href="https://mastodon.social/tags/cycle" class="mention hashtag" rel="tag"&gt;#&lt;span&gt;cycle&lt;/span&gt;&lt;/a&gt; &lt;a href="https://mastodon.social/tags/singapore" class="mention hashtag" rel="tag"&gt;#&lt;span&gt;singapore&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;</description>
      <media:content url="https://files.mastodon.social/media_attachments/files/109/391/334/651/413/876/original/6b19e43d2a54cbd7.jpg" type="image/jpeg" fileSize="177478" medium="image">
        <media:rating scheme="urn:simple">nonadult</media:rating>
      </media:content>
      <category>storm</category>
      <category>cycle</category>
      <category>singapore</category>
    </item>
    <item>
      <guid isPermaLink="true">https://mastodon.social/@stuarticus/109390088164917729</guid>
      <link>https://mastodon.social/@stuarticus/109390088164917729</link>
      <pubDate>Tue, 22 Nov 2022 23:38:00 +0000</pubDate>
      <description>&lt;p&gt;Morning spin — 47.2km&lt;/p&gt;</description>
      <media:content url="https://files.mastodon.social/media_attachments/files/109/390/085/048/192/662/original/20f8372f2a8b13b9.jpg" type="image/jpeg" fileSize="175064" medium="image">
        <media:rating scheme="urn:simple">nonadult</media:rating>
      </media:content>
    </item>
    <item>
      <guid isPermaLink="true">https://mastodon.social/@stuarticus/109381453641932945</guid>
      <link>https://mastodon.social/@stuarticus/109381453641932945</link>
      <pubDate>Mon, 21 Nov 2022 11:02:08 +0000</pubDate>
      <description>&lt;p&gt;&lt;strong&gt;Content warning:&lt;/strong&gt; Singapore Buses SwiftUI Update&lt;/p&gt;&lt;hr /&gt;&lt;p&gt;Commuters with your handheld computers: work continues on the next version of Singapore Buses. &lt;br /&gt;I’ve played around with &lt;a href="https://mastodon.social/tags/swiftui" class="mention hashtag" rel="tag"&gt;#&lt;span&gt;swiftui&lt;/span&gt;&lt;/a&gt; for the main interface but it’s still got one glaring omission that’s stopping me using it: sheets that are presented with detents at any height disable interaction with the view they are partially covering. So, the main UI is still &lt;a href="https://mastodon.social/tags/uikit" class="mention hashtag" rel="tag"&gt;#&lt;span&gt;uikit&lt;/span&gt;&lt;/a&gt;, and multi-platform dream is still in the future. &lt;/p&gt;&lt;p&gt;&lt;a href="https://singaporebuses.app.link/download" target="_blank" rel="nofollow noopener noreferrer"&gt;&lt;span class="invisible"&gt;https://&lt;/span&gt;&lt;span class="ellipsis"&gt;singaporebuses.app.link/downlo&lt;/span&gt;&lt;span class="invisible"&gt;ad&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;</description>
      <category>swiftui</category>
      <category>uikit</category>
    </item>
    <item>
      <guid isPermaLink="true">https://mastodon.social/@stuarticus/109376659570358713</guid>
      <link>https://mastodon.social/@stuarticus/109376659570358713</link>
      <pubDate>Sun, 20 Nov 2022 14:42:56 +0000</pubDate>
      <description>&lt;p&gt;Check out my run on Strava. I am tired. &lt;br /&gt;&lt;a href="https://strava.app.link/jtzhhGSZ6ub" target="_blank" rel="nofollow noopener noreferrer"&gt;&lt;span class="invisible"&gt;https://&lt;/span&gt;&lt;span class=""&gt;strava.app.link/jtzhhGSZ6ub&lt;/span&gt;&lt;span class="invisible"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;</description>
    </item>
    <item>
      <guid isPermaLink="true">https://mastodon.social/@stuarticus/109376654576031888</guid>
      <link>https://mastodon.social/@stuarticus/109376654576031888</link>
      <pubDate>Sun, 20 Nov 2022 14:41:40 +0000</pubDate>
      <description>&lt;p&gt;I’m thinking of creating a new Mastodon instance that will be “the one”: The United Federation of Instances.&lt;/p&gt;&lt;p&gt;🖖 Live Long and Toot&lt;/p&gt;</description>
    </item>
    <item>
      <guid isPermaLink="true">https://mastodon.social/@stuarticus/109375250504071226</guid>
      <link>https://mastodon.social/@stuarticus/109375250504071226</link>
      <pubDate>Sun, 20 Nov 2022 08:44:36 +0000</pubDate>
      <description>&lt;p&gt;Hello World!&lt;/p&gt;</description>
    </item>
    <item>
      <guid isPermaLink="true">https://mastodon.social/@stuarticus/109370998521875827</guid>
      <link>https://mastodon.social/@stuarticus/109370998521875827</link>
      <pubDate>Sat, 19 Nov 2022 14:43:16 +0000</pubDate>
      <description>&lt;p&gt;The typography—from Commercial Type—on the Rapha website is really nice: &lt;a href="https://www.rapha.cc/ap/en_AU/stories/tour-de-france-guide-week-two" target="_blank" rel="nofollow noopener noreferrer"&gt;&lt;span class="invisible"&gt;https://www.&lt;/span&gt;&lt;span class="ellipsis"&gt;rapha.cc/ap/en_AU/stories/tour&lt;/span&gt;&lt;span class="invisible"&gt;-de-france-guide-week-two&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;&lt;p&gt;Rapha Serif/Sans.&lt;/p&gt;</description>
    </item>
    <item>
      <guid isPermaLink="true">https://mastodon.social/@stuarticus/109362403944020073</guid>
      <link>https://mastodon.social/@stuarticus/109362403944020073</link>
      <pubDate>Fri, 18 Nov 2022 02:17:33 +0000</pubDate>
      <description>&lt;p&gt;Smashing morning for a cycle.&lt;/p&gt;</description>
      <media:content url="https://files.mastodon.social/media_attachments/files/109/362/400/645/102/130/original/13dc804f6215a91f.jpg" type="image/jpeg" fileSize="381023" medium="image">
        <media:rating scheme="urn:simple">nonadult</media:rating>
        <media:description type="plain">Sunrise photo from the F1 pit lane.</media:description>
      </media:content>
      <media:content url="https://files.mastodon.social/media_attachments/files/109/362/401/602/664/228/original/ac6af9ed67737d5a.jpg" type="image/jpeg" fileSize="265961" medium="image">
        <media:rating scheme="urn:simple">nonadult</media:rating>
        <media:description type="plain">Group photo, with bikes, at the Singapore flyer.</media:description>
      </media:content>
    </item>
    <item>
      <guid isPermaLink="true">https://mastodon.social/@stuarticus/109348856785183461</guid>
      <link>https://mastodon.social/@stuarticus/109348856785183461</link>
      <pubDate>Tue, 15 Nov 2022 16:52:19 +0000</pubDate>
      <description>&lt;p&gt;I don’t know why I keep watching &lt;a href="https://mastodon.social/tags/Manifest" class="mention hashtag" rel="tag"&gt;#&lt;span&gt;Manifest&lt;/span&gt;&lt;/a&gt;, but I do.&lt;/p&gt;</description>
      <category>manifest</category>
    </item>
    <item>
      <guid isPermaLink="true">https://mastodon.social/@stuarticus/109342521587286459</guid>
      <link>https://mastodon.social/@stuarticus/109342521587286459</link>
      <pubDate>Mon, 14 Nov 2022 14:01:12 +0000</pubDate>
      <description>&lt;p&gt;How can SingPost fail to deliver to a POPStation?&lt;/p&gt;</description>
    </item>
    <item>
      <guid isPermaLink="true">https://mastodon.social/@stuarticus/109336927233318011</guid>
      <link>https://mastodon.social/@stuarticus/109336927233318011</link>
      <pubDate>Sun, 13 Nov 2022 14:18:29 +0000</pubDate>
      <description>&lt;p&gt;POLL: Telegram &amp;gt; WhatsApp?&lt;/p&gt;&lt;p&gt;&lt;input type=radio disabled /&gt; Yeah!&lt;br /&gt;&lt;input type=radio disabled /&gt; No!&lt;br /&gt;&lt;input type=radio disabled /&gt; No preference&lt;/p&gt;</description>
    </item>
    <item>
      <guid isPermaLink="true">https://mastodon.social/@stuarticus/109335942110960783</guid>
      <link>https://mastodon.social/@stuarticus/109335942110960783</link>
      <pubDate>Sun, 13 Nov 2022 10:07:57 +0000</pubDate>
      <description>&lt;p&gt;A relaxing Sunday.&lt;/p&gt;</description>
      <media:content url="https://files.mastodon.social/media_attachments/files/109/335/939/663/085/326/original/5de6b862794035f1.jpg" type="image/jpeg" fileSize="37439" medium="image">
        <media:rating scheme="urn:simple">nonadult</media:rating>
        <media:description type="plain">Screenshot from Apple Watch Fitness. 457% above target for active calories.</media:description>
      </media:content>
    </item>
    <item>
      <guid isPermaLink="true">https://mastodon.social/@stuarticus/109335903038207758</guid>
      <link>https://mastodon.social/@stuarticus/109335903038207758</link>
      <pubDate>Sun, 13 Nov 2022 09:58:01 +0000</pubDate>
      <description>&lt;p&gt;A SwiftUI Mastodon client. How many of my brain cells will this consume?&lt;/p&gt;</description>
    </item>
    <item>
      <guid isPermaLink="true">https://mastodon.social/@stuarticus/109334546246622273</guid>
      <link>https://mastodon.social/@stuarticus/109334546246622273</link>
      <pubDate>Sun, 13 Nov 2022 04:12:58 +0000</pubDate>
      <description>&lt;p&gt;So there’s no cycling mastodon instance?&lt;/p&gt;</description>
    </item>
    <item>
      <guid isPermaLink="true">https://mastodon.social/@stuarticus/109334212806989135</guid>
      <link>https://mastodon.social/@stuarticus/109334212806989135</link>
      <pubDate>Sun, 13 Nov 2022 02:48:10 +0000</pubDate>
      <description>&lt;p&gt;It’s been a sporty week: over 30km running and 70km cycling!&lt;/p&gt;&lt;p&gt;&lt;a href="https://strava.app.link/VQo57niyUub" target="_blank" rel="nofollow noopener noreferrer"&gt;&lt;span class="invisible"&gt;https://&lt;/span&gt;&lt;span class=""&gt;strava.app.link/VQo57niyUub&lt;/span&gt;&lt;span class="invisible"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;</description>
      <media:content url="https://files.mastodon.social/media_attachments/files/109/334/200/813/233/987/original/5181e3a7bd4e471a.jpg" type="image/jpeg" fileSize="209271" medium="image">
        <media:rating scheme="urn:simple">nonadult</media:rating>
      </media:content>
    </item>
    <item>
      <guid isPermaLink="true">https://mastodon.social/@stuarticus/109328894045013077</guid>
      <link>https://mastodon.social/@stuarticus/109328894045013077</link>
      <pubDate>Sat, 12 Nov 2022 04:15:32 +0000</pubDate>
      <description>&lt;p&gt;I went for my first cycle with &lt;a href="https://mastodon.social/tags/Rapha" class="mention hashtag" rel="tag"&gt;#&lt;span&gt;Rapha&lt;/span&gt;&lt;/a&gt; (&lt;a href="https://rapha.cc" target="_blank" rel="nofollow noopener noreferrer"&gt;&lt;span class="invisible"&gt;https://&lt;/span&gt;&lt;span class=""&gt;rapha.cc&lt;/span&gt;&lt;span class="invisible"&gt;&lt;/span&gt;&lt;/a&gt;) on a route around Singapore on Friday morning. Ace weather and company. &lt;a href="https://mastodon.social/tags/RCCSGP" class="mention hashtag" rel="tag"&gt;#&lt;span&gt;RCCSGP&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;</description>
      <media:content url="https://files.mastodon.social/media_attachments/files/109/328/893/415/907/859/original/12daa2bbdcaf08b6.jpg" type="image/jpeg" fileSize="351961" medium="image">
        <media:rating scheme="urn:simple">nonadult</media:rating>
      </media:content>
      <media:content url="https://files.mastodon.social/media_attachments/files/109/328/893/573/621/775/original/bd785379bc453b36.jpg" type="image/jpeg" fileSize="497598" medium="image">
        <media:rating scheme="urn:simple">nonadult</media:rating>
      </media:content>
      <media:content url="https://files.mastodon.social/media_attachments/files/109/328/893/929/908/752/original/80724141ba2640e7.jpg" type="image/jpeg" fileSize="209491" medium="image">
        <media:rating scheme="urn:simple">nonadult</media:rating>
      </media:content>
      <category>Rapha</category>
      <category>RCCSGP</category>
    </item>
  </channel>
</rss>
vincode-io commented 1 year ago

This happens because we search for RSS Feed icons at the domain level. We would have to implement some kind of Mastodon specific fetch to get the individual user avatars.

stuartbreckenridge commented 1 year ago

@vincode-io where <generator> includes Mastodon search for user avatars?