]> scripts.mit.edu Git - autoinstalls/wordpress.git/blob - wp-feed.php
Wordpress 2.6.2-scripts
[autoinstalls/wordpress.git] / wp-feed.php
1 <?php
2 /**
3  * Outputs the RSS2 feed XML format. This file is a shortcut or compatibility
4  * layer for easily finding the RSS feed for the site. It loads WordPress using
5  * the wp-blog-header.php file and running do_feed() function.
6  *
7  * @see do_feed() Used to display the RSS2 feed
8  *
9  * This file is no longer used in WordPress and while it is not deprecated now.
10  * This file will most likely be deprecated or removed in a later version.
11  *
12  * The link for the rss2 feed is /index.php?feed=rss2 with permalinks off.
13  *
14  * @package WordPress
15  */
16
17 if (empty($doing_rss)) {
18         $doing_rss = 1;
19         require(dirname(__FILE__) . '/wp-blog-header.php');
20 }
21
22 do_feed();
23
24 ?>