Make WordPress Core

Opened 8 years ago

Closed 8 years ago

Last modified 5 years ago

#36272 closed feature request (duplicate)

Adding media RSS module in wordpress feed

Reported by: dingo_d's profile dingo_d Owned by:
Milestone: Priority: normal
Severity: normal Version: 4.4.2
Component: Feeds Keywords:
Focuses: Cc:

Description (last modified by SergeyBiryukov)

I had to add media tag manually for my client, because I was adding a featured image to the feed and I noticed that wordpress doesn't have

<rss version="2.0" xmlns:media="">

tag in its rss tag. I noticed this when I got error in my feed validation, so I had to add it using

add_action( 'rss2_ns', 'custom_prefix_add_media_namespace' );

function custom_prefix_add_media_namespace() {
    echo "xmlns:media=""n";

I saw a ticket #35043 regarding images in the feed being broken, but I'm not sure if this refers to images in the content, or the featured image.

I'm not sure if it's needed for the images in the content, but it is if we want to add featured image as a media to the feed.

Could we have a feed that will automatically add featured image to the main feed as a
<media:thumbnail url="..." /> if the image is set?

There already are hacks out there, so why not make it official?

Change History (4)

#1 @swissspidy
8 years ago

  • Component changed from Media to Feeds
  • Milestone Awaiting Review deleted
  • Resolution set to duplicate
  • Status changed from new to closed

Hey there,

Welcome to trac! Thanks for creating this ticket, but we're already tracking this in #8994.

At the moment this is plugin territory and I recommend you a plugin like (note: I'm the co-developer) to implement this.

#2 @SergeyBiryukov
8 years ago

  • Description modified (diff)

#3 @dingo_bastard
8 years ago

Oh, I didn't know about the existing ticket. Thanks for the heads up. I know about plugins, this one just seemed like something that should belong to the core.

#4 @dd32
5 years ago

  • Reporter changed from dingo_bastard to dingo_d
Note: See TracTickets for help on using tickets.