mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 14:20:15 +00:00
html_type to allow for true XHTML.
git-svn-id: https://develop.svn.wordpress.org/trunk@2321 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -35,15 +35,15 @@ $more = 1;
|
||||
<modified><?php the_time('Y-m-d\TH:i:s\Z'); ?></modified>
|
||||
<issued> <?php the_time('Y-m-d\TH:i:s\Z'); ?></issued>
|
||||
<?php the_category_rss('rdf') ?>
|
||||
<summary type="text/html" mode="escaped"><![CDATA[<?php the_excerpt_rss(); ?>]]></summary>
|
||||
<summary type="<?php bloginfo('html_type'); ?>" mode="escaped"><![CDATA[<?php the_excerpt_rss(); ?>]]></summary>
|
||||
<?php if (!get_settings('rss_use_excerpt')) : ?>
|
||||
<?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="<?php bloginfo('html_type'); ?>" mode="escaped" xml:base="<?php permalink_single_rss() ?>"><![CDATA[<?php the_content('', 0, '') ?>]]></content>
|
||||
<?php else : ?>
|
||||
<content type="text/html" mode="escaped" xml:base="<?php permalink_single_rss() ?>"><![CDATA[<?php the_excerpt_rss(); ?>]]></content>
|
||||
<content type="<?php bloginfo('html_type'); ?>" mode="escaped" xml:base="<?php permalink_single_rss() ?>"><![CDATA[<?php the_excerpt_rss(); ?>]]></content>
|
||||
<?php endif; ?>
|
||||
<?php else : ?>
|
||||
<content type="text/html" mode="escaped" xml:base="<?php permalink_single_rss() ?>"><![CDATA[<?php the_excerpt_rss() ?>]]></content>
|
||||
<content type="<?php bloginfo('html_type'); ?>" mode="escaped" xml:base="<?php permalink_single_rss() ?>"><![CDATA[<?php the_excerpt_rss() ?>]]></content>
|
||||
<?php endif; ?>
|
||||
<?php rss_enclosure(); ?>
|
||||
</entry>
|
||||
|
||||
Reference in New Issue
Block a user