# RSS-Beiträge werden bei jedem Lauf nach oben gesetzt

**URL:** <https://meta.discourse.org/t/posts-from-rss-bumped-on-each-run/95766>\
**Category:** Bug\
**Created:** [27. August 2018 um 18:41 UTC](https://meta.discourse.org/t/posts-from-rss-bumped-on-each-run/95766 "2018-08-27T18:41:04Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![xrav3nz](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/xrav3nz/32/76894_2.png) [@xrav3nz](https://meta.discourse.org/u/xrav3nz)\
**Post date:** [28. August 2018 um 02:02 UTC](https://meta.discourse.org/t/posts-from-rss-bumped-on-each-run/95766/4 "2018-08-28T02:02:06Z")

</div>

> [@darix](#):
>
> only seems to affect posts with no replies

Yes, this is because edits to the first post will only bump topics without any replies.

* * *

After making sure this didn’t happen on my private instance, nor did the [a new spec](https://github.com/xrav3nz/discourse/blob/1c469bef12fe94ddbd835e2f07533e5b601c6c03/spec/models/topic_embed_spec.rb#L44-L48) fail:

I took a look into the RSS feed `https://pixls.us/blog/feed.xml`, and found all of the titles have an additional space at the beginning and the end.

```xml
<title>
  <![CDATA[LGM and Libre Graphics at SCaLE 16x]]>
           ^ ^
      the space here and here
</title>

```

This tricks the code into thinking the title have been changed, and tries to update the post. However, the extra spaces in titles are [stripped when saving](https://github.com/discourse/discourse/blob/18266262729598c55310a22f6993797525e2a817/lib/text_cleaner.rb#L49-L50), resulting in an “empty” edit. The loop continues …

* * *

I think we can either

1. drop support for title updates through RSS feeds
2. patch `TopicEmbed` or `PostRevisor` to omit such edits

I’m leaning towards 1, because it is niche enough and we never had this feature before anyway, and 2 requires a lot of careful changes.

* * *

Could you @darix try to drop the spaces in the feed, or “suppress the category from Latest” in the meantime?

---

_[View the full topic](https://meta.discourse.org/t/posts-from-rss-bumped-on-each-run/95766)._
