3 * RSS 0.92 Feed Template for displaying RSS 0.92 Posts feed.
8 header('Content-Type: ' . feed_content_type('rss') . '; charset=' . get_option('blog_charset'), true);
11 echo '<?xml version="1.0" encoding="'.get_option('blog_charset').'"?'.'>'; ?>
14 <title><?php wp_title_rss(); ?></title>
15 <link><?php bloginfo_rss('url') ?></link>
16 <description><?php bloginfo_rss('description') ?></description>
18 $date = get_lastpostmodified( 'GMT' );
19 echo $date ? mysql2date( 'D, d M Y H:i:s +0000', $date ) : date( 'D, d M Y H:i:s +0000' );
21 <docs>http://backend.userland.com/rss092</docs>
22 <language><?php bloginfo_rss( 'language' ); ?></language>
26 * Fires at the end of the RSS Feed Header.
30 do_action( 'rss_head' );
33 <?php while (have_posts()) : the_post(); ?>
35 <title><?php the_title_rss() ?></title>
36 <description><![CDATA[<?php the_excerpt_rss() ?>]]></description>
37 <link><?php the_permalink_rss() ?></link>
40 * Fires at the end of each RSS feed item.
44 do_action( 'rss_item' );