~canonical-sysadmins/wordpress/3.9.x

« back to all changes in this revision

Viewing changes to wp-includes/feed-rss.php

  • Committer: Chris Jones
  • Date: 2010-01-19 13:17:33 UTC
  • Revision ID: cmsj@tenshu.net-20100119131733-rf31jv9k1v0xzo2h
[CJ] Import wordpress 2.9.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
23
23
<?php while (have_posts()) : the_post(); ?>
24
24
        <item>
25
25
                <title><?php the_title_rss() ?></title>
26
 
<?php if (get_option('rss_use_excerpt')) { ?>
27
26
                <description><![CDATA[<?php the_excerpt_rss() ?>]]></description>
28
 
<?php } else { // use content ?>
29
 
                <description><?php the_content_rss('', 0, '', get_option('rss_excerpt_length')) ?></description>
30
 
<?php } ?>
31
27
                <link><?php the_permalink_rss() ?></link>
32
28
                <?php do_action('rss_item'); ?>
33
29
        </item>