Changeset 2586
- Timestamp:
- 05/06/2005 11:56:45 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-atom.php
r2388 r2586 35 35 <modified><?php echo get_post_time('Y-m-d\TH:i:s\Z', true); ?></modified> 36 36 <issued><?php echo get_post_time('Y-m-d\TH:i:s\Z', true); ?></issued> 37 <?php the_category_rss('rdf') ?> 37 <?php the_category_rss('rdf') ?> 38 38 <summary type="<?php bloginfo('html_type'); ?>" mode="escaped"><![CDATA[<?php the_excerpt_rss(); ?>]]></summary> 39 <?php if (!get_settings('rss_use_excerpt')) : ?> 40 <?php if ( strlen( $post->post_content ) ) : ?> 39 <?php if ( !get_settings('rss_use_excerpt') ) : ?> 41 40 <content type="<?php bloginfo('html_type'); ?>" mode="escaped" xml:base="<?php permalink_single_rss() ?>"><![CDATA[<?php the_content('', 0, '') ?>]]></content> 42 <?php else : ?>43 <content type="<?php bloginfo('html_type'); ?>" mode="escaped" xml:base="<?php permalink_single_rss() ?>"><![CDATA[<?php the_excerpt_rss(); ?>]]></content>44 <?php endif; ?>45 <?php else : ?>46 <content type="<?php bloginfo('html_type'); ?>" mode="escaped" xml:base="<?php permalink_single_rss() ?>"><![CDATA[<?php the_excerpt_rss() ?>]]></content>47 41 <?php endif; ?> 48 42 <?php rss_enclosure(); ?>
Note: See TracChangeset
for help on using the changeset viewer.