2004-05-24 14:24:12 -04:00
|
|
|
<?php
|
2008-05-25 11:50:15 -04:00
|
|
|
/**
|
|
|
|
* Outputs the RSS2 feed XML format using the feed-rss2.php file in wp-includes
|
|
|
|
* folder. This file only sets the feed format and includes the feed-rss2.php.
|
|
|
|
*
|
|
|
|
* 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-05-24 14:24:12 -04:00
|
|
|
|
2005-06-10 19:15:13 -04:00
|
|
|
if (empty($wp)) {
|
2008-05-21 01:59:27 -04:00
|
|
|
require_once('./wp-load.php');
|
2005-06-10 19:15:13 -04:00
|
|
|
wp('feed=rss2');
|
2004-02-05 15:55:50 -05:00
|
|
|
}
|
2004-05-24 14:24:12 -04:00
|
|
|
|
2007-02-22 21:50:05 -05:00
|
|
|
require (ABSPATH . WPINC . '/feed-rss2.php');
|
2003-11-10 02:44:50 -05:00
|
|
|
|
2007-02-22 21:50:05 -05:00
|
|
|
?>
|