• I want to have one of my custom fields display in the RSS feed. Is this possible? How would I do it?

Viewing 7 replies - 1 through 7 (of 7 total)
  • I’d like to find out about this as well. ??

    A lot more info would be helpful on this before a solution can be provided. Such as, what’s in this custom field? Where in your feed do you want it to display? And how?

    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

    Xander

    (@xander)

    You can squeeze the same code into wp-rss*.* just about… although I happen to use the c2c_get_custom function (google it).

    I’d love to see the ability to include custom fields in the feed.

    Still no plugin to make this possible?

    Does the RSS 2.0 spec allow for custom fields and do all the feed clients and aggregators support your particular custom field ?

    I was thinking maybe there was a plugin allowing you to include the custom field data towards the end of each post, just like tags are optional to include in the feed with the UltimateTagWarrior plugin.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Adding custom fields to an RSS feed?’ is closed to new replies.