HI, I have a media gallery, which is included in my RSS feed.
I have a description field for the gallery and then lots of images (140).
My RSS feed is set to include only the beginning of each node, before the break line.

But the media gallery is included whole, and the code is kind of weird - it includes divs and other markup, because the HTML entities are encoded, as shown below:

<div class="field field-name-media-gallery-description field-type-text-long field-label-hidden"><div class="field-items"><div class="field-item even"><p>Here is the description of my gallery.</p>
<!--break--></div></div>

And then there are all the images. I want to have only the section before break included, and without the entities... Is it possible? Thanks.

Comments

moloc’s picture

Category: Bug report » Support request
Issue summary: View changes
Status: Active » Fixed

If you go to /admin/structure/types/manage/media-gallery/display you can select RSS in the Custom Display Settings section and safe the dialog.

Then you can specify, what you like to see in the RSS feed.

There is no special logic for RSS in media_gallery. This is drupal standard behaviour.

Status: Fixed » Closed (fixed)

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