Feed fixes from MooKitty.

git-svn-id: https://develop.svn.wordpress.org/trunk@2046 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren
2005-01-04 23:30:10 +00:00
parent 0f3886534d
commit cecd758d0f
3 changed files with 16 additions and 6 deletions

View File

@@ -38,7 +38,11 @@ $more = 1;
<description><?php the_excerpt_rss('', 2) ?></description>
<?php else : ?>
<description><?php the_excerpt_rss(get_settings('rss_excerpt_length'), 2) ?></description>
<?php if ( strlen( $post->post_content ) ) : ?>
<content:encoded><![CDATA[<?php the_content('', 0, '') ?>]]></content:encoded>
<?php else : ?>
<content:encoded><![CDATA[<?php the_excerpt_rss(); ?>]]></content:encoded>
<?php endif; ?>
<?php endif; ?>
<wfw:commentRSS><?php echo comments_rss(); ?></wfw:commentRSS>
<?php