Remove language elements from RSS files.

git-svn-id: http://svn.automattic.com/wordpress/trunk@1216 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
saxmatt 2004-04-30 09:13:43 +00:00
parent 9eff118f7c
commit 168f5ce567
2 changed files with 0 additions and 2 deletions

View File

@ -18,7 +18,6 @@ header('Content-type: text/xml', true);
<description><?php bloginfo_rss("description") ?></description> <description><?php bloginfo_rss("description") ?></description>
<lastBuildDate><?php echo mysql2date('D, d M Y H:i:s +0000', get_lastpostmodified('GMT')); ?></lastBuildDate> <lastBuildDate><?php echo mysql2date('D, d M Y H:i:s +0000', get_lastpostmodified('GMT')); ?></lastBuildDate>
<docs>http://backend.userland.com/rss092</docs> <docs>http://backend.userland.com/rss092</docs>
<language><?php echo get_settings('rss_language'); ?></language>
<?php $items_count = 0; if ($posts) { foreach ($posts as $post) { start_wp(); ?> <?php $items_count = 0; if ($posts) { foreach ($posts as $post) { start_wp(); ?>
<item> <item>

View File

@ -20,7 +20,6 @@ header('Content-type: text/xml', true);
<title><?php bloginfo_rss('name') ?></title> <title><?php bloginfo_rss('name') ?></title>
<link><?php bloginfo_rss('url') ?></link> <link><?php bloginfo_rss('url') ?></link>
<description><?php bloginfo_rss("description") ?></description> <description><?php bloginfo_rss("description") ?></description>
<language><?php echo get_settings('rss_language'); ?></language>
<copyright>Copyright <?php echo mysql2date('Y', get_lastpostdate()); ?></copyright> <copyright>Copyright <?php echo mysql2date('Y', get_lastpostdate()); ?></copyright>
<pubDate><?php echo mysql2date('D, d M Y H:i:s +0000', get_lastpostmodified('GMT')); ?></pubDate> <pubDate><?php echo mysql2date('D, d M Y H:i:s +0000', get_lastpostmodified('GMT')); ?></pubDate>
<generator>http://wordpress.org/?v=<?php echo $wp_version ?></generator> <generator>http://wordpress.org/?v=<?php echo $wp_version ?></generator>