RSS Polling: read the video description from YouTube channel feeds

Checked: no. Neither the version Discourse bundles (0.3.3) nor current master of ruby/rss (0.3.4) has a Media RSS module - it ships content, Dublin Core, image, iTunes, slash, syndication, taxonomy and trackback, and ignores media:* elements. So upgrading the gem alone won’t help.

Two ways I can see:

  1. Add a Media RSS module to ruby/rss upstream (along the lines of its iTunes module), then bump the gem here.
  2. Read media:description from the raw XML with Nokogiri inside RSS Polling - the fetch step already has the XML before parsing, so no gem change is needed. That’s what our companion plugin does today, and it’s been reliable with YouTube channels.

Option 2 seems the smaller change. Would you take a PR along those lines?

3 Likes