Changeset 1268
- Timestamp:
- 05/13/2004 05:21:38 PM (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-atom.php
r1032 r1268 32 32 <issued><?php echo mysql2date('Y-m-d\TH:i:s\Z', $post->post_date_gmt); ?></issued> 33 33 <?php the_category_rss('rdf') ?> 34 <?php $more = 1; if (get_settings('rss_use_excerpt')) { 35 ?> 34 <?php $more = 1; if (get_settings('rss_use_excerpt')) { ?> 36 35 <summary type="text/html" mode="escaped"><?php the_excerpt_rss(get_settings('rss_excerpt_length'), 2) ?></summary> 37 <?php 38 } else { // use content 39 ?> 36 <?php } else { // use content ?> 40 37 <summary type="text/html"><?php the_content_rss('', 0, '', get_settings('rss_excerpt_length'), 2) ?></summary> 41 <?php42 } // end else use content43 ?>44 38 <content type="text/html" mode="escaped" xml:base="<?php permalink_single_rss() ?>"><![CDATA[<?php the_content('', 0, '') ?>]]></content> 39 <?php } // end else use content ?> 45 40 </entry> 46 41 <?php $items_count++; if (($items_count == get_settings('posts_per_rss')) && empty($m)) { break; } } } ?>
Note: See TracChangeset
for help on using the changeset viewer.