Changeset 1098
- Timestamp:
- 04/19/04 05:20:13 (4 years ago)
- Files:
-
- trunk/wp-rss2.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/wp-rss2.php
r1046 r1098 6 6 } 7 7 8 $charset = get_settings('blog_charset'); 9 if (!$charset) $charset = 'UTF-8'; 8 10 header('Content-type: application/rss+xml', true); 9 11 10 12 ?> 11 <?php echo '<?xml version="1.0" encoding="'.get_settings('blog_charset').'"?'.'>'; ?> 13 <?php echo '<?xml version="1.0" encoding="' . $charset . '"?'.'>'; ?> 14 12 15 <!-- generator="wordpress/<?php echo $wp_version ?>" --> 13 16 <rss version="2.0" … … 29 32 <comments><?php comments_link(); ?></comments> 30 33 <pubDate><?php echo mysql2date('D, d M Y H:i:s +0000', $post->post_date_gmt); ?></pubDate> 31 <author><?php the_author() ?> (mailto:<?php the_author_email() ?>)</author>32 34 <?php the_category_rss() ?> 33 <guid isPermaLink="false"><?php echo $id; ?>@<?php bloginfo_rss("url")?></guid>35 <guid><?php echo get_permalink($id); ?></guid> 34 36 <?php $more = 1; if (get_settings('rss_use_excerpt')) { 35 37 ?>
