• I have searched for plugins for something like this, but no luck. I really want my 630×250 thumbs to be included in my RSS feed. Any information in general of how to modify a feed would be helpful. But specifically:

    1. Which rss/php file would I modify? There are several php scripts that deal with rss, so not sure which, if not all, files do I modify.

    2. what would be the language to define the thumb? It seems like it would go between the <image> tags, but how is it written?

    Hopefully this is not too advanced a question, but adding thumbs to my feeds would really help boost subscriptions!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter poprunna

    (@poprunna)

    Come on! Nobody knows how to modify rss feeds?

    I have no idea if this will be of any use to you… But I use the post thumbnail feature that came out in WP2.9, not sure if that’s what you use. But then I include my thumbnail in my RSS using this:

    // THIS INCLUDES THE THUMBNAIL IN OUR RSS FEED
    function insertThumbnailRSS($content) {
    global $post;
    if ( has_post_thumbnail( $post->ID ) ){
    $content = '' . get_the_post_thumbnail( $post->ID, 'thumbnail' ) . '' . $content;
    }
    return $content;
    }
    
    add_filter('the_excerpt_rss', 'insertThumbnailRSS');
    add_filter('the_content_feed', 'insertThumbnailRSS');

    (Copied from my functions.php)

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Modify RSS feeds’ is closed to new replies.