I need the same hack. I tried different things, resulting only in failure.
Each post excerpt has a thumbnail associated with it. I would like to display the FULL thumb url in the feed like :
<item>
<image>https://www.domain.com/thumb_name.jpg</image>
</item>
My custom field key : image
Custom field value: thumb_name.jpg
By the way, this thumb is displayed in the_excerpt (in the loop)using this code:
<?php the_excerpt(); ?>
<center><?php if(get_post_custom_values('image')){
foreach(get_post_custom_values('image') as $value) { ?>
<a href="<?php the_permalink() ?>"><img src="https://www.domain.com/vids/<?php echo $value; ?>" class="br" alt="<?php the_title(); ?>" /></a>
<?php } ?>
<?php } ?>
</center>
Do you know why it doesn’t appear at all in the feed under
<description><![CDATA[ ]]></description>
Thank you for your time