function rss()
 {
     import('ORG.Util.Rss');
     $myRss = new RSS("大米CMS", C('SERVER_URL'), "大米CMS");
     $list = M('article')->where('1=1')->select();
     foreach ($list as $k => $v) {
         $myRss->AddItem($v['title'], 'http://' . $_SERVER['SERVER_NAME'] . url('articles', $v['aid']), $v['addtime']);
     }
     $myRss->BuildRSS();
     $myRss->SaveToFile('./feed.rss');
     $myRss->getFile('./feed.rss');
 }