removed errant id tag anc chanced description tag to summary
git-svn-id: http://svn.automattic.com/wordpress/trunk@785 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
6feded370c
commit
1f02b3ee69
|
@ -18,7 +18,6 @@ if (!isset($rss_excerpt_length) || ($rss_encoded_html == 1)) { $rss_excerpt_leng
|
||||||
<modified><?php echo gmdate('Y-m-d\TH:i:s\Z'); ?></modified>
|
<modified><?php echo gmdate('Y-m-d\TH:i:s\Z'); ?></modified>
|
||||||
<copyright>Copyright <?php echo mysql2date('Y', get_lastpostdate()); ?></copyright>
|
<copyright>Copyright <?php echo mysql2date('Y', get_lastpostdate()); ?></copyright>
|
||||||
<generator url="http://wordpress.org/" version="<?php echo $wp_version ?>">WordPress</generator>
|
<generator url="http://wordpress.org/" version="<?php echo $wp_version ?>">WordPress</generator>
|
||||||
<id>tag:<?php echo str_replace('http://', '', $siteurl); ?>,<?php echo date('Y'); ?>:1984</id>
|
|
||||||
|
|
||||||
<?php $items_count = 0; if ($posts) { foreach ($posts as $post) { start_wp(); ?>
|
<?php $items_count = 0; if ($posts) { foreach ($posts as $post) { start_wp(); ?>
|
||||||
<entry>
|
<entry>
|
||||||
|
@ -37,7 +36,7 @@ if (!isset($rss_excerpt_length) || ($rss_encoded_html == 1)) { $rss_excerpt_leng
|
||||||
<?php
|
<?php
|
||||||
} else { // use content
|
} else { // use content
|
||||||
?>
|
?>
|
||||||
<description><?php the_content_rss('', 0, '', $rss_excerpt_length, 2) ?></description>
|
<summary type="text/html"><?php the_content_rss('', 0, '', $rss_excerpt_length, 2) ?></summary>
|
||||||
<?php
|
<?php
|
||||||
} // end else use content
|
} // end else use content
|
||||||
?>
|
?>
|
||||||
|
|
Loading…
Reference in New Issue