removed errant id tag anc chanced description tag to summary
git-svn-id: https://develop.svn.wordpress.org/trunk@785 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
8f5f729dce
commit
ccf31cbb0f
@ -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
Block a user