Make the atom feed updated field actually tell you when the post was updated. Fixes #4816 props lapcat.

git-svn-id: http://svn.automattic.com/wordpress/trunk@6093 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
westi 2007-09-12 16:26:39 +00:00
parent 60bec14a4e
commit cf26b9d049
1 changed files with 2 additions and 2 deletions

View File

@ -33,7 +33,7 @@ $more = 1;
<title type="<?php html_type_rss(); ?>"><![CDATA[<?php the_title_rss() ?>]]></title>
<link rel="alternate" type="text/html" href="<?php the_permalink_rss() ?>" />
<id><?php the_guid(); ?></id>
<updated><?php echo get_post_time('Y-m-d\TH:i:s\Z', true); ?></updated>
<updated><?php echo get_post_modified_time('Y-m-d\TH:i:s\Z', true); ?></updated>
<published><?php echo get_post_time('Y-m-d\TH:i:s\Z', true); ?></published>
<?php the_category_rss('atom') ?>
<summary type="<?php html_type_rss(); ?>"><![CDATA[<?php the_excerpt_rss(); ?>]]></summary>
@ -44,4 +44,4 @@ $more = 1;
<?php do_action('atom_entry'); ?>
</entry>
<?php endwhile ; ?>
</feed>
</feed>