Support image fields in RSS enclosure formatter

Created on 9 June 2020, over 4 years ago
Updated 2 March 2023, almost 2 years ago

This is a follow-up to #666412-45: Regression: RSS feed enclosure support lost from core , which somehow got missed, as far as I can see. The RSS enclosure formatter supports files in file fields being used for the enclosure element of RSS feeds, but not image fields.

xjm had suggested this could be done as a simple follow-up and/or in contrib. As far as I can see, the state of contrib for this isn't great, and it's such a simple thing to do, that I figured I'd just go do it.

Patch to follow before long.

Feature request
Status

Needs work

Version

10.1

Component
Image module 

Last updated 10 days ago

Created by

🇬🇧United Kingdom james.williams

Live updates comments and jobs are added and updated live.
  • Needs issue summary update

    Issue summaries save everyone time if they are kept up-to-date. See Update issue summary task instructions.

Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • 🇺🇸United States smustgrave

    This issue is being reviewed by the kind folks in Slack, #needs-review-queue-initiative. We are working to keep the size of Needs Review queue [2700+ issues] to around 400 (1 month or less), following Review a patch or merge request as a guide.

    Patch #12 had an error on D10

  • @cburschka opened merge request.
  • 🇨🇭Switzerland cburschka

    I've backdated the previous patches into a fork + merge request to work with it more easily.

    I suspect the largest problem is the use of file_create_url(), which was replaced with a service in D10.

  • 🇨🇭Switzerland cburschka

    Fixed the deprecations.

  • Status changed to Needs review almost 2 years ago
  • @cburschka opened merge request.
  • 🇨🇭Switzerland cburschka

    Unfortunately I don't see an easy way to run tests on the testonly branch without opening a second MR.

  • 🇨🇭Switzerland cburschka

    The test-only patch is failing as designed. This looks ready for review.

  • Status changed to Needs work almost 2 years ago
  • 🇺🇸United States smustgrave

    Seems MR 3373 has some failures.

    Hiding the files to avoid confusion.

    As far as tests-only you are spot on for what I've seen others do. They open a separate MR for the tests-only. If you uploaded a test-only patch and then did an MR after that not entirely sure what happens.

  • Status changed to Needs review almost 2 years ago
  • 🇨🇭Switzerland cburschka

    MR 3373 is supposed to have failures, that's the test-only one :D

  • Status changed to Needs work almost 2 years ago
  • 🇺🇸United States smustgrave

    That's my mistake

    Could the issue summary be updated though with steps to reproduce this, the proposed solution, maybe before/after screenshots could help. Helps the reviewer and committer.

Production build 0.71.5 2024