RSS feed only includes summaries
-
So I’ve searched all over for this and have come up emtpy-handed. I’m using FP Feedburner but disabled it temporarily and found that the original RSS feed still only includes the exceprt data and not the content data.
Here’s my feed URL: http://blog.schertz.name/feed/rss/
-
check your settings:
Admin – Settings – Reading >>>
For each article in a feed, show Full text SummaryI already tried that; was set to Full by defauly but I tried setting it to Summary and then set back to Full. Regrdless of the setting the summary always displays. And I changed the number of articles each time so I could validate I as seeing the updated settings each time.
take a peak in your functions.php for any clues. You may have a filter set in there. You should see something referencing rss in the code if this is the case
Or, the more obvious choice. A plugin acting up. Disable all plugins temporarily and test you feed
I understand, if viewing in feedburner, you will see only summary.
see this thread.
Already tried deactiving all plugins; no difference
This is all the wp-includes\functions.php contains in terms of RSS references.
/** * Load the RDF RSS 0.91 Feed template. * * @since 2.1.0 */ function do_feed_rdf() { load_template( ABSPATH . WPINC . '/feed-rdf.php' ); } /** * Load the RSS 1.0 Feed Template * * @since 2.1.0 */ function do_feed_rss() { load_template( ABSPATH . WPINC . '/feed-rss.php' ); } /** * Load either the RSS2 comment feed or the RSS2 posts feed. * * @since 2.1.0 * * @param bool $for_comments True for the comment feed, false for normal feed. */ function do_feed_rss2( $for_comments ) { if ( $for_comments ) load_template( ABSPATH . WPINC . '/feed-rss2-comments.php' ); else load_template( ABSPATH . WPINC . '/feed-rss2.php' ); }please see my post that precedes your last post
Hmmm, my feeds are all full length on feedburner. Is it an option there? I haven’t messed around too much on feedburner
@rev. Voodoo, while searching around in the forum, I saw that thread.
It’s not Feedburner, I’ve already tested with FD disabled and when I view the original feed it’s still wrong. It’s also not an option in Feedburner to summarize the original post content. Another clue pointing to WP as the source of the summary is they are exactly 55 words, which is the default maximum excerpt length.
I previously found in another thread here a suggestion to edit the feed-rss.php and change this line:
<?php else : ?> <description><![CDATA[<?php the_excerpt_rss() ?>]]></description>to this:
<?php else : ?> <description><![CDATA[<?php the_content_rss('rss2') ?>]]></description>But that seemed to do nothing.
no, don’t mess with core files.
Also, I didn’t mean look in wp-includes/functions.php
I meant functions.php in your theme, look there for rss filters
OK, no mention of RSS in the theme file. I didn’t touch the core files. (Just to clafiy I assume you mean the base wordpress files as my theme happens to be named ‘Core’ which could get confusing).
ah, yes it would! I meant wordpress ‘core’ files. Anything that came with WP.
Switch to twentyten theme and test……. that’s the next step
I just got it working. On a hunch from that other thread I just decided to replace each occurance of the_excerpt_rss() with the_content_feed(‘rss2’) and it worked.
<?php if (get_option('rss_use_excerpt')) : ?> <description><![CDATA[<?php the_content_feed('rss2') ?>]]></description> <?php else : ?> <description><![CDATA[<?php the_content_feed('rss2') ?>]]></description> <?php if ( strlen( $post->post_content ) > 0 ) : ?> <content:encoded><![CDATA[<?php the_content_feed('rss2') ?>]]></content:encoded> <?php else : ?> <content:encoded><![CDATA[<?php the_content_feed('rss2') ?>]]></content:encoded> <?php endif; ?> <?php endif; ?>It’s probably not the ‘right’ solution but the code does not appear to work correctly in its default state as it’s ignoring the state of the Full/Summary setting. If I want summaries back I’ll just update the code again.
Check it out now: http://blog.schertz.name/feed/
http://blog.schertz.name/feed/rss/
is still excerpts for me (even after a refresh)http://blog.schertz.name/feed/
is full postsLOL, not 2 minutes after I posted that last one I noticed the same thing so my testing was skewed, as I was using separate browser to validate those .php changes and it ‘appeared’ to be working.
So I’ve reverted the changes I made in the .php file and simply updated the Feedburner configuration to point to http://blog.schertz.name/?feed=rss2 which corrolates to the /feed/ address. Ommmiting the 2 at the end points to the /feed/rss/ which is still excerpts.
Thanks for your help, I just needed to work through the process end-to-end to figure out that the linch-pin was.
And now that I’m pointing back to Feedburner both of the URLs go to the same full feed.
The topic ‘RSS feed only includes summaries’ is closed to new replies.