X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/177fd6fefd2e3d5a0ea6591c71d660cabdb3c1a4..c55863f11e8589bf8d4a5698bf15752406654f1c:/wp-includes/feed-rss2.php diff --git a/wp-includes/feed-rss2.php b/wp-includes/feed-rss2.php index 3274583d..0ce4e6be 100644 --- a/wp-includes/feed-rss2.php +++ b/wp-includes/feed-rss2.php @@ -5,18 +5,26 @@ * @package WordPress */ -header('Content-Type: text/xml; charset=' . get_option('blog_charset'), true); +header('Content-Type: ' . feed_content_type('rss-http') . '; charset=' . get_option('blog_charset'), true); $more = 1; -?> -'; ?> +echo ''; ?> + xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" + xmlns:slash="http://purl.org/rss/1.0/modules/slash/" + > @@ -24,33 +32,73 @@ $more = 1; - - - - - + + + + + + + <?php the_title_rss() ?> - + - - + ]]> + - ]]> + ]]> - ]]> - post_content ) > 0 ) : ?> - ]]> + ]]> + + 0 ) : ?> + ]]> - ]]> + ]]> - + + - +