How to remove some data on latest.RSS feeds?


(Dan) #1
  • image.png 1234x4567 89 KB
  • Posts: xx
  • Participants: xx

Thanks!


(Dan) #2

Any tips from the discourse expert?


(Jay Pfaffman) #3

Your question doesn’t really say what you’re trying to do or why, but I think you’ll need a plugin.

See Search results for 'plugin #howto ' - Discourse Meta


(Dan) #4

I want to remove those extra data on RSS feeds.


(Dan) #5

Sample from this rss feed: Discourse Meta - Latest topics

You can see the extra data I mention above.


(Mittineague) #6

I don’t know as I’d call it “extra” information. It relates to the Users and Replies columns


Some browers I see the RSS as text

        <item>
          <title>How to remove some data on latest.RSS feeds?</title>
          <dc:creator><![CDATA[@RoldanLT Dan]]></dc:creator>
          <category>support</category>
          <description><![CDATA[
            <p><a href="https://meta.discourse.org/u/roldanlt">@RoldanLT</a> wrote:</p>
            <blockquote>
              <ul>
<li>image.png 1234x4567 89 KB</li>
<li>Posts: xx</li>
<li>Participants: xx</li>
</ul>
<p>Thanks!</p>
            </blockquote>
            <p>Posts: 5</p>
            <p>Participants: 2</p>
            <p><a href="https://meta.discourse.org/t/how-to-remove-some-data-on-latest-rss-feeds/94562">Read full topic</a></p>
          ]]></description>
          <link>https://meta.discourse.org/t/how-to-remove-some-data-on-latest-rss-feeds/94562</link>
          <pubDate>Mon, 13 Aug 2018 03:38:59 +0000</pubDate>
          <discourse:topicPinned>No</discourse:topicPinned>
          <discourse:topicClosed>No</discourse:topicClosed>
          <discourse:topicArchived>No</discourse:topicArchived>
          <guid isPermaLink="false">meta.discourse.org-topic-94562</guid>
          <source url="https://meta.discourse.org/t/how-to-remove-some-data-on-latest-rss-feeds/94562.rss">How to remove some data on latest.RSS feeds?</source>
        </item>

Some browsers styled
dan-2

Anyway, I believe what you’ll want to work with are these two lines of code (or at least use as a starting point)

As for the images, I think you’re referring to those that are inside <description> when a post contains an image?