Problem/Motivation
The RSS format has the <enclosure> tag for "attaching" media to an item. It is typically used for the main image of an article or the audio file of a podcast issue.
Views has an RSS Enclosure formatter but it looks like it cannot really be used. Only the fields selected in the RssFields plugin settings form are rendered.
Proposed resolution
Add an optional "Enclosure field" option to RssFields.
Remaining tasks
- ✅ Write patch as proof of concept for the proposed resolution
- ✅ Get Views maintainer approval of proposed resolution (see comment #70 and review comment #84)
- ❌ Create merge request satisfying the approved resolution
- ❌ Community approval of merge request
- ❌ Views maintainer approval of merge request
- ❌ Write automated test coverage.
- ❌ Merge the request into Drupal core
- ❌ Celebrate the ability to properly include images in RSS feeds
User interface changes
Adds Image option in RSS fields list in Views.