wp/wp-includes/feed-atom.php
changeset 5 5e2f62d02dcd
parent 0 d970ebf37754
child 7 cf61fcea0001
equal deleted inserted replaced
4:346c88efed21 5:5e2f62d02dcd
     6  */
     6  */
     7 
     7 
     8 header('Content-Type: ' . feed_content_type('atom') . '; charset=' . get_option('blog_charset'), true);
     8 header('Content-Type: ' . feed_content_type('atom') . '; charset=' . get_option('blog_charset'), true);
     9 $more = 1;
     9 $more = 1;
    10 
    10 
    11 echo '<?xml version="1.0" encoding="'.get_option('blog_charset').'"?'.'>'; ?>
    11 echo '<?xml version="1.0" encoding="'.get_option('blog_charset').'"?'.'>';
       
    12 
       
    13 /** This action is documented in wp-includes/feed-rss2.php */
       
    14 do_action( 'rss_tag_pre', 'atom' );
       
    15 ?>
    12 <feed
    16 <feed
    13   xmlns="http://www.w3.org/2005/Atom"
    17   xmlns="http://www.w3.org/2005/Atom"
    14   xmlns:thr="http://purl.org/syndication/thread/1.0"
    18   xmlns:thr="http://purl.org/syndication/thread/1.0"
    15   xml:lang="<?php bloginfo_rss( 'language' ); ?>"
    19   xml:lang="<?php bloginfo_rss( 'language' ); ?>"
    16   xml:base="<?php bloginfo_rss('url') ?>/wp-atom.php"
    20   xml:base="<?php bloginfo_rss('url') ?>/wp-atom.php"