Feed fixes from MooKitty. Bug 644.
git-svn-id: https://develop.svn.wordpress.org/trunk@2070 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
adad04ff38
commit
741fea5fc6
@ -42,6 +42,7 @@ $more = 1;
|
|||||||
<?php else : ?>
|
<?php else : ?>
|
||||||
<content type="text/html" mode="escaped" xml:base="<?php permalink_single_rss() ?>"><![CDATA[<?php the_excerpt_rss() ?>]]></content>
|
<content type="text/html" mode="escaped" xml:base="<?php permalink_single_rss() ?>"><![CDATA[<?php the_excerpt_rss() ?>]]></content>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
<?php rss_enclosure(); ?>
|
||||||
</entry>
|
</entry>
|
||||||
<?php $items_count++; if (($items_count == get_settings('posts_per_rss')) && empty($m)) { break; } } } ?>
|
<?php $items_count++; if (($items_count == get_settings('posts_per_rss')) && empty($m)) { break; } } } ?>
|
||||||
</feed>
|
</feed>
|
||||||
|
@ -38,7 +38,11 @@ $more = 1;
|
|||||||
<description><?php the_excerpt_rss() ?></description>
|
<description><?php the_excerpt_rss() ?></description>
|
||||||
<?php else : ?>
|
<?php else : ?>
|
||||||
<description><?php the_excerpt_rss() ?></description>
|
<description><?php the_excerpt_rss() ?></description>
|
||||||
|
<?php if ( strlen( $post->post_content ) > 0 ) : ?>
|
||||||
<content:encoded><![CDATA[<?php the_content('', 0, '') ?>]]></content:encoded>
|
<content:encoded><![CDATA[<?php the_content('', 0, '') ?>]]></content:encoded>
|
||||||
|
<?php else : ?>
|
||||||
|
<content:encoded><![CDATA[<?php the_excerpt_rss() ?>]]></content:encoded>
|
||||||
|
<?php endif; ?>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
<wfw:commentRSS><?php echo comments_rss(); ?></wfw:commentRSS>
|
<wfw:commentRSS><?php echo comments_rss(); ?></wfw:commentRSS>
|
||||||
<?php rss_enclosure(); ?>
|
<?php rss_enclosure(); ?>
|
||||||
|
Loading…
Reference in New Issue
Block a user