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

git-svn-id: https://develop.svn.wordpress.org/trunk@6093 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Peter Westwood 2007-09-12 16:26:39 +00:00
parent 514fb8f764
commit df7d8eaacd

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>