A feed should set the proper Content-Type to application/rss+xml and not use the default text/html.

Just put the following line in the function template_preprocess_views_view_views_rss_fields:

  drupal_set_header('Content-Type: application/rss+xml; charset=utf-8');

Comments

rsoden’s picture

Status: Active » Fixed

Committed to HEAD, will roll out a new beta release later this week.

Thanks.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

Anonymous’s picture

Issue summary: View changes

Quick update. I tried this on Drupal 8.5.1 and it still works! :)
The question is: shouldn't this be included in core, as an option for the RSS feed view ?