I’m importing RSS feeds with the RSS Polling plugin. I’m not adding any tags by default. Instead, the plan is that users add the tags manually. But the plugin removes the tags on the next pull. See for instance
EDIT: I thought it could be related with the setting create post for category and tag changes but I have changed it and the tags are still being deleted. For example:
EDIT 2: Ok, this is even more strange. A post that says that some tags have been removed but the tags are still there…
After testing further, I’m pretty sure that the problem is that tags are automatically removed when the RSS feed on /admin/plugins/rss_polling doesn’t have any tags assigned.
Hi, I think there is a new problem now. I just updated Discourse to 3.3.0.beta4-dev ( 7b8863fcd5 ) and now there are some imported posts that keep being updated at every poll, with no diff changes to be seen. This is what these posts have in common:
They are all imported with RSS Polling.
They received one tag when they were imported, the one set in RSS Polling.
For us, this is a regression. The previous bug could be circunvented by adding a default tag to all RSS feeds. Then tags could be added manually without trouble. Now our Latest list is being spammed by these recurrent updates without changes.
Updated: or maybe it’s something more specific or local? Because not all the topics with tags added manually are being updated. I’m removing and re-adding tags in some of the updated posts to see if I find a pattern. I will reply here with any findings.
Ok, I can confirm this pattern for the topics that are resurfacing:
They are all imported with RSS Polling.
They received one tag when they were imported, the one set in RSS Polling.
We added a second tag manually.
I was confused because only some topics with an additional tag keep being refreshed and not all of them, but the answer is simple: the RSS feed is still calling them, whereas older topics or topics with only recent entries in the RSS feed are logically not being triggered.
If possible, the implementation should be as simple as this:
If an imported topic is new, import the tags defined in the RSS Polling settings, if any.
If an imported topic isn’t new, don’t check tags at all.
This way new imported topics come with the expected tags (or none, if not tags are defined) and existing topics don’t get any changes/refreshes because of tags manually edited.
Can you revert this patch until a tested solution is in place, please? Our Latest main page is occupied by these old entries and we are lucky that we just started tagging and there is only a handful of entries manually tagged. Otherwise I can remove the second tags for now…
You can see the “meta-hmd” is being removed. This tag was added manually at next pull it removes the tag.
The “UploadVR” tag is configured in RSS Polling Plugin.
As @RGJ linked. The embed import is seeing that tags have changed and is re importing post removing the added tag.
Maybe a toggle could be added to ignore discourse topic tag changes?
The patch @Heliosurge mentions comes from RSS Polling setting to use pubDate to set the date of imported topics. For me it is very relevant to this topic here because we commissioned that feature and we have that RSS Polling version installed in our server. We have thousands of imported topics with correct dates, and I fear installing the stock RSS plugin to test yesterday’s patch by @featheredtoast might break things by bringing thousands of changes to incorrect dates or something.
For what is worth, we have been running the patched version for weeks and we have imported dozens of different feeds without a single glitch. It works great and as intended.
@Heliosurge if you can test the fix here that would be great. We are still adding new feeds almost on a daily basis and for us keeping the PubDate is crucial since each import might have dozens or even hundreds of entries. In comparison, we can wait for the solution on the tags.