This is what I get for commiting remotely, should fix currently known issues with atom 1.0

git-svn-id: http://svn.automattic.com/wordpress/trunk@4805 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
matt 2007-01-25 08:48:18 +00:00
parent 4296c78d54
commit a53887fc7f
2 changed files with 4 additions and 4 deletions

View File

@ -34,7 +34,7 @@ $more = 1;
<name><?php the_author() ?></name>
<uri><?php the_author_url()?></uri>
</author>
<title type="text/html" mode="escaped"><![CDATA[<?php the_title_rss() ?>]]></title>
<title type="<?php html_type_rss(); ?>"><![CDATA[<?php the_title_rss() ?>]]></title>
<link rel="alternate" type="text/html" href="<?php permalink_single_rss() ?>" />
<id><?php the_guid(); ?></id>
<updated><?php echo get_post_time('Y-m-d\TH:i:s\Z', true); ?></updated>
@ -48,4 +48,4 @@ $more = 1;
<?php do_action('atom_entry'); ?>
</entry>
<?php endwhile ; ?>
</feed>
</feed>

View File

@ -166,7 +166,7 @@ function the_category_rss($type = 'rss') {
}
function html_type_rss() {
$type = bloginfo('html_type');
$type = get_bloginfo('html_type');
if ( strstr( $type, 'xhtml' ) )
$type = 'xhtml';
else
@ -195,4 +195,4 @@ function rss_enclosure() {
}
}
?>
?>