OK, I almost figured out how to do this. But it is a hack in the core files. Anyone know how to turn this into a plugin? Or is there already a plugin that handles this? RSS Experts, help!!
Background: I want my feed to show 120 posts. I know some people think it's too much but I want ALL my podcasts to be in my feed, so that iTunes will have the archive of all episodes when a new listener discovers it.
Problem: I use Feedburner. After a while Feedburner decided to say my feed was too large, over 512k. So I had to shorten the feed, without limiting the # of posts (I need 120+ to fit all my podcast episodes). So I had to change from Full Feed to Summary Feeds (under WP Admin > Reading > Options). I don't like the Summary because it is too short of an excerpt, only 50 characters showing.
Goal: To use RSS2 Summary feed from WP, but have it show 300 characters (several sentences) instead of just 50 letters.
My Hack: Go into wp-includes/feed-rss2.php
Find the line:
<?php if (get_option('rss_use_excerpt')) : ?> <description><![CDATA[ <?php the_excerpt_rss() ?>]]></description>
Change it to:
<description><![CDATA[ <?php the_content_rss('Read ON', FALSE, '', 300); ?>]]></description>
How do I make this a plugin or some way for the hack to remain, even after I upgrade to the next version of WP?