<?php
echo wxr_site_url(); ?></wp:base_site_url>
<wp:base_blog_url><?php
bloginfo_rss( 'url'
); ?></wp:base_blog_url>
<?php
wxr_authors_list( $post_ids ); ?>
<?php
foreach ( $cats as $c ) : ?>
<wp:category>
<wp:term_id><?php
echo (int) $c->term_id; ?></wp:term_id>
<wp:category_nicename><?php
echo wxr_cdata( $c->slug
); ?></wp:category_nicename>
<wp:category_parent><?php
echo wxr_cdata( $c->parent ?
$cats[ $c->parent
]->slug : ''
); ?></wp:category_parent>
<?php
wxr_cat_name( $c );
wxr_category_description( $c );
wxr_term_meta( $c );
?>
</wp:category>
<?php
endforeach; ?>
<?php
foreach ( $tags as $t ) : ?>
<wp:tag>
<wp:term_id><?php
echo (int) $t->term_id; ?></wp:term_id>
<wp:tag_slug><?php
echo wxr_cdata( $t->slug
); ?></wp:tag_slug>
<?php
wxr_tag_name( $t );