[ Index ] |
PHP Cross Reference of WordPress Trunk (Updated Daily) |
[Summary view] [Print] [Text view]
1 <?php 2 /** 3 * RSS 0.92 Feed Template for displaying RSS 0.92 Posts feed. 4 * 5 * @package WordPress 6 */ 7 8 header( 'Content-Type: ' . feed_content_type( 'rss' ) . '; charset=' . get_option( 'blog_charset' ), true ); 9 $more = 1; 10 11 echo '<?xml version="1.0" encoding="' . get_option( 'blog_charset' ) . '"?' . '>'; ?> 12 <rss version="0.92"> 13 <channel> 14 <title><?php wp_title_rss(); ?></title> 15 <link><?php bloginfo_rss( 'url' ); ?></link> 16 <description><?php bloginfo_rss( 'description' ); ?></description> 17 <lastBuildDate><?php echo get_feed_build_date( 'D, d M Y H:i:s +0000' ); ?></lastBuildDate> 18 <docs>http://backend.userland.com/rss092</docs> 19 <language><?php bloginfo_rss( 'language' ); ?></language> 20 <?php 21 /** 22 * Fires at the end of the RSS Feed Header. 23 * 24 * @since 2.0.0 25 */ 26 do_action( 'rss_head' ); 27 ?> 28 29 <?php 30 while ( have_posts() ) : 31 the_post(); 32 ?> 33 <item> 34 <title><?php the_title_rss(); ?></title> 35 <description><![CDATA[<?php the_excerpt_rss(); ?>]]></description> 36 <link><?php the_permalink_rss(); ?></link> 37 <?php 38 /** 39 * Fires at the end of each RSS feed item. 40 * 41 * @since 2.0.0 42 */ 43 do_action( 'rss_item' ); 44 ?> 45 </item> 46 <?php endwhile; ?> 47 </channel> 48 </rss>
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated : Thu Nov 21 08:20:01 2024 | Cross-referenced by PHPXref |