mp-wp_genesis 1 <?php
mp-wp_genesis 2 /**
mp-wp_genesis 3 * RSS 0.92 Feed Template for displaying RSS 0.92 Posts feed.
mp-wp_genesis 4 *
mp-wp_genesis 5 * @package WordPress
mp-wp_genesis 6 */
mp-wp_genesis 7
mp-wp_genesis 8 header('Content-Type: text/xml; charset=' . get_option('blog_charset'), true);
mp-wp_genesis 9 $more = 1;
mp-wp_genesis 10
mp-wp_genesis 11 ?>
mp-wp_genesis 12 <?php echo '<?xml version="1.0" encoding="'.get_option('blog_charset').'"?'.'>'; ?>
mp-wp_genesis 13 <?php the_generator( 'comment' ); ?>
mp-wp_genesis 14 <rss version="0.92">
mp-wp_genesis 15 <channel>
mp-wp_genesis 16 <title><?php bloginfo_rss('name'); wp_title_rss(); ?></title>
mp-wp_genesis 17 <link><?php bloginfo_rss('url') ?></link>
mp-wp_genesis 18 <description><?php bloginfo_rss('description') ?></description>
mp-wp_genesis 19 <lastBuildDate><?php echo mysql2date('D, d M Y H:i:s +0000', get_lastpostmodified('GMT'), false); ?></lastBuildDate>
mp-wp_genesis 20 <docs>http://backend.userland.com/rss092</docs>
mp-wp_genesis 21 <language><?php echo get_option('rss_language'); ?></language>
mp-wp_genesis 22 <?php do_action('rss_head'); ?>
mp-wp_genesis 23
mp-wp_genesis 24 <?php while (have_posts()) : the_post(); ?>
mp-wp_genesis 25 <item>
mp-wp_genesis 26 <title><?php the_title_rss() ?></title>
mp-wp_genesis 27 <?php if (get_option('rss_use_excerpt')) { ?>
mp-wp_genesis 28 <description><![CDATA[<?php the_excerpt_rss() ?>]]></description>
mp-wp_genesis 29 <?php } else { // use content ?>
mp-wp_genesis 30 <description><?php the_content_rss('', 0, '', get_option('rss_excerpt_length')) ?></description>
mp-wp_genesis 31 <?php } ?>
mp-wp_genesis 32 <link><?php the_permalink_rss() ?></link>
mp-wp_genesis 33 <?php do_action('rss_item'); ?>
mp-wp_genesis 34 </item>
mp-wp_genesis 35 <?php endwhile; ?>
mp-wp_genesis 36 </channel>
mp-wp_genesis 37 </rss>