wp/wp-includes/feed-rdf.php
changeset 16 a86126ab1dd4
parent 9 177826044cd9
equal deleted inserted replaced
15:3d4e9c994f10 16:a86126ab1dd4
    72 	the_post();
    72 	the_post();
    73 	?>
    73 	?>
    74 <item rdf:about="<?php the_permalink_rss(); ?>">
    74 <item rdf:about="<?php the_permalink_rss(); ?>">
    75 	<title><?php the_title_rss(); ?></title>
    75 	<title><?php the_title_rss(); ?></title>
    76 	<link><?php the_permalink_rss(); ?></link>
    76 	<link><?php the_permalink_rss(); ?></link>
       
    77 
       
    78 	<dc:creator><![CDATA[<?php the_author(); ?>]]></dc:creator>
    77 	<dc:date><?php echo mysql2date( 'Y-m-d\TH:i:s\Z', $post->post_date_gmt, false ); ?></dc:date>
    79 	<dc:date><?php echo mysql2date( 'Y-m-d\TH:i:s\Z', $post->post_date_gmt, false ); ?></dc:date>
    78 	<dc:creator><![CDATA[<?php the_author(); ?>]]></dc:creator>
       
    79 	<?php the_category_rss( 'rdf' ); ?>
    80 	<?php the_category_rss( 'rdf' ); ?>
       
    81 
    80 	<?php if ( get_option( 'rss_use_excerpt' ) ) : ?>
    82 	<?php if ( get_option( 'rss_use_excerpt' ) ) : ?>
    81 	<description><![CDATA[<?php the_excerpt_rss(); ?>]]></description>
    83 		<description><![CDATA[<?php the_excerpt_rss(); ?>]]></description>
    82 <?php else : ?>
    84 	<?php else : ?>
    83 	<description><![CDATA[<?php the_excerpt_rss(); ?>]]></description>
    85 		<description><![CDATA[<?php the_excerpt_rss(); ?>]]></description>
    84 	<content:encoded><![CDATA[<?php the_content_feed( 'rdf' ); ?>]]></content:encoded>
    86 		<content:encoded><![CDATA[<?php the_content_feed( 'rdf' ); ?>]]></content:encoded>
    85 <?php endif; ?>
    87 	<?php endif; ?>
       
    88 
    86 	<?php
    89 	<?php
    87 	/**
    90 	/**
    88 	 * Fires at the end of each RDF feed item.
    91 	 * Fires at the end of each RDF feed item.
    89 	 *
    92 	 *
    90 	 * @since 2.0.0
    93 	 * @since 2.0.0