diff --git a/index.php b/index.php index 080e9552e5..69446cc791 100644 --- a/index.php +++ b/index.php @@ -20,6 +20,7 @@ require_once('wp-blog-header.php'); + diff --git a/wp-atom.php b/wp-atom.php new file mode 100644 index 0000000000..bbb12533ff --- /dev/null +++ b/wp-atom.php @@ -0,0 +1,47 @@ + +'; ?> + + <?php bloginfo_rss('name') ?> + + + + Copyright + WordPress + tag:,:1984 + + + + + + + <?php the_title_rss() ?> + + ?p= + + + + + + + + + ]]> + + + \ No newline at end of file diff --git a/wp-includes/template-functions.php b/wp-includes/template-functions.php index 1bec9fe4e7..5dfe42b31c 100644 --- a/wp-includes/template-functions.php +++ b/wp-includes/template-functions.php @@ -55,6 +55,9 @@ function get_bloginfo($show='') { case "rss2_url": $output = $siteurl.'/wp-rss2.php'; break; + case "atom_url": + $output = $siteurl.'/wp-atom.php'; + break; case "comments_rss2_url": $output = $siteurl.'/wp-commentsrss2.php'; break;