Summaries in Atom should properly describe their content, fixes #3377. Hat tip: link92.

git-svn-id: http://svn.automattic.com/wordpress/trunk@4688 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
matt 2007-01-07 02:14:07 +00:00
parent 44691d34ca
commit f510668919
1 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@ $more = 1;
<modified><?php echo get_post_time('Y-m-d\TH:i:s\Z', true); ?></modified> <modified><?php echo get_post_time('Y-m-d\TH:i:s\Z', true); ?></modified>
<issued><?php echo get_post_time('Y-m-d\TH:i:s\Z', true); ?></issued> <issued><?php echo get_post_time('Y-m-d\TH:i:s\Z', true); ?></issued>
<?php the_category_rss('rdf') ?> <?php the_category_rss('rdf') ?>
<summary type="text/plain" mode="escaped"><![CDATA[<?php the_excerpt_rss(); ?>]]></summary> <summary type="<?php bloginfo('html_type'); ?>" mode="escaped"><![CDATA[<?php the_excerpt_rss(); ?>]]></summary>
<?php if ( !get_option('rss_use_excerpt') ) : ?> <?php if ( !get_option('rss_use_excerpt') ) : ?>
<content type="<?php bloginfo('html_type'); ?>" mode="escaped" xml:base="<?php permalink_single_rss() ?>"><![CDATA[<?php the_content('', 0, '') ?>]]></content> <content type="<?php bloginfo('html_type'); ?>" mode="escaped" xml:base="<?php permalink_single_rss() ?>"><![CDATA[<?php the_content('', 0, '') ?>]]></content>
<?php endif; ?> <?php endif; ?>