Changeset 1337
- Timestamp:
- 05/21/04 22:32:58 (4 years ago)
- Files:
-
- trunk/wp-rss.php (modified) (1 diff)
- trunk/wp-rss2.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/wp-rss.php
r1223 r1337 17 17 <link><?php bloginfo_rss('url') ?></link> 18 18 <description><?php bloginfo_rss('description') ?></description> 19 <lastBuildDate><?php echo mysql2date('D, d M Y H:i:s +0000', get_lastpostmodified('GMT')); ?></lastBuildDate>19 <lastBuildDate><?php echo mysql2date('D, d M Y H:i:s +0000', get_lastpostmodified('GMT'), 0); ?></lastBuildDate> 20 20 <docs>http://backend.userland.com/rss092</docs> 21 21 trunk/wp-rss2.php
r1255 r1337 2 2 if (!isset($feed)) { 3 3 $blog = 1; 4 $doing_rss = 1;4 // $doing_rss = 1; # DEBUG 5 5 require('wp-blog-header.php'); 6 6 } … … 24 24 <description><?php bloginfo_rss("description") ?></description> 25 25 <copyright>Copyright <?php echo mysql2date('Y', get_lastpostdate()); ?></copyright> 26 <pubDate><?php echo mysql2date('D, d M Y H:i:s +0000', get_lastpostmodified('GMT') ); ?></pubDate>26 <pubDate><?php echo mysql2date('D, d M Y H:i:s +0000', get_lastpostmodified('GMT'), 0); ?></pubDate> 27 27 <generator>http://wordpress.org/?v=<?php echo $wp_version ?></generator> 28 28 … … 32 32 <link><?php permalink_single_rss() ?></link> 33 33 <comments><?php comments_link(); ?></comments> 34 <pubDate><?php echo mysql2date('D, d M Y H:i:s +0000', $post->post_date_gmt ); ?></pubDate>34 <pubDate><?php echo mysql2date('D, d M Y H:i:s +0000', $post->post_date_gmt, 0); ?></pubDate> 35 35 <?php the_category_rss() ?> 36 36 <guid><?php the_permalink($id); ?></guid>
