Wellfed 插件 - YouTube RSS 订阅源无法正常工作

大家好,

有人使用过 Wellfed RSS 插件 吗?它对大多数 RSS 源运行良好,但我无法让它与 YouTube RSS 源配合使用——没有导入任何内容。

有人有什么建议吗?我是否需要以不同于普通 RSS 源的方式操作?

1 个赞

Of course!

3 个赞

Well, then you might want to ask @xrav3nz :wink:

1 个赞

Thank you. I have just messaged @xrav3nz.

Hey @christian_01, thanks for checking out the plugin!

Do you see any errors in the logs (https://discourse.yoursite.com/logs)? Do you have an example YouTube feed URL that I could use to test?

6 个赞

Hey @xrav3nz, thanks for getting back in touch. Here are a couple of URLs to test:

https://www.youtube.com/feeds/videos.xml?channel_id=UCqcEzOKaA4nc0gISklN0Ryw

https://www.youtube.com/feeds/videos.xml?channel_id=UC0m3Fy5uK4OwOf7iPNuwGVg

I’ve asked my developer to check the error logs. I will report back shortly.

1 个赞

FYI, we have a self-hosted site running on a Digital Ocean server.

1 个赞

I have another bug @xrav3nz I hope you can help with.

Some feeds aren’t being categorised properly, even though the are set up correctly in the plug-in setting.

Please see - BCW

You’ll notice a lot of feeds aren’t labelled correctly under ‘News’ when they should be - they have no label in fact.

I hope you can provide some assistance.

<feed ... xmlns:media="http://search.yahoo.com/mrss/">

It appears that the YouTube’s feed uses the Media RSS extension. Both Discourse core and the Wellfed plugin relies on the Ruby RSS module to parse feeds, but it does not support that extension.

I don’t have plans to add supports for the extension, but I am open to PRs! I imagine the change will need to teach the Ruby RSS module and DiscourseWellfed::FeedItem about the new elements.

Could you share (or DM me):

  • the feed URL, and
  • your set up for that feed in Customize > Embedding > Allowed Hosts
3 个赞

Hi, @xrav3nz, I have the same problem.
Here is feed url :

image

For me only cointelegraph going to news category.
And here is “Allowed hosts”

Could you check it.

Thanks

1 个赞

Hi @bintom, I believe it can be fixed by simply adjusting your settings:

  • change coindesk's allowed host to www.coindesk.com
  • change ccn's path whitelist to .* or /news/.*

I didn’t test the last one, but the change required is along the same lines. :wink: I will add a section in the plugin’s README noting this common pitfall.

Please note that changing the setting will not retroactively update the existing topics, but any new topics should be posted to the designated category.

1 个赞

thank @xrav3nz for your help

Hi @xrav3nz.

I’m still having a little trouble, but I can’t figure it out.

The issue is where there are multiple sections/categories of a third-party site that I want to pull feeds in from.

For instance, this site (https://www.delphix.com/resources) has feeds for:

Blogs
Whitepapers
Podcasts
Videos
Webinars
Infographics

I want to pull them all in using their different RSS feeds, but they are all appearing in the same category on my site (‘Blogs’). Below is how I have set up the feeds in the plugin. Have I incorrectly configured the ‘Path Whitelist’?

Have you solve your problem?

大家好!
YouTube RSS 导入功能能用吗?
我试过了,但对我来说不行 =(

标准情况下无法工作,不行。为此我不得不安装一个自定义插件。

我在一个 PR 中增加了对 YouTube RSS 源的支持:

3 个赞