Minor changes to RSS.

git-svn-id: https://develop.svn.wordpress.org/trunk@1223 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Matt Mullenweg
2004-05-05 06:32:18 +00:00
parent 6736c31bd6
commit b49aa0e51a
3 changed files with 6 additions and 6 deletions

View File

@@ -13,9 +13,9 @@ header('Content-type: text/xml', true);
<!-- generator="wordpress/<?php echo $wp_version ?>" -->
<rss version="0.92">
<channel>
<title><?php bloginfo_rss("name") ?></title>
<link><?php bloginfo_rss("url") ?></link>
<description><?php bloginfo_rss("description") ?></description>
<title><?php bloginfo_rss('name') ?></title>
<link><?php bloginfo_rss('url') ?></link>
<description><?php bloginfo_rss('description') ?></description>
<lastBuildDate><?php echo mysql2date('D, d M Y H:i:s +0000', get_lastpostmodified('GMT')); ?></lastBuildDate>
<docs>http://backend.userland.com/rss092</docs>
@@ -29,7 +29,7 @@ header('Content-type: text/xml', true);
$more = 1;
if (get_settings('rss_use_excerpt')) {
?>
<description><?php the_excerpt_rss(get_settings('rss_excerpt_length'), get_settings('rss_encoded_html')) ?></description>
<description><?php the_excerpt_rss(get_settings('rss_excerpt_length'), 2) ?></description>
<?php
} else { // use content
?>