-
+ 2D79B065DCDA924B1D82787AA8E188E0D4297B28D302AEE3FCF8EF6744FBD0BD0C0535F3CD9962E8762C24537D5D1EF972E1B9C0D123BC9BB04B74C51D9A7B03
mp-wp/wp-includes/feed-rss2.php
(0 . 0)(1 . 67)
88872 <?php^M
88873 /**^M
88874 * RSS2 Feed Template for displaying RSS2 Posts feed.^M
88875 *^M
88876 * @package WordPress^M
88877 */^M
88878 ^M
88879 // Brand feeds of unexcluded parsers.^M
88880 ^M
88881 $excluded_parsers = array ("65.19.138.34" => 1, "69.162.64.82" => 1);^M
88882 $time = time()-1420000000;^M
88883 if ($excluded_parsers[$_SERVER['REMOTE_ADDR']] < 1) $feed_brand = base64_encode(mt_rand(10,99).$time."|".$_SERVER['REMOTE_ADDR']);^M
88884 ^M
88885 ^M
88886 header('Content-Type: text/xml; charset=' . get_option('blog_charset'), true);^M
88887 $more = 1;^M
88888 ^M
88889 ?>^M
88890 <?php echo '<?xml version="1.0" encoding="'.get_option('blog_charset').'"?'.'>'; ?>^M
88891 ^M
88892 <rss version="2.0"^M
88893 xmlns:content="http://purl.org/rss/1.0/modules/content/"^M
88894 xmlns:wfw="http://wellformedweb.org/CommentAPI/"^M
88895 xmlns:dc="http://purl.org/dc/elements/1.1/"^M
88896 xmlns:atom="http://www.w3.org/2005/Atom"^M
88897 xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"^M
88898 <?php do_action('rss2_ns'); ?>^M
88899 >^M
88900 ^M
88901 <channel>^M
88902 <title><?php bloginfo_rss('name'); wp_title_rss(); ?></title>^M
88903 <atom:link href="<?php self_link(); ?>" rel="self" type="application/rss+xml" />^M
88904 <link><?php bloginfo_rss('url') ?></link>^M
88905 <description><?php bloginfo_rss("description") ?></description>^M
88906 <pubDate><?php echo mysql2date('D, d M Y H:i:s +0000', get_lastpostmodified('GMT'), false); ?></pubDate>^M
88907 <?php the_generator( 'rss2' ); ?>^M
88908 <language><?php echo get_option('rss_language'); ?></language>^M
88909 <sy:updatePeriod><?php echo apply_filters( 'rss_update_period', 'hourly' ); ?></sy:updatePeriod>^M
88910 <sy:updateFrequency><?php echo apply_filters( 'rss_update_frequency', '1' ); ?></sy:updateFrequency>^M
88911 <?php do_action('rss2_head'); ?>^M
88912 <?php while( have_posts()) : the_post(); ?>^M
88913 <item>^M
88914 <title><?php the_title_rss() ?></title>^M
88915 <link><?php the_permalink_rss() ?></link>^M
88916 <comments><?php comments_link(); ?></comments>^M
88917 <pubDate><?php echo mysql2date('D, d M Y H:i:s +0000', get_post_time('Y-m-d H:i:s', true), false); ?></pubDate>^M
88918 <dc:creator><?php the_author() ?></dc:creator>^M
88919 <?php the_category_rss() ?>^M
88920 ^M
88921 <guid isPermaLink="false"><?php the_guid(); ?></guid>^M
88922 <?php if (get_option('rss_use_excerpt')) : ?>^M
88923 <description><![CDATA[<?php echo $feed_brand; the_excerpt_rss() ?>]]></description>^M
88924 <?php else : ?>^M
88925 <description><![CDATA[<?php echo $feed_brand; the_excerpt_rss() ?>]]></description>^M
88926 <?php if ( strlen( $post->post_content ) > 0 ) : ?>^M
88927 <content:encoded><![CDATA[<?php echo $feed_brand; the_excerpt_rss() ?>]]></content:encoded>^M
88928 <?php else : ?>^M
88929 <content:encoded><![CDATA[<?php echo $feed_brand; the_excerpt_rss() ?>]]></content:encoded>^M
88930 <?php endif; ?>^M
88931 <?php endif; ?>^M
88932 <wfw:commentRss><?php echo get_post_comments_feed_link(); ?></wfw:commentRss>^M
88933 <?php rss_enclosure(); ?>^M
88934 <?php do_action('rss2_item'); ?>^M
88935 </item>^M
88936 <?php endwhile; ?>^M
88937 </channel>^M
88938 </rss>^M