Changes in trunk/wp-atom.php [4144:2627]
- File:
-
- 1 edited
-
trunk/wp-atom.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-atom.php
r4144 r2627 6 6 } 7 7 8 header('Content-type: application/atom+xml; charset=' . get_ option('blog_charset'), true);8 header('Content-type: application/atom+xml; charset=' . get_settings('blog_charset'), true); 9 9 $more = 1; 10 10 11 11 ?> 12 <?php echo '<?xml version="1.0" encoding="'.get_ option('blog_charset').'"?'.'>'; ?>12 <?php echo '<?xml version="1.0" encoding="'.get_settings('blog_charset').'"?'.'>'; ?> 13 13 <feed version="0.3" 14 14 xmlns="http://purl.org/atom/ns#" … … 36 36 <?php the_category_rss('rdf') ?> 37 37 <summary type="text/plain" mode="escaped"><![CDATA[<?php the_excerpt_rss(); ?>]]></summary> 38 <?php if ( !get_ option('rss_use_excerpt') ) : ?>38 <?php if ( !get_settings('rss_use_excerpt') ) : ?> 39 39 <content type="<?php bloginfo('html_type'); ?>" mode="escaped" xml:base="<?php permalink_single_rss() ?>"><![CDATA[<?php the_content('', 0, '') ?>]]></content> 40 40 <?php endif; ?> … … 42 42 <?php do_action('atom_entry'); ?> 43 43 </entry> 44 <?php $items_count++; if (($items_count == get_ option('posts_per_rss')) && empty($m)) { break; } } } ?>44 <?php $items_count++; if (($items_count == get_settings('posts_per_rss')) && empty($m)) { break; } } } ?> 45 45 </feed>
Note: See TracChangeset
for help on using the changeset viewer.