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:
parent
3f69cb1566
commit
89d3d0e618
|
@ -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/"
|
||||
|
|
|
@ -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/"
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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/">
|
||||
|
|
Loading…
Reference in New Issue