Is it possible to limit polling frequency per feed in number in 24 hours? Like 2 articles in 24 hours?
You can limit the polling frequency by adjusting the
rss polling frequency site setting. There isn’t currently a setting to limit the number of articles that are pulled in though.
I am integrating an RSS feed into a discourse category. However all topics are coming through as “unlisted” but with the embedded user however if the admin changes the topic to “listed” then the author changes to that admin user.
How can RSS topics be posted as “listed”?
You can prevent this by disabling the
embed unlisted site setting. That setting is enabled by default. When enabled, topics that are embedded from external sources will be unlisted until they receive a reply.
That shouldn’t be happening. I’ll look into it later today.
I am not able to reproduce this on my site that’s using the latest Discourse code. The staff member who lists the topics will get shown as the topic’s last post though. On mobile, this could make it look like they are the author of all the topics. Possibly this is what you are seeing.
If the actual topic owners are being changed on your site when topics are re-listed, let us know.
It is the icon I can see changing. I’ve unchecked new items being unlisted which is working however it required an “username to embed” which I assumed would be captured in the host information.
All good otherwise
Looking for some advice. Have tried this to feed news articles into our site, however we tend to delete some and want to limit. Those deleted articles keep coming back when the RSS feed is triggered again. Is there a way to stop this?
Yes, unlist them instead of deleting them, or remove them from the RSS source.
Anything you delete that’s still in the RSS feed will be resurrected/recreated.
Is it possible to show the full post content by default, without clicking the “Show Full Post” Button ?
I asked this because some RSS feed, contain coding in their feed. It shows lots of unwanted content in the post.
But once user click on the “Show Full Post” Button, it show the embed contain nicely.
Yes, this can be done by deselecting the
embed truncate site setting.
I have tried disabling the “embed truncate” in post setting last few days, however it doesn’t give the same result as pressing the “Show Full Post” Button .
Here is a example:
“Embed truncate” setting disable:
It display the text inside the RSS feed
“Embed truncate” setting enable:
Content after pressing “Show Full Post” Button:
It display the real web content following the whitelist rule.
I was worried that might happen. When the Show Full Post button is clicked, Discourse scrapes the page content from the web page that is associated with the feed item. What you are seeing when the
embed truncate setting is disabled it the result of the markup that comes directly from the RSS feed. It sounds like there is some broken markup in the RSS feed that is causing it to display in the way it is.
The easiest way to confirm this would be to visit the RSS feed URL directly with your browser and have a look at its markup. I think you would look for what falls between its
Thank you for your quick reply.
I have also tried another feed without strange markup.
Here is example from another feed:
“Embed Truncate” Disable:
The broken image is a known problem caused by the
<p> tag. It can be fix manually following the instruction from this post .
But the main problem is, it only show a very short description from the RSS feed, not the whole content from the web page.
“Embed Truncate” Enable:
It doesn’t show any content, other than the original source link.
“Show Full Post” Button Pressed:
It display the correct content from web page following the whitelist rule.
Do you think it is possible to show the full post content by default, without pressing the “Show Full Post” Button?
Or do you think it is possible to let Discourse scrapes the page content from the web page that is associated with the feed item all the time?
That feed is only supplying an excerpt of the full post. That is why you only see an excerpt when the
embed truncate setting is disabled.
When you do select the
embed truncate site setting, Discourse will attempt to pull the full post content from the post’s URL. If the post has broken HTML, Discourse will not be able to pull in the post content. In those cases, clicking the “Show Full Post” button will not pull in the post. When this happens, the user does not receive an error message telling them what the problem is. Possibly an error message should be displayed for this case.
I can’t see any of the errors or why the RSS isn’t parsing:
@simon do you think the RSS feed is not formatted correctly which is why the plug-in isn’t pulling the data? Or is there something else I am missing?
Is it failing to pull in all of the items from that feed, or are just some of them missing?
is it possible to have no new topics but replies ?
Hi Simon, when I have mine active, It’s posting 20 topics at a time, but it’s the same topics getting posted every time. I delete them, but then they will show back up in 10 minutes. How would I make this not happen?