now feeds use encoding=blog_charset

git-svn-id: https://develop.svn.wordpress.org/trunk@1022 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
michelvaldrighi 2004-03-29 04:07:33 +00:00
parent 250fa3805c
commit ad6e954ab9
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/">