Changeset 6315
- Timestamp:
- 11/06/2007 06:23:16 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/feed-atom.php
r6273 r6315 31 31 <?php endif; ?> 32 32 </author> 33 <?php list($content_type, $content) = prep_atom_text_construct(get_the_title()); ?> 34 <title type="<?php echo $content_type ?>"><?php echo $content ?></title> 33 <title type="<?php html_type_rss(); ?>"><![CDATA[<?php the_title_rss() ?>]]></title> 35 34 <link rel="alternate" type="text/html" href="<?php the_permalink_rss() ?>" /> 36 35 <id><?php the_guid(); ?></id> … … 38 37 <published><?php echo get_post_time('Y-m-d\TH:i:s\Z', true); ?></published> 39 38 <?php the_category_rss('atom') ?> 40 <?php list($content_type, $content) = prep_atom_text_construct(get_the_excerpt()); ?> 41 <summary type="<?php echo $content_type ?>"><?php echo $content ?></summary> 39 <summary type="<?php html_type_rss(); ?>"><![CDATA[<?php the_excerpt_rss(); ?>]]></summary> 42 40 <?php if ( !get_option('rss_use_excerpt') ) : ?> 43 <?php list($content_type, $content) = prep_atom_text_construct(get_the_content()); ?> 44 <content type="<?php echo $content_type ?>" xml:base="<?php the_permalink_rss()?>"><?php echo $content ?></content> 41 <content type="<?php html_type_rss(); ?>" xml:base="<?php the_permalink_rss() ?>"><![CDATA[<?php the_content('', 0, '') ?>]]></content> 45 42 <?php endif; ?> 46 43 <?php atom_enclosure(); ?>
Note: See TracChangeset
for help on using the changeset viewer.