Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I am using contemplate to edit the RSS output
The variables provided tell me the output of $node->field_image_2_0[0]['view'] should be:
however it outputs differently in the actual rss feed:
So why has it changed?
Comments
Comment #1
netentropy CreditAttribution: netentropy commentedThis is what contemplate says will be the code:
here is what is outputted by the feed:
<div class="filefield-file clear-block"><div class="filefield-icon field-icon-image-jpeg"><img class="field-icon-image-jpeg" alt="image/jpeg icon" src="http://www.nejex.com/modules/filefield/icons/protocons/16x16/mimetypes/image-x-generic.png" /></div><a href="http://www.nejex.com/files/jewelry/DSC01056.JPG" type="image/jpeg; length=289889">DSC01056.JPG</a></div>
This what I meant to include not the actual file link