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

  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. ?>
  25.