home *** CD-ROM | disk | FTP | other *** search
/ Cricao de Sites - 650 Layouts Prontos / WebMasters.iso / Blogs / wordpress2.6.exe / wordpress2.6 / wp-rss2.php < prev    next >
Encoding:
PHP Script  |  2008-05-25  |  555 b   |  21 lines

  1. <?php
  2. /**
  3.  * Outputs the RSS2 feed XML format using the feed-rss2.php file in wp-includes
  4.  * folder. This file only sets the feed format and includes the feed-rss2.php.
  5.  *
  6.  * This file is no longer used in WordPress and while it is not deprecated now.
  7.  * This file will most likely be deprecated or removed in a later version.
  8.  *
  9.  * The link for the rss2 feed is /index.php?feed=rss2 with permalinks off.
  10.  *
  11.  * @package WordPress
  12.  */
  13.  
  14. if (empty($wp)) {
  15.     require_once('./wp-load.php');
  16.     wp('feed=rss2');
  17. }
  18.  
  19. require (ABSPATH . WPINC . '/feed-rss2.php');
  20.  
  21. ?>