mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 14:20:15 +00:00
Minor changes to RSS.
git-svn-id: https://develop.svn.wordpress.org/trunk@1223 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -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
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user