Full content fix from markp.

git-svn-id: http://svn.automattic.com/wordpress/trunk@1268 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
saxmatt 2004-05-13 17:21:38 +00:00
parent 40a89d65c6
commit e550bff7d5
1 changed files with 3 additions and 8 deletions

View File

@ -31,17 +31,12 @@ header('Content-type: application/atom+xml', true);
<modified><?php echo mysql2date('Y-m-d\TH:i:s\Z', $post->post_modified_gmt); ?></modified>
<issued><?php echo mysql2date('Y-m-d\TH:i:s\Z', $post->post_date_gmt); ?></issued>
<?php the_category_rss('rdf') ?>
<?php $more = 1; if (get_settings('rss_use_excerpt')) {
?>
<?php $more = 1; if (get_settings('rss_use_excerpt')) { ?>
<summary type="text/html" mode="escaped"><?php the_excerpt_rss(get_settings('rss_excerpt_length'), 2) ?></summary>
<?php
} else { // use content
?>
<?php } else { // use content ?>
<summary type="text/html"><?php the_content_rss('', 0, '', get_settings('rss_excerpt_length'), 2) ?></summary>
<?php
} // end else use content
?>
<content type="text/html" mode="escaped" xml:base="<?php permalink_single_rss() ?>"><![CDATA[<?php the_content('', 0, '') ?>]]></content>
<?php } // end else use content ?>
</entry>
<?php $items_count++; if (($items_count == get_settings('posts_per_rss')) && empty($m)) { break; } } } ?>
</feed>