Changeset 1145 for trunk/wp-rdf.php
- Timestamp:
- 04/24/2004 08:12:58 PM (22 years ago)
- File:
-
- 1 edited
-
trunk/wp-rdf.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-rdf.php
r1121 r1145 5 5 require('wp-blog-header.php'); 6 6 } 7 $more = 1; 7 8 8 9 header('Content-type: application/rss+xml', true); … … 45 46 <dc:creator><?php the_author() ?> (mailto:<?php the_author_email() ?>)</dc:creator> 46 47 <?php the_category_rss('rdf') ?> 47 <?php $more = 1; if (get_settings('rss_use_excerpt')) { 48 ?> 48 <?php if (get_settings('rss_use_excerpt')) : ?> 49 49 <description><?php the_excerpt_rss(get_settings('rss_excerpt_length'), 2) ?></description> 50 <?php 51 } else { // use content 52 ?> 50 <?php else : ?> 53 51 <description><?php the_content_rss('', 0, '', get_settings('rss_excerpt_length'), 2) ?></description> 54 <?php55 } // end else use content56 ?>57 52 <content:encoded><![CDATA[<?php the_content('', 0, '') ?>]]></content:encoded> 53 <?php endif; ?> 54 58 55 </item> 59 56 <?php } } ?>
Note: See TracChangeset
for help on using the changeset viewer.