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.
Hi,
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â?
Cheers,
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.
Thanks.
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:
https://hint-pot.jp/archives/category/hobby/feed
âEmbed truncateâ setting disable:
It display the text inside the RSS feed
<content>
tag.
â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 <description>
tags.
Thank you for your quick reply.
I have also tried another feed without strange markup.
Here is example from another feed:
https://grapee.jp/category/animal/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.
Thanks Simon,
I canât see any of the errors or why the RSS isnât parsing: