the_content_feed example

<?php the_title_rss(); ?></title> <link><?php the_permalink_rss(); ?></link> <dc:creator><![CDATA[<?php the_author(); ?>]]></dc:creator> <dc:date><?php echo mysql2date( 'Y-m-d\TH:i:s\Z', $post->post_date_gmt, false ); ?></dc:date> <?php the_category_rss( 'rdf' ); ?> <?php if ( get_option( 'rss_use_excerpt' ) ) : ?> <description><![CDATA[<?php the_excerpt_rss(); ?>]]></description> <?php else : ?> <description><![CDATA[<?php the_excerpt_rss(); ?>]]></description> <content:encoded><![CDATA[<?php the_content_feed( 'rdf' ); ?>]]></content:encoded> <?php endif; ?> <?php     /** * Fires at the end of each RDF feed item. * * @since 2.0.0 */
    do_action( 'rdf_item' );
    ?> </item>
<?php html_type_rss(); ?>"><![CDATA[<?php the_title_rss(); ?>]]></title> <link rel="alternate" type="<?php bloginfo_rss( 'html_type' ); ?>" href="<?php the_permalink_rss(); ?>" /> <id><?php the_guid(); ?></id> <updated><?php echo get_post_modified_time( 'Y-m-d\TH:i:s\Z', true ); ?></updated> <published><?php echo get_post_time( 'Y-m-d\TH:i:s\Z', true ); ?></published> <?php the_category_rss( 'atom' ); ?> <summary type="<?php html_type_rss(); ?>"><![CDATA[<?php the_excerpt_rss(); ?>]]></summary> <?php if ( ! get_option( 'rss_use_excerpt' ) ) : ?> <content type="<?php html_type_rss(); ?>" xml:base="<?php the_permalink_rss(); ?>"><![CDATA[<?php the_content_feed( 'atom' ); ?>]]></content> <?php endif; ?> <?php         atom_enclosure();

        /** * Fires at the end of each Atom feed item. * * @since 2.0.0 */
        do_action( 'atom_entry' );

        
Home | Imprint | This part of the site doesn't use cookies.