• Hi. I want to limit the RSS from my site, so what is downloaded to the RSS read only all the post BEFORE the read-more tag kicked in.

    I changed the WP setting into Summary, it’s only excerpting the post. And Full-text, is really the full thing.

    Is there a way to do it?

Viewing 1 replies (of 1 total)
  • This issue appearently has some history, see
    https://trac.www.ads-software.com/ticket/2582 and
    https://trac.www.ads-software.com/ticket/6680

    I have a tiny patch which should allow the feed (rss2 and atom) to honor <!–more–> when admin/settings/reading are set to full text.

    --- wp-includes/post-template.php       (revision 7919)
    +++ wp-includes/post-template.php       (working copy)
    @@ -113,6 +113,7 @@
            if ( (false !== strpos($post->post_content, '<!--noteaser-->') && ((!$multipage) || ($page==1))) )
                    $stripteaser = 1;
            $teaser = $content[0];
    +       if (is_feed()) $more = 0;
            if ( ($more) && ($stripteaser) )
                    $teaser = '';
            $output .= $teaser;
Viewing 1 replies (of 1 total)
  • The topic ‘How To Limit Words / Sentence / Read More in RSS’ is closed to new replies.