Show more link in RSS. Don't show more link if more link text empty. Take more into account when creating excerpt.

git-svn-id: https://develop.svn.wordpress.org/trunk@4184 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren
2006-09-11 23:59:00 +00:00
parent 94cb7b27ab
commit 0022e717d8
3 changed files with 10 additions and 6 deletions
+1 -1
View File
@@ -42,7 +42,7 @@ $more = 1;
<?php else : ?>
<description><![CDATA[<?php the_excerpt_rss() ?>]]></description>
<?php if ( strlen( $post->post_content ) > 0 ) : ?>
<content:encoded><![CDATA[<?php the_content('', 0, '') ?>]]></content:encoded>
<content:encoded><![CDATA[<?php the_content() ?>]]></content:encoded>
<?php else : ?>
<content:encoded><![CDATA[<?php the_excerpt_rss() ?>]]></content:encoded>
<?php endif; ?>