Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 295043

Add support for enclosure field in Views RssFields row plugin so that posts can include media items

$
0
0

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.

API changes

Data model changes


Viewing all articles
Browse latest Browse all 295043

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>