2004-02-05 22:17:32 +01:00
|
|
|
<?php
|
2008-05-25 17:50:15 +02:00
|
|
|
/**
|
|
|
|
* Outputs the RSS2 feed XML format. This file is a shortcut or compatibility
|
|
|
|
* layer for easily finding the RSS feed for the site. It loads WordPress using
|
|
|
|
* the wp-blog-header.php file and running do_feed() function.
|
|
|
|
*
|
|
|
|
* @see do_feed() Used to display the RSS2 feed
|
|
|
|
*
|
|
|
|
* This file is no longer used in WordPress and while it is not deprecated now.
|
|
|
|
* This file will most likely be deprecated or removed in a later version.
|
|
|
|
*
|
|
|
|
* The link for the rss2 feed is /index.php?feed=rss2 with permalinks off.
|
|
|
|
*
|
|
|
|
* @package WordPress
|
|
|
|
*/
|
2004-02-05 22:17:32 +01:00
|
|
|
|
2004-11-27 05:47:54 +01:00
|
|
|
if (empty($doing_rss)) {
|
2006-11-19 08:56:05 +01:00
|
|
|
$doing_rss = 1;
|
|
|
|
require(dirname(__FILE__) . '/wp-blog-header.php');
|
2004-06-01 01:35:32 +02:00
|
|
|
}
|
|
|
|
|
2006-03-12 23:57:00 +01:00
|
|
|
do_feed();
|
2004-02-05 22:17:32 +01:00
|
|
|
|
|
|
|
?>
|