mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 01:27:36 +01:00
git-svn-id: http://svn.automattic.com/wordpress/trunk@6315 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
d10f9a825d
commit
35899c1201
@ -30,18 +30,15 @@ $more = 1;
|
|||||||
<uri><?php the_author_url()?></uri>
|
<uri><?php the_author_url()?></uri>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
</author>
|
</author>
|
||||||
<?php list($content_type, $content) = prep_atom_text_construct(get_the_title()); ?>
|
<title type="<?php html_type_rss(); ?>"><![CDATA[<?php the_title_rss() ?>]]></title>
|
||||||
<title type="<?php echo $content_type ?>"><?php echo $content ?></title>
|
|
||||||
<link rel="alternate" type="text/html" href="<?php the_permalink_rss() ?>" />
|
<link rel="alternate" type="text/html" href="<?php the_permalink_rss() ?>" />
|
||||||
<id><?php the_guid(); ?></id>
|
<id><?php the_guid(); ?></id>
|
||||||
<updated><?php echo get_post_modified_time('Y-m-d\TH:i:s\Z', true); ?></updated>
|
<updated><?php echo get_post_modified_time('Y-m-d\TH:i:s\Z', true); ?></updated>
|
||||||
<published><?php echo get_post_time('Y-m-d\TH:i:s\Z', true); ?></published>
|
<published><?php echo get_post_time('Y-m-d\TH:i:s\Z', true); ?></published>
|
||||||
<?php the_category_rss('atom') ?>
|
<?php the_category_rss('atom') ?>
|
||||||
<?php list($content_type, $content) = prep_atom_text_construct(get_the_excerpt()); ?>
|
<summary type="<?php html_type_rss(); ?>"><![CDATA[<?php the_excerpt_rss(); ?>]]></summary>
|
||||||
<summary type="<?php echo $content_type ?>"><?php echo $content ?></summary>
|
|
||||||
<?php if ( !get_option('rss_use_excerpt') ) : ?>
|
<?php if ( !get_option('rss_use_excerpt') ) : ?>
|
||||||
<?php list($content_type, $content) = prep_atom_text_construct(get_the_content()); ?>
|
<content type="<?php html_type_rss(); ?>" xml:base="<?php the_permalink_rss() ?>"><![CDATA[<?php the_content('', 0, '') ?>]]></content>
|
||||||
<content type="<?php echo $content_type ?>" xml:base="<?php the_permalink_rss()?>"><?php echo $content ?></content>
|
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
<?php atom_enclosure(); ?>
|
<?php atom_enclosure(); ?>
|
||||||
<?php do_action('atom_entry'); ?>
|
<?php do_action('atom_entry'); ?>
|
||||||
|
Loading…
Reference in New Issue
Block a user