Feed escaping fixes to other feeds - http://mosquito.wordpress.org/view.php?id=720
git-svn-id: http://svn.automattic.com/wordpress/trunk@2131 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
99ea3245af
commit
d63aad9be5
|
@ -32,7 +32,7 @@ $more = 1;
|
||||||
<modified><?php the_time('Y-m-d\TH:i:s\Z'); ?></modified>
|
<modified><?php the_time('Y-m-d\TH:i:s\Z'); ?></modified>
|
||||||
<issued> <?php the_time('Y-m-d\TH:i:s\Z'); ?></issued>
|
<issued> <?php the_time('Y-m-d\TH:i:s\Z'); ?></issued>
|
||||||
<?php the_category_rss('rdf') ?>
|
<?php the_category_rss('rdf') ?>
|
||||||
<summary type="text/html" mode="escaped"><?php the_excerpt_rss(); ?></summary>
|
<summary type="text/html" mode="escaped"><![CDATA[<?php the_excerpt_rss(); ?>]]></summary>
|
||||||
<?php if (!get_settings('rss_use_excerpt')) : ?>
|
<?php if (!get_settings('rss_use_excerpt')) : ?>
|
||||||
<?php if ( strlen( $post->post_content ) ) : ?>
|
<?php if ( strlen( $post->post_content ) ) : ?>
|
||||||
<content type="text/html" mode="escaped" xml:base="<?php permalink_single_rss() ?>"><![CDATA[<?php the_content('', 0, '') ?>]]></content>
|
<content type="text/html" mode="escaped" xml:base="<?php permalink_single_rss() ?>"><![CDATA[<?php the_content('', 0, '') ?>]]></content>
|
||||||
|
|
|
@ -26,7 +26,7 @@ $more = 1;
|
||||||
<?php
|
<?php
|
||||||
if (get_settings('rss_use_excerpt')) {
|
if (get_settings('rss_use_excerpt')) {
|
||||||
?>
|
?>
|
||||||
<description><?php the_excerpt_rss() ?></description>
|
<description><![CDATA[<?php the_excerpt_rss() ?>]]></description>
|
||||||
<?php
|
<?php
|
||||||
} else { // use content
|
} else { // use content
|
||||||
?>
|
?>
|
||||||
|
|
Loading…
Reference in New Issue