Changeset 1223
- Timestamp:
- 05/05/2004 06:32:18 AM (21 years ago)
- Location:
- trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-commentsrss2.php
r1150 r1223 4 4 } 5 5 6 header('Content-type: application/rss+xml', true);6 header('Content-type: text/xml', true); 7 7 8 8 echo '<?xml version="1.0" encoding="'.get_settings('blog_charset').'"?'.'>'; -
trunk/wp-rss.php
r1216 r1223 14 14 <rss version="0.92"> 15 15 <channel> 16 <title><?php bloginfo_rss( "name") ?></title>17 <link><?php bloginfo_rss( "url") ?></link>18 <description><?php bloginfo_rss( "description") ?></description>16 <title><?php bloginfo_rss('name') ?></title> 17 <link><?php bloginfo_rss('url') ?></link> 18 <description><?php bloginfo_rss('description') ?></description> 19 19 <lastBuildDate><?php echo mysql2date('D, d M Y H:i:s +0000', get_lastpostmodified('GMT')); ?></lastBuildDate> 20 20 <docs>http://backend.userland.com/rss092</docs> … … 30 30 if (get_settings('rss_use_excerpt')) { 31 31 ?> 32 <description><?php the_excerpt_rss(get_settings('rss_excerpt_length'), get_settings('rss_encoded_html')) ?></description>32 <description><?php the_excerpt_rss(get_settings('rss_excerpt_length'), 2) ?></description> 33 33 <?php 34 34 } else { // use content -
trunk/wp-rss2.php
r1216 r1223 36 36 <description><?php the_excerpt_rss(get_settings('rss_excerpt_length'), 2) ?></description> 37 37 <?php else : ?> 38 <description><?php the_ content_rss('', 0, '',get_settings('rss_excerpt_length'), 2) ?></description>38 <description><?php the_excerpt_rss(get_settings('rss_excerpt_length'), 2) ?></description> 39 39 <content:encoded><![CDATA[<?php the_content('', 0, '') ?>]]></content:encoded> 40 40 <?php endif; ?>
Note: See TracChangeset
for help on using the changeset viewer.