RSS 피드에 OneBox 사이트 아이콘이 표시되지 않도록 하는 방법?

OneBox로 링크를 삽입하면 상단에 사이트 아이콘이 표시되고, 그 아래에 대표 이미지가 표시됩니다. 아래 예시를 참고하세요.

사이트 아이콘을 제거하는 방법이 있을까요? CSS 트릭을 사용해서는 안 됩니다.

문제는 RSS 피드를 사용할 때, 예상대로 대표 이미지가 아니라 사이트 아이콘이 RSS 피드 섬네일로 가져와진다는 점입니다. 예시는 여기를 참고하세요. (어떤 이유인지 모르겠지만 이미지를 업로드할 수 없었습니다). 사이트 아이콘이 있는 것 자체는 상관없지만, 일부 피드 리더나 도구에서는 첫 번째 이미지를 가져와서 사용하는데, 이를 어떻게 우회할 수 있을지 모르겠습니다.

topic featured link enabled 설정과/또는 RSS에 대한 동일한 설정을 찾고 계신가요?

Discourse가 원박스(Onebox)의 파비콘을 대표 이미지로 설정하고 있는 건가요, 아니면 사용자의 RSS 리더가 그렇게 하고 있는 건가요?

XML을 확인해 보았지만 Discourse가 이렇게 하고 있는 것은 보이지 않습니다:

<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>How to remove the OneBox site-icon from appearing in RSS feeds?</title>
    <link>https://meta.discourse.org/t/how-to-remove-the-onebox-site-icon-from-appearing-in-rss-feeds/251768</link>
    <description>When dropping a link with OneBox, you get the site icon there at the top, and then you get the featured image. See the example below.

Is there a way to yank out the site icon? Not with css tricks.

The issue, when using RSS feeds, it&#39;s pulling in the site icon as the RSS feed thumbnail, instead of the featured image that you would expect. Example [here](https://ibb.co/7ptV8wN) *(I couldn’t upload an image for some reason)*. I don’t mind the site icon being there, but some feed readers, tools, are pulling the first image and using it. Not sure how to get around this.

https://www.epa.gov/newsreleases/final-epa-standards-heavy-duty-vehicles-slash-dangerous-pollution-and-take-key-step</description>
    <language>en</language>
    <lastBuildDate>Sat, 14 Jan 2023 16:42:31 +0000</lastBuildDate>
    <category>support</category>
    <atom:link href="https://meta.discourse.org/t/how-to-remove-the-onebox-site-icon-from-appearing-in-rss-feeds/251768.rss" rel="self" type="application/rss+xml" />
      <item>
        <title>How to remove the OneBox site-icon from appearing in RSS feeds?</title>
        <dc:creator><![CDATA[Jakke Lehtonen]]></dc:creator>
        <description><![CDATA[
            <p>Are you looking for setting <code>topic featured link enabled</code> and/or same with RSS?</p>
          <p><a href="https://meta.discourse.org/t/how-to-remove-the-onebox-site-icon-from-appearing-in-rss-feeds/251768/2">Read full topic</a></p>
        ]]></description>
        <link>https://meta.discourse.org/t/how-to-remove-the-onebox-site-icon-from-appearing-in-rss-feeds/251768/2</link>
        <pubDate>Sat, 14 Jan 2023 16:42:31 +0000</pubDate>
        <guid isPermaLink="false">meta.discourse.org-post-251768-2</guid>
        <source url="https://meta.discourse.org/t/how-to-remove-the-onebox-site-icon-from-appearing-in-rss-feeds/251768.rss">How to remove the OneBox site-icon from appearing in RSS feeds?</source>
      </item>
      <item>
        <title>How to remove the OneBox site-icon from appearing in RSS feeds?</title>
        <dc:creator><![CDATA[Brandon]]></dc:creator>
        <description><![CDATA[
            <p>When dropping a link with OneBox, you get the site icon there at the top, and then you get the featured image. See the example below.</p>
<p>Is there a way to yank out the site icon? Not with css tricks.</p>
<p>The issue, when using RSS feeds, it’s pulling in the site icon as the RSS feed thumbnail, instead of the featured image that you would expect. Example <a href="https://ibb.co/7ptV8wN" rel="noopener nofollow ugc">here</a> <em>(I couldn’t upload an image for some reason)</em>. I don’t mind the site icon being there, but some feed readers, tools, are pulling the first image and using it. Not sure how to get around this.</p>
<aside class="onebox allowlistedgeneric" data-onebox-src="https://www.epa.gov/newsreleases/final-epa-standards-heavy-duty-vehicles-slash-dangerous-pollution-and-take-key-step">
  <header class="source">
      <img src="https://global.discourse-cdn.com/meta/original/4X/8/7/5/875433177d8162e892a9bf623ed1c481d8c14db9.png" class="site-icon" width="32" height="32">

      <a href="https://www.epa.gov/newsreleases/final-epa-standards-heavy-duty-vehicles-slash-dangerous-pollution-and-take-key-step" target="_blank" rel="noopener nofollow ugc" title="09:48AM - 20 December 2022">US EPA – 20 Dec 22</a>
  </header>

  <article class="onebox-body">
    <div class="aspect-image" style="--aspect-ratio:690/362;"><img src="https://global.discourse-cdn.com/meta/optimized/4X/c/5/8/c58c4b7b1c44875fbfbd6246caf8ac6a8e695381_2_690x362.jpeg" class="thumbnail" width="690" height="362" srcset="https://global.discourse-cdn.com/meta/optimized/4X/c/5/8/c58c4b7b1c44875fbfbd6246caf8ac6a8e695381_2_690x362.jpeg, https://global.discourse-cdn.com/meta/optimized/4X/c/5/8/c58c4b7b1c44875fbfbd6246caf8ac6a8e695381_2_1035x543.jpeg 1.5x, https://global.discourse-cdn.com/meta/original/4X/c/5/8/c58c4b7b1c44875fbfbd6246caf8ac6a8e695381.jpeg 2x" data-dominant-color="3B5D39"></div>

<h3><a href="https://www.epa.gov/newsreleases/final-epa-standards-heavy-duty-vehicles-slash-dangerous-pollution-and-take-key-step" target="_blank" rel="noopener nofollow ugc">Final EPA Standards for Heavy-Duty Vehicles to Slash Dangerous Pollution and...</a></h3>

  <p>EPA News Release: Final EPA Standards for Heavy-Duty Vehicles to Slash Dangerous Pollution and Take Key Step Toward Accelerating Zero-Emissions Future</p>


  </article>

  <div class="onebox-metadata">
    
    
  </div>

  <div style="clear: both"></div>
</aside>

          <p><a href="https://meta.discourse.org/t/how-to-remove-the-onebox-site-icon-from-appearing-in-rss-feeds/251768/1">Read full topic</a></p>
        ]]></description>
        <link>https://meta.discourse.org/t/how-to-remove-the-onebox-site-icon-from-appearing-in-rss-feeds/251768/1</link>
        <pubDate>Sat, 14 Jan 2023 15:19:48 +0000</pubDate>
        <guid isPermaLink="false">meta.discourse.org-post-251768-1</guid>
        <source url="https://meta.discourse.org/t/how-to-remove-the-onebox-site-icon-from-appearing-in-rss-feeds/251768.rss">How to remove the OneBox site-icon from appearing in RSS feeds?</source>
      </item>
  </channel>
</rss>

아, 알겠습니다. 즉, 일부 RSS 리더가 찾은 이미지를 무조건 가져와서 "대표 이미지"로 사용하는 것이 문제라는 말씀이군요.

기본적으로 모든 RSS 요청마다 게시물을 파싱 → 필터링 → 직렬화해야 한다고 생각하지는 않지만, 가장 중요하게 생각하는 인스턴스를 소유하고 있다면 커스텀 플러그인을 통해 이를 수행할 수는 있습니다.

[quote="Falco, post:3, topic:251768, username:Falco”]
아, 알겠습니다. 그러니까 문제는 일부 RSS 리더가 발견한 이미지를 가져와서 “대표 이미지”로 사용한다는 거군요.
[/quote]

이렇게 하는 워드프레스 플러그인과 메일러라이트(Mailerlite)를 찾았습니다. 둘 다 첫 번째 이미지를 가져오는데, 불행히도 사이트 아이콘이 첫 번째 이미지입니다. 따라서 커스텀 플러그인이 유일한 방법인데, 이런 걸 하는 방법에 대한 문서가 있을까요? 제 생각엔 불가능할 것 같습니다! :grinning_face_with_smiling_eyes: