• Hi all,

    thanks for your support and for your work. I’ve a little problem into Feed RSS. I got too many link into the <description> </description> tag of an RSS post. In this part there should be only a summary (HTML or text) of the content of each article, whereas there is also two links to the homepage, another link to Article itself and one link to author. How do I remove all links and leave only the summary of the content of the item tag description?

    NOTE: I’ve never done any modifications of the feed-rss2.php and feedvalidator says that it’s all right.

    The code that i tried to check is the default and the part of it that generates the rss posts should be the follow :

    <guid isPermaLink="false"><?php the_guid(); ?></guid>
    <?php if (get_option('rss_use_excerpt')) : ?>
    		<description><![CDATA[<?php the_excerpt_rss(); ?>]]></description>
    <?php else : ?>
    		<description><![CDATA[<?php the_excerpt_rss(); ?>]]></description>
    	<?php $content = get_the_content_feed('rss2'); ?>
    	<?php if ( strlen( $content ) > 0 ) : ?>
    		<content:encoded><![CDATA[<?php echo $content; ?>]]></content:encoded>
    	<?php else : ?>
    		<content:encoded><![CDATA[<?php the_excerpt_rss(); ?>]]></content:encoded>
    	<?php endif; ?>
    <?php endif; ?>

    Thanks for your help.

  • The topic ‘Feed RSS2 generates too many link’ is closed to new replies.