-
+ 63A5F34FB360B7EF91F7E2604CB25662F923A1C3ED33B23C13A8F1864476D9DBF0CFD9EB7B04447DC742D00F1355DDC2DBBA1F4D938A93604DCEB53703BA3FD7
mp-wp/wp-includes/feed-rdf.php
(0 . 0)(1 . 56)
88701 <?php
88702 /**
88703 * RSS 1 RDF Feed Template for displaying RSS 1 Posts feed.
88704 *
88705 * @package WordPress
88706 */
88707
88708 header('Content-Type: application/rdf+xml; charset=' . get_option('blog_charset'), true);
88709 $more = 1;
88710
88711 ?>
88712 <?php echo '<?xml version="1.0" encoding="'.get_option('blog_charset').'"?'.'>'; ?>
88713 <rdf:RDF
88714 xmlns="http://purl.org/rss/1.0/"
88715 xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
88716 xmlns:dc="http://purl.org/dc/elements/1.1/"
88717 xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
88718 xmlns:admin="http://webns.net/mvcb/"
88719 xmlns:content="http://purl.org/rss/1.0/modules/content/"
88720 <?php do_action('rdf_ns'); ?>
88721 >
88722 <channel rdf:about="<?php bloginfo_rss("url") ?>">
88723 <title><?php bloginfo_rss('name'); wp_title_rss(); ?></title>
88724 <link><?php bloginfo_rss('url') ?></link>
88725 <description><?php bloginfo_rss('description') ?></description>
88726 <dc:date><?php echo mysql2date('Y-m-d\TH:i:s\Z', get_lastpostmodified('GMT'), false); ?></dc:date>
88727 <?php the_generator( 'rdf' ); ?>
88728 <sy:updatePeriod>hourly</sy:updatePeriod>
88729 <sy:updateFrequency>1</sy:updateFrequency>
88730 <sy:updateBase>2000-01-01T12:00+00:00</sy:updateBase>
88731 <?php do_action('rdf_header'); ?>
88732 <items>
88733 <rdf:Seq>
88734 <?php while (have_posts()): the_post(); ?>
88735 <rdf:li rdf:resource="<?php the_permalink_rss() ?>"/>
88736 <?php endwhile; ?>
88737 </rdf:Seq>
88738 </items>
88739 </channel>
88740 <?php rewind_posts(); while (have_posts()): the_post(); ?>
88741 <item rdf:about="<?php the_permalink_rss() ?>">
88742 <title><?php the_title_rss() ?></title>
88743 <link><?php the_permalink_rss() ?></link>
88744 <dc:date><?php echo mysql2date('Y-m-d\TH:i:s\Z', $post->post_date_gmt, false); ?></dc:date>
88745 <dc:creator><?php the_author() ?></dc:creator>
88746 <?php the_category_rss('rdf') ?>
88747 <?php if (get_option('rss_use_excerpt')) : ?>
88748 <description><?php the_excerpt_rss() ?></description>
88749 <?php else : ?>
88750 <description><?php the_content_rss('', 0, '', get_option('rss_excerpt_length'), 2) ?></description>
88751 <content:encoded><![CDATA[<?php the_content('', 0, '') ?>]]></content:encoded>
88752 <?php endif; ?>
88753 <?php do_action('rdf_item'); ?>
88754 </item>
88755 <?php endwhile; ?>
88756 </rdf:RDF>