$excerpt =
wxr_cdata( apply_filters( 'the_excerpt_export',
$post->post_excerpt
) );
$is_sticky =
is_sticky( $post->ID
) ? 1 : 0;
?>
<item>
<title><?php
echo $title; ?></title>
<link><?php
the_permalink_rss(); ?></link>
<pubDate><?php
echo mysql2date( 'D, d M Y H:i:s +0000',
get_post_time( 'Y-m-d H:i:s', true
), false
); ?></pubDate>
<dc:creator><?php
echo wxr_cdata( get_the_author_meta( 'login'
) ); ?></dc:creator>
<guid isPermaLink="false"><?php
the_guid(); ?></guid>
<description></description>
<content:encoded><?php
echo $content; ?></content:encoded>
<excerpt:encoded><?php
echo $excerpt; ?></excerpt:encoded>
<wp:post_id><?php
echo (int) $post->ID; ?></wp:post_id>
<wp:post_date><?php
echo wxr_cdata( $post->post_date
); ?></wp:post_date>
<wp:post_date_gmt><?php
echo wxr_cdata( $post->post_date_gmt
); ?></wp:post_date_gmt>
<wp:post_modified><?php
echo wxr_cdata( $post->post_modified
); ?></wp:post_modified>
<wp:post_modified_gmt><?php
echo wxr_cdata( $post->post_modified_gmt
); ?></wp:post_modified_gmt>
<wp:comment_status>