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

  1. <?php
  2. /**
  3.  * Outputs the Atom feed XML format using the feed-atom.php file in wp-includes
  4.  * folder. This file only sets the feed format and includes the feed-atom.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 atom feed is /index.php?feed=atom with permalinks off.
  10.  *
  11.  * @package WordPress
  12.  */
  13.  
  14. if (empty($wp)) {
  15.     require_once('./wp-load.php');
  16.     wp('feed=atom');
  17. }
  18.  
  19. require (ABSPATH . WPINC . '/feed-atom.php');
  20.  
  21. ?>