كيفية إزالة أيقونة موقع OneBox من الظهور في خلاصات RSS؟

عند إسقاط رابط مع 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'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://d11a6trkgmumsb.cloudfront.net/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://d11a6trkgmumsb.cloudfront.net/optimized/4X/c/5/8/c58c4b7b1c44875fbfbd6246caf8ac6a8e695381_2_690x362.jpeg" class="thumbnail" width="690" height="362" srcset="https://d11a6trkgmumsb.cloudfront.net/optimized/4X/c/5/8/c58c4b7b1c44875fbfbd6246caf8ac6a8e695381_2_690x362.jpeg, https://d11a6trkgmumsb.cloudfront.net/optimized/4X/c/5/8/c58c4b7b1c44875fbfbd6246caf8ac6a8e695381_2_1035x543.jpeg 1.5x, https://d11a6trkgmumsb.cloudfront.net/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>


  <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 افتراضيًا، ولكن هذا شيء يمكنك القيام به في إضافة مخصصة إذا كنت تمتلك المثيل الذي تهتم به أكثر.

لقد وجدت إضافة ووردبريس و Mailerlite التي فعلت ذلك. كلاهما يلتقط الصورة الأولى، وللأسف، أيقونة الموقع هي الصورة الأولى. لذا فإن إضافة مخصصة هي الطريقة الوحيدة، هل هناك أي وثائق حول كيفية القيام بشيء كهذا، تخميني هو لا توجد طريقة يا خوسيه! :grinning_face_with_smiling_eyes: