PHP Cross Reference of WordPress Subversion HEAD

[ Index ]     [ Classes ]     [ Functions ]     [ Variables ]     [ Constants ]

title

Body

[close]

/wp-includes/ -> feed-rss.php (source)

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


Generated Thu Dec 6 06:47:08 2007 for RedAlt XRefs Cross-referenced by PHPXref 0.6 and RedAlt