-
+ E4D045FF60B71BAEE2D7872851F7F6230C350F42F8E50A5F3A77103D53FF0B6ECB3E1B1F00F2EA5215114DBA8D203D4840D7915F33E3856FC63012C8A2BB20DD
mp-wp/wp-includes/feed-atom.php
(0 . 0)(1 . 56)
88641 <?php
88642 /**
88643 * Atom Feed Template for displaying Atom Posts feed.
88644 *
88645 * @package WordPress
88646 */
88647
88648 header('Content-Type: application/atom+xml; charset=' . get_option('blog_charset'), true);
88649 $more = 1;
88650
88651 ?>
88652 <?php echo '<?xml version="1.0" encoding="'.get_option('blog_charset').'"?'.'>'; ?>
88653 <feed
88654 xmlns="http://www.w3.org/2005/Atom"
88655 xmlns:thr="http://purl.org/syndication/thread/1.0"
88656 xml:lang="<?php echo get_option('rss_language'); ?>"
88657 xml:base="<?php bloginfo_rss('home') ?>/wp-atom.php"
88658 <?php do_action('atom_ns'); ?>
88659 >
88660 <title type="text"><?php bloginfo_rss('name'); wp_title_rss(); ?></title>
88661 <subtitle type="text"><?php bloginfo_rss("description") ?></subtitle>
88662
88663 <updated><?php echo mysql2date('Y-m-d\TH:i:s\Z', get_lastpostmodified('GMT')); ?></updated>
88664 <?php the_generator( 'atom' ); ?>
88665
88666 <link rel="alternate" type="text/html" href="<?php bloginfo_rss('home') ?>" />
88667 <id><?php bloginfo('atom_url'); ?></id>
88668 <link rel="self" type="application/atom+xml" href="<?php self_link(); ?>" />
88669
88670 <?php do_action('atom_head'); ?>
88671 <?php while (have_posts()) : the_post(); ?>
88672 <entry>
88673 <author>
88674 <name><?php the_author() ?></name>
88675 <?php $author_url = get_the_author_url(); if ( !empty($author_url) ) : ?>
88676 <uri><?php the_author_url()?></uri>
88677 <?php endif; ?>
88678 </author>
88679 <title type="<?php html_type_rss(); ?>"><![CDATA[<?php the_title_rss() ?>]]></title>
88680 <link rel="alternate" type="text/html" href="<?php the_permalink_rss() ?>" />
88681 <id><?php the_guid(); ?></id>
88682 <updated><?php echo get_post_modified_time('Y-m-d\TH:i:s\Z', true); ?></updated>
88683 <published><?php echo get_post_time('Y-m-d\TH:i:s\Z', true); ?></published>
88684 <?php the_category_rss('atom') ?>
88685 <summary type="<?php html_type_rss(); ?>"><![CDATA[<?php the_excerpt_rss(); ?>]]></summary>
88686 <?php if ( !get_option('rss_use_excerpt') ) : ?>
88687 <content type="<?php html_type_rss(); ?>" xml:base="<?php the_permalink_rss() ?>"><![CDATA[<?php the_content('', 0, '') ?>]]></content>
88688 <?php endif; ?>
88689 <?php atom_enclosure(); ?>
88690 <?php do_action('atom_entry'); ?>
88691 <link rel="replies" type="text/html" href="<?php the_permalink_rss() ?>#comments" thr:count="<?php echo get_comments_number()?>"/>
88692 <link rel="replies" type="application/atom+xml" href="<?php echo get_post_comments_feed_link(0,'atom') ?>" thr:count="<?php echo get_comments_number()?>"/>
88693 <thr:total><?php echo get_comments_number()?></thr:total>
88694 </entry>
88695 <?php endwhile ; ?>
88696 </feed>