now feeds use encoding=blog_charset

git-svn-id: http://svn.automattic.com/wordpress/trunk@1022 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
michelvaldrighi 2004-03-29 04:07:33 +00:00
parent 3f69cb1566
commit 89d3d0e618
4 changed files with 4 additions and 4 deletions

View File

@ -8,7 +8,7 @@ if (! $feed) {
header('Content-type: application/atom+xml', true);
?>
<?php echo '<?xml version="1.0"?'.'>'; ?>
<?php echo '<?xml version="1.0" encoding="'.get_settings('blog_charset').'"?'.'>'; ?>
<feed version="0.3"
xmlns="http://purl.org/atom/ns#"
xmlns:dc="http://purl.org/dc/elements/1.1/"

View File

@ -23,7 +23,7 @@ header("Etag: " . $cetag, true);
add_filter('the_content', 'trim');
?>
<?php echo "<?xml version=\"1.0\" encoding=\"UTF-8\"?".">"; ?>
<?php echo '<?xml version="1.0" encoding="'.get_settings('blog_charset').'"?'.'>'; ?>
<!-- generator="wordpress/<?php echo $wp_version ?>" -->
<rdf:RDF
xmlns="http://purl.org/rss/1.0/"

View File

@ -23,7 +23,7 @@ header("Etag: " . $cetag, true);
*/
?>
<?php echo "<?xml version=\"1.0\"?".">"; ?>
<?php echo '<?xml version="1.0" encoding="'.get_settings('blog_charset').'"?'.'>'; ?>
<!-- generator="wordpress/<?php echo $wp_version ?>" -->
<rss version="0.92">
<channel>

View File

@ -22,7 +22,7 @@ header("Etag: " . $cetag, true);
*/
?>
<?php echo '<?xml version="1.0"?'.'>'; ?>
<?php echo '<?xml version="1.0" encoding="'.get_settings('blog_charset').'"?'.'>'; ?>
<!-- generator="wordpress/<?php echo $wp_version ?>" -->
<rss version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/">